SAP Interview Questions II
Work most on which module: Name a few tables.
Ans     Sales & Distribution Module
Â
1)     Sales Document: Item Data                        –         VBAP
2)     Sales Document: Partner                            –         VBPA
3)     Sales Document: Header Data                   –         VBAK
4)     Sales Document Flow                                –         VBFA
5)     Sales Document: Delivery Item Data          -          LIPS
6)     Customer Master                                       –         KNA1
7)     Material Data                                            –         MARA
     Conditions (Transaction Data)                    -          KONV
Â
System Table used
Ans                Â
1)     Sales Document: Item Data                        –         VBAP
2)     Sales Document: Partner                            –         VBPA
3)     Sales Document: Header Data                   –         VBAK
4)     Sales Document Flow                                –         VBFA
5)     Sales Document: Delivery Item Data          -          LIPS
6)     Customer Master                                       –         KNA1
7)     Material Data                                            –         MARA
     Conditions (Transaction Data)                    -          KONV
Â
Â
From a table how do u find whether a material is used in another material BOM?
What is read line?
Ans     READ LINE and READ CURRENT LINE – These statements are used to read data from the lines of existing list levels. These statements are closely connected to the HIDE technique.
Â
How u used logical database? How is data transferred to program? Corresponding statement in LDB.
Â
How do u suppress fields on selection screen generated by LDB?
Can there be more than 1 main window in SAP Script?
Ans     No, there cannot be more than 1 main window in SAP Script because in WRITE_FORM, it asks for the parameter Window that will create the problem.  Â
Â
WRITE_FORM –
Exporting
Element
Window
Global and local data in function modules.
What are the differences between SAP memory and ABAP memory?
Ans     ABAP Memory is a memory area in the internal session (roll area) of an ABAP program. Data within this area is retained within a sequence of program calls, allowing you to pass data between programs that call one another. It is also possible to pass data between sessions using SAP Memory.
SAP Memory is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session (as with ABAP memory) or to pass data from one session to another.
What are differences between At selection-screen and At selection-screen output?
Ans     AT SELECTION-SCREEN event is triggered in the PAI of the selection screen once the ABAP runtime environment has passed all of the input data from the selection screen to the ABAP program.
AT SELECTION-SCREEN OUTPUT - This event block allows you to modify the selection screen directly before it is displayed.
What are the events?
Â
Â
Â
Â
Â
What is get cursor field?          Â
Ans     GET CURSOR statement transfers the name of the screen element on which the cursor is positioned during a user action into the variable <f>.
GET CURSOR FIELD <f> [OFFSET <off>] [LINE <lin>] [VALUE <val>] LENGTH <len>].
What is the inside concept in select-options?   Â
Ans     Select-options specify are displayed on the selection screen for the user to enter values.
Different Properties of Select-options:
1)Â Â Â Â Â Visible Length
2)Â Â Â Â Â Matchcode Object
3)Â Â Â Â Â Memory ID
4)Â Â Â Â Â Lowercase
5)Â Â Â Â Â Obligatory
6)Â Â Â Â Â No Display
7)Â Â Â Â Â Modify ID
Â
What is the difference between occurs 1 and occurs 2?
Ans    Â
Â
What is the difference between Free and Refresh?
Ans     Free - You can use FREE to initialize an internal table and release its memory space without first using the REFRESH or CLEAR statement. Like REFRESH, FREE works on the table body, not on the table work area. After a FREE statement, you can address the internal table again. It still occupies the amount of memory required for its header (currently 256 bytes). When you refill the table, the system has to allocate new memory space to the lines.
          Â
Refresh - This always applies to the body of the table. As with the CLEAR statement, the memory used by the table before you initialized it remains allocated. To release the memory space, use the statement
Â
What are elements?























