Professional Documents
Culture Documents
ANS : bdc is used to upload the data into the sap system by using
the transaction recording SHDB.
this is structure of the bdc to upload the data into the sap
database.
OR
Ans: index is to avoid duplicate data and for good performance while
extracting data from dbtab, these are of 2 types
11. What are the various events associated with Screen Programming?
ANS: The following are the events associated with Screen Programming -
1. Process Before Output (PBO) - This event gets processed long before
displaying the screen.
2. Process After Input (PAI) - This event is processed while the
interaction of a user with the screen continues.
3. Process On Help (POH) - This even gets processed on request by a
user after pressing F1. The program gets appropriately coded in various event
blocks. The present screen gets processed by the system.
4. Process On Value (POV) - This gets processed by pressing F4 by
users. Here also, the coding can be done in the various event blocks.
12. What is the difference between join statement and select for all entries?
ANS: Join statement is used to combine data from multiple tables based on a common field,
while select for all entries is used to retrieve data from multiple tables based on a list of
entries.
Join statement is used when we want to fetch data from multiple tables based on a common
field.
Select for all entries is used when we want to retrieve data from multiple tables based on a
list of entries.
Join statement can be used with inner join, left outer join, right outer join and full outer join.
Select for all entries is more efficient when dealing with large datasets.
Join statement requires a common field between the tables, while select for all entries
requires a list of entries.
13.What is the difference between call transaction method and session method?
Call transaction executes transaction immediately and waits for the response while session
method creates a session and executes the transaction in background.
Call transaction method is suitable for small data sets while session method is suitable for
large data.
Call transaction method is faster than session method but session method provides better
error handling and logging.
Call transaction method is used for immediate processing while session method is used for
batch processing.
After calling the call transaction method, check the value of sy-subrc variable.
If sy-subrc is not equal to 0 then there is an error in the call transaction method.
Check the transaction SM21 for system logs to get more information about the error.
F5: When you press F5, your program control goes to next line.
F6: It will execute the module without going into it. F6 works for performs (subroutines),
function modules, class methods etc.
F8: Control will go to the next breakpoint, if any or completes the program execution.
ANS: A Watch point is a conditional breakpoint that is only defined in the ABAP Debugger.
19. 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 TO SCREEN 2000.