SAP Technical Interview Questions III
What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
Ans     To use a Native SQL statement, you must precede it with the EXEC SQL statement, and follow it with the ENDEXEC statement as follows:
EXEC SQL [PERFORMING <form>].
<Native SQL statement>
ENDEXEC.
There is no period after Native SQL statements. Furthermore, 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. You need to know whether table and field names are case-sensitive in your chosen database.
What is the meaning of ABAP editor integrated with ABAP data dictionary?
Ans     ABAP Editor: Tool in the ABAP Workbench in which you enter the source code of ABAP programs and check their syntax. You can also navigate from the ABAP Editor to the other tools in the ABAP Workbench.
What are the events in ABAP language?
Ans     The events are as follows:
Â
1.     Initialization
2.     At selection-screen
3.     Start-of-selection
4.     End-of-selection
5.     Top-of-page
6.     End-of-page
7.     At line-selection
8.     At user-command
9.     At PF
10. Get
11. At New
12. At LAST
13. AT END
14. AT FIRST
Â
What is an interactive report? What is the obvious difference of such report compared with classical type reports?
Ans     An Interactive report is a dynamic drill down report that produces the list on users choice.
Â
Difference: -
a) The list produced by classical report doesn’t allow user to interact with the system where as the list produced by interactive report allows the user to interact with the system.
B) Once a classical report, executed user looses control where as Interactive, user has control.
C) In classical report, drilling is not possible where as in interactive, drilling is possible.
Â
What is a drill down report?
Ans     Its an Interactive report where in the user can get more relevant data by selecting explicitly.
Â
How do you write a function module in SAP? Describe.
Ans    Â
1.     Called program - SE37 - Creating function group, function module by assigning attributes, importing, exporting, tables, and exceptions.
2.     Calling program - SE38 - In program, click pattern and write function name- provide export, import, tables, exception values.
Â
What are the exceptions in function module?
Ans     Exceptions: Our function module needs an exception that it can trigger if there are no entries in table SPFLI that meet the selection criterion. The exception NOT_FOUND serves this function.
Â
COMMUNICATION_FAILUREÂ & SYSTEM_FAILUREÂ
Â
How are the date and time field values stored in SAP?
Ans     DD.MM.YYYY. HH:MM:SS
Â
What are the fields in a BDC_Tab and BDCDATA Table?
Ans     Fields of BDC_Tab & BDCDATA Table:
Â
           Sr.No              Fields              -          Description
           1)                    Program          -          BDC Module pool
           2)                    Dynpro -          BDC Screen Number
           3)                    Dynbegin         -          BDC Screen Start
           4)                    Fname             -          Field Name
           5)                    Fval                 -          BDC field value























