SAP Interview Questions
How do u display a data in a Detail List?
Ans By using two statements:
1) Top-of-page during line-selection
2) At line-selection
What are the types of windows in SAP Script?
Ans There are five Standard Layouts in SAP Script:
1) Page
2) Window
3) Page Window
4) Paragraph Format
5) Character Format
What are the function modules used in a SAP Script driver program?
Ans There are three functions used in SAP Script:
1) OPEN_FORM
2) WRITE_FORM
3) CLOSE_FORM
What are Extracts?
Ans Extracts are dynamic sequential datasets in which different lines can have different structures. We can access the individual records in an extract dataset using a
How would u go about improving the performance of a Program, which selects data from MSEG & MKPF?
How does System work in case of an Interactive Report?
What is LUW?
Ans Logical Unit of Work
Different types of LUWs. What r they?
Ans Two types of LUW are:
1) DB LUW - A database LUW is the mechanism used by the database to ensure that its data is always consistent. A database LUW is an inseparable sequence of database operations that ends with a database commit. The database LUW is either fully executed by the database system or not at all. Once a database LUW has been successfully executed, the database will be in a consistent state. If an error occurs within a database LUW, all of the database changes since the beginning of the database LUW are reversed. This leaves the database in the state it had before the transaction started.
2) SAP LUW - A logical unit consisting of dialog steps, whose changes are written to the database in a single database LUW is called an SAP LUW. Unlike a database LUW, an SAP LUW can span several dialog steps, and be executed using a series of different work processes.
What is First event triggered in program?
What are various Joins? What is right outer join?
How do u find out whether a file exits on the presentation server?
Ans eps_get_directory_listing for directory
Systems fields used for Interactive Lists AND Lists
Ans Interactive System Fields: SY-LSIND, SY-CPAGE, SY-LILLI, SY-LISEL, SY-LISTI,
SY-LSTAT, SY-STACO, SY-STARO
Lists: SY-COLNO, SY-LINCT, SY-LINNO, SY-LINSZ, SY-PAGNO,
SY-TVAR0…..SY-TVAR9, SY-WTITL
Logo in SAP Script?
Ans RSTXLDMC OR
Steps for making and inserting Logo in SAP Script:
First Procedure:
1) Draw the picture
2) Save it
3) /nSE78
4) Write name & Choose Color
5) Click on Import
6) Browse picture
7) Enter
Second Procedure
1) /nSE71
2) Insert
3) Graphics
4) Click on stored on document server
5) Execute
6) Choose name of BMAP
What are the difference between call screen and leave screen?
Ans Call Screen: Calling a single screen is a special case of embedding a screen sequence. If you want to prevent the called screen from covering the current screen completely, you can use the CALL SCREEN statement with the STARTING AT and ENDING AT
CALL SCREEN 1000.
CALL SCREEN 1000 STARTING AT 10 10 ENDING AT 20 20.
LEAVE SCREEN statement ends the current screen and calls the subsequent screen.
LEAVE SCREEN.
LEAVE TO SCREEN 2000.
If internal table used in for all entries in empty then what happens
Ans No, records will be displayed.
If I forgot some command in SAP Script e.g.: suppress zero display - How to do find it?
Ans Suppressing of entire screens is possible with this command. This command allows us to perform screen processing “in the background”. Suppressing screens is useful when we are branching to list-mode from a transaction dialog step.
How to write a BDC - how do u go about it?
Ans Steps for writing BDC
1) /nSE38
2) Declare Tables, Data (for ITAB) and Data (for BDCITAB)
3) Call function ‘Upload’.
4) Write code for the First Screen, Radio Button, Filename, Change Button, Second Screen, Utilities (Create Entries), Third Screen and Save.
5) Call transaction ‘SE11’ using BDCITAB mode ‘A’.
6) Save, Check Errors, Activate and Execute.
What is Performance tuning?
Define Documentation.
Brief about Testing of programs.
How do u move on to the next screen in interactive reporting?
Ans Write code of the following:
1) Top-of-Page during line-selection
2) At line-selection
Create any functions? How to go about it?
Ans Steps for creating the Functions:
First Procedure:
1) /nSE37
2) Goto
3) Function Group (FG)
4) Create Group
5) Name of FG (ZREKHA_FG)
6) Short Text
7) Save
Local Object
Second Procedure
1) Environment
2) Inactive Object
3) Function Group (ZREKHA_FG)
4) Activate
5) Back
Third Procedure
1) Name of Function Module (ZREKHA_FM)
2) Create
3) Write FG Name (ZREKHA_FG)
4) Short Text
5) Save
Fourth Step:
Call function ‘ZREKHA_FM’.
Function modules used in F4 help.
Ans There are two types of function modules used in F4 help:
1) F4IF_FIELD_VALUE_REQUEST
2) F4IF_INT_TABLE_VALUE_REQUEST























