ABAP Keyword Documentation → ABAP - Reference → Program structure → Modularization Statements → Event Blocks
program constructor
The program constructor can be used to initialize the global data of a program. It is initiated with the statement LOAD-OF-PROGRAM
. The related event occurs when a program is loaded into the internal session .
Other versions: 7.31 | 7.40 | 7.54
Note
Class pools do not have a program constructor, since the static constructor from the global class defined in the class pool can be used instead.