Posts

Important Transaction Codes

ABAP: SE11 - Data Dictionary Objects SE38 - Program Editor SA38 - Program Execution only SM59 - RFC WE19 - Re-process IDOC CG3Z - Upload File to Application Server SM30--> TPARA - Create / Maintain Parameter ID

ABAP Tips - 1 : How to Display a Popup and Get Values from User ?

Image
How to Display a Popup and Get Values from User ? Function Module POPUP_GET_VALUES can be used to display a popup to get inputs from user. The speciality of this function module is we can add as many number of fields as we want. The fields can be of any data type. REPORT ztest9910. DATA : t_fields LIKE sval OCCURS 0 WITH HEADER LINE . START- OF -SELECTION. *--- Prepare Parameters for FM -------------* t_fields-tabname = ’BKPF’ . t_fields-fieldname = ’BUDAT’ . APPEND t_fields. t_fields-tabname = ’BKPF’ . t_fields-fieldname = ’BLART’ . APPEND t_fields. *---- Function Module Call -----------------* CALL FUNCTION ’ POPUP_GET_VALUES’ EXPORTING *  NO_VALUE_CHECK = ’ ’    popup_title = ’Test Popup’ *  START_COLUMN = ’5’ *  START_ROW = ’5’ *  IMPORTING *  RETURNCODE = TABLES    fields = t_fields EXCEPTIONS    error_in_fields = 1    OTHERS ...

SAP Interview Questions - ABAP

There are lot of materials available in the internet regarding interview questions on ABAP - Technical. Here I have tried to accumulate some of them. These questions are mostly faced by me (When I get interviewed) or asked by me (when I interview others). I made two distinct parts as ’Purely Technical’ and ’Basic Functional’. I feel that some basic functional (read domain) knowledge is also necessary to flourish as a Good Technical Resource. Purely Technical Questions : What is the difference between Explicit Commit and Implicit Commit ? What is the difference between SAP LUW (Logical Unit of Work) and Database LUW ? What is the difference between Internal Session and External Session ? Give Examples What are the work-processes in BASIS Layer ? What are the different types of RFC s? What is the difference between V1 update and V2 Update ? Why does BAPI need explicit commit ? What is the difference between COMMIT and COMMIT WORK AND WAIT statements ? Why we pass parameters in RFC...

Identifying Business Object and Creating a Simple Custom Workflow

Image
This document is intended to create a step by step guide to find the business object for a process to implement custom workflow. This document also describes the method to create a simple workflow using the business object. The Objective: To find the business object related to Sales Order Creation To create a custom workflow which get triggered during Sales Order Creation. Step 1: Open Event Trace using transaction code SWEL or following menu path under Tools menu. Step 2: Set the time as current time This will display no event. Step 3: As per requirement open sales document creation screen using transaction code VA01. Create the document and save it. Step 4: Refresh the Event Trace List. Now we can find the Business Object (in this case BUS2032) and the Event (In this case CREATED) triggered during Sales Order Creation. This Business Object and the concerned event are essential to trigger the custom workflow. Note: ‘Name of the Receiver Type’ column shows the existing workflo...