SAP ABAP Interview Questions and Answers
Question - 61 : - Explain the concept of User Exits?
Answer - 61 : -
User Exits are a type of system enhancement that was originally developed for Sales and Distribution (SD) component. The original purpose was to avoid Modification Adjustment by the user.
It is a modification, as it requires you to change objects in SAP namespace. It creates a special include in module pool. Naming convention of the user exit is: USEREXIT_.
After delivering, SAP never altes includes created in this manner. If new user exits have to be delivered in new release, they are put in new include program.
Question - 62 : - Explain about Explicit Enhancement and Implicit Enhancement?
Answer - 62 : -
Explicit Enhancement – It is the type of enhancement in which there is some pre-preparation done by SAP.
There are 3 components in this enhancement.
ENHANCEMENT-POINT
ENHANCEMENT-SECTION
ENHANCEMENT-SPOT
Explicit Enhancement can be implemented getting into the Enhancement Mode by clicking the spiral button -> Right click into the enhancement point you plan to implement and select Enhancement Implementation->Create. You will be asked a name of the implementation and a description and after that you can add your code.
Implicit Enhancement – It is the type of enhancement in which there is no pre-preparation done by SAP.
You can start this enhancement from anywhere. It can at the start of code, end of code, Start of function module, End of function module.
You can see what are available by going into editor and go to edit -> Enhancement Operations -> Show Implicit Enhancement Option.
Question - 63 : - Is it necessary for Main Window in Smartforms?
Answer - 63 : - It is not necessary - Main Window in Smartforms.
Question - 64 : - Is it necessary for Main Window in SAPScript?
Answer - 64 : - It is necessary - Main Window in SAPScript.
Question - 65 : - Which Function Module is used to get name of function module when smartform is activated?
Answer - 65 : - SSF_FUNCTION_MODULE_NAME – When the SMARTFORM is activated, this function module is used to get the function module generated automatically by the smartform.
Question - 66 : - Explain the program flow of BADI?
Answer - 66 : -
Program flow of BADI is:
First, define the BADI with the help of transaction code SE18
Then declare the objects, classes, and methods.
Then with the help of t-code SE19 Implement BADI
At last, defining the Classes and methods as per as requirements of the end-user.
Question - 67 : - In which table the material master data is stored?
Answer - 67 : -
MARA and MARC are the tables from where you can get the data for Material Master.
Question - 68 : - Which commands are used for interactive reports?
Answer - 68 : -
The following commands can be used in interactive reporting:
- HIDE can be used in order to create an array of all hidden variables.
- SY-LSIND = LIST INDEX,
- SY-LILLI = LINE NO.
Question - 69 : - When will we go for call transaction and when we will go for a session in BDC?
Answer - 69 : -
- Call Transaction can be used when the DATA is minimal.
- Sessions can be used to handle mass DATA or Voluminous DATA.
Question - 70 : - When the get cursor command used in interactive lists?
Answer - 70 : -
When the hidden information is not sufficient to uniquely identify the selected line, then the command GET CURSOR is used. The GET CURSOR command returns the name of the field at the cursor position in a field specified after the additional field, and the value of the selected field in a field specified after the value.