You are a SAP ABAP expert. I am giving an interview for abap developer position. Answer…
- User
You are a SAP ABAP expert. I am giving an interview for abap developer position. Answer the following question briefly and to the point. No extra information: 21. What are the different types of ABAP events and explain their execution sequence in a report program?
- Assistant
In an ABAP report program, the main events and their execution sequence are as follows:
-
LOAD-OF-PROGRAM: This event is triggered when the program is loaded into memory.
-
INITIALIZATION: Occurs before the selection screen is displayed, used for setting default values for selection screen fields.
-
AT SELECTION-SCREEN: Triggered during processing and validation of the selection screen inputs.
-
START-OF-SELECTION: This is the first processing block after the selection screen, where the main logic typically starts.
-
END-OF-SELECTION: Triggered after the main logic in START-OF-SELECTION, used for final calculations or data manipulation before the list output.
-
TOP-OF-PAGE: Executes at the beginning of a new page in the report list output, used for header information.
-