Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Program Layout →  Modularization Statements →  Event Blocks 

Program Constructor

The program constructor can be used to initialize the global data of a program. It is introduced using the statement

by ':'. The associated event occurs when a program is loaded into the internal session.

Other versions: 7.31 | 7.40 | 7.54


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.