Professional Documents
Culture Documents
Abap Questions
Abap Questions
Secretary
6. A situation: An ABAP program creates a batch-input session. We need to submit the program
and the batch session in background. How to do it?
Ans. You should process batch-input sessions in the foreground or using the error display if you want to
test the data transfer. If you want to execute the data transfer or test its performance, you should process
the sessions in the background. To process the sessions in the background, Set the Run mode to
Background.
7. What z the diff b/n a pool table and a transparent table and how they are stored at the database
level.
Ans. From user point of view all tables are used to store data. From administrator point of view
Transparent tables do exists with the same structure both in the dictionary as well as in the database.
Pool & Clustered tables are Logical tables, which are arranged as records of transparent table. These are
not manageable directly by using database system tools.
11. How many types of tables exists and what are they in data dictionary?
12. What is the step by step process to create a table in data dictionary?
Ans.
• Create Domain.
• Create Data Element.
• Create Actual Table.
13. Can a transparent table exist in data dictionary but not in the data base physically?
Ans. NO
15. Can you create a table with fields not referring to data elements?
Ans. NO.
16. What is the advantage of structures? How do you use them in the ABAP programs?
Q20 (b). What is the disadvantage of using EXEC SQL stmt do in ABAP?
Ans. Using inverted commas (") or an asterisk (*) at the beginning of a line in a native SQL statement does
not introduce a comment as it would in normal ABAP syntax
21. What is the meaning of ABAP editor integrated with ABAP data dictionary?
Ans. Area menu.
23. What is an interactive report? What is the obvious differences of such report compared with
classical type reports?
Ans. Interactive reporting allows the user to participate in retrieving and presenting data at each level
during the session. Gives a basic list form which the user can call detailed information by positioning the
cursor and entering the commands.
Classical reports consists of one program the creates a single list which contains clustered data
requested, regardless of the details the user wants to see.
28. How are the date and time field values stored in SAP?
Ans. SY-DATUM & SY-UZEIT
41. When a program is created and need to be transported to production does selection texts
always go with it? if not how do you make sure? Can you change the CTS entries? How do you do
it?
42. What is the client concept in SAP? What is the meaning of client independent?
Ans. Sets of software component which acts as service requester are called as client.
44. Name a few system global variables you can use in ABAP programs?
Ans. SY-DATUM, SY-UEZIT, SY-SUBRC, SY-DBCNT.
46. How do you take care of performance issues in your ABAP programs?
50. Have you used SAP supplied programs to load master data?
Ans. BDC
51. What are the techniques involved in using SAP supplied programs? Do you prefer to write your
own programs to load master data? Why?
52. What are logical databases? What are the advantages/disadvantages of logical databases?
Ans. Logical database are special ABAP programs that retrive data & make it available to application
programs.
Advantages of Logical database.
• No need of taking care of the key field and the foreign key realtionship between the tables in
question.(relationship between diff tables are reflected in tree structure of Logical database).
• A selection screen with appropriate selection criteria is automatically created.
• Program standard authority checks are executed by Logical database itself in reports.
• Logical database improves the performance of reports at runtime.
53. What specific statements do you using when writing a drill down report?
Ans. Hide stmt.
54. What are different tools to report data in SAP? What all have you used?
Ans. ABAP query tool,
55. What are the advantages and disadvantages of ABAP query tool?
56. What are the functional areas? User groups? and how does ABAP query work in relation to
these?
57. Is a logical database a requirement/must to write an ABAP query?
Ans. No.
59. What are Change header/detail tables? Have you used them?
Ans. The change header contains both fields that define and describe the change and administrative data
on the change master. The administrative data is updated by the system.
60. What do you do when the system crashes in the middle of a BDC batch session?
62. How do u set up background jobs in SAP? What r the steps? What are the event driven batch
jobs?
63. Is it possible to run host command from SAP environment? How do you run?
64. What kind of financial periods exist in SAP? What is the relevant table for that?
67. How do you document ABAP programs? Do you use program documentation menu option?
72. What are screen painter? menu painter? Gui status? ..etc.
Ans. Screen painter: Tool for creating the screens of a dialog transaction.
Menu painter: Tool for creating and designing the graphical user interface of an ABAP program.
GUI Status : Main element of the graphical user interface.A GUI status usually consists of a menu bar with
menus, a standard toolbar, an application toolbar, and functions with function key settings.
Together with the GUI title, the GUI status defines the actual state of the user interface of an ABAP
program.
73. What is screen flow logic? What are the sections in it? Explain PAI and PBO.
Ans. Flow logic : Code that processes a particular screen in the R/3 System.Flow logic statements are
syntactically similar to ABAP statements, but you cannot use flow logic keywords in ABAP.
You define flow logic in the flow logic editor of the Screen Painter. Flow logic comprises four modules:
• PBO (Process Before Output)
• PAI (Process After Input)
• POV(Process On value request)
• POH(Process On Help request)
PBO : The processing of screen before the screen is displayed is done in this event. (event is triggered
before the screen is displayed).
PAI : This event is responsible for processing of screen after the user enters the data and clicks the
pushbutton.
POV : This is triggered when user clicks F4 function key (for listing all possible values for the field).
POH : This event is triggred when user places the cursor on field and press F1 , by default system displays
its own HELP for that particular field one can add his own HELP by writting in POH.
75. Does SAP has a GUI screen painter or not? If yes what operating systems is it available on?
What is the other type of screen painter called?
76. What are step loops? How do you program pagedown/pageup in step loops?
Ans. Step Loops: these are repeated blocks of fields in a screen.
78. Normally how many and what files get created when a transaction program is written? what is
the XXXXXTOP program?
80. Can you call a subroutine of one program from another program?
Ans. yes (using PERFORM)
81. What are user exits? What is involved in writing them? What precautions are needed?
Ans. User Exits are used for enhancement of SAP Objects. Point in an SAP program where a customer's
own program can be called.
82. What are RFCs? How do you write RFCs on SAP side?
Ans. Remote Function Call. RFCs enable you to call and execute predefined functions in a remote system -
or even in the same system.RFCs manage the communication process, parameter transfer and error
handling.
84. How do you find if a logical database exists for your program requirements?
85. How do you find the tables to report from when the user just tell you the transaction he uses?
And all the underlying data is from SAP structures?
86. How do you find the menu path for a given transaction in SAP?
Ans. From the main R/3 menu choose:
Tools --> Administration ---> Data Retention Tool
90. What are different ABAP editors? What are the differences?
91. What are the different elements in layout sets?
Ans. Header, Page, Pagewindows, Windows, Paragraph Format, Character String.
92. Can you use if then else, perform ..etc statements in sap script?
Ans. Yes
93. What type of variables normally used in sap script to output data?
Ans. system defined & user define in program
97. How do you backup Sapscript layout sets? Can you download and upload? How?
99. In an ABAP program how do you access data that exists on a presentation server vs on an
application server?
Ans. using dataset