INITIALIZATION event is used in ABAP executable programs for initializing the variables and logical database before the SELECTION SCREEN processing. Normally, when we execute a program which contains a selection screen, the system processes the standard selection screen first. If we need to process some other things (like initializing) before the selection screen processing, we can use INITIALIZATION event.
INITIALIZATION event will process after the LOAD-OF-PROGRAM and before the Selection Screen processing.
Syntax:
INITIALIZATION.
INITILIZATION event can be used for
- To initialize the input fields of the standard selection screen
- Change the default values of parameters
- Selection criteria defined in logical databases
Here is a sample ABAP program with INITIALIZATION event
Also Read : View Other ABAP Keywords & Syntax -> ABAP Transaction codes