Controlling the Flow of ABAP Programs by Events
The program flow of an executable program (report) is controlled by an invisible system program dependent on external events. You can assign processing blocks to events in the executable program using event keywords.

A significant feature of executable ABAP programs (type 1 programs) is that they are made up of processing blocks for events. There are various event classes:
The interface between events and the program is provided by event keywords. The system always starts a processing block when the corresponding event occurs (see
Program Construction and Execution).The flow control inside a processing block (internal control) is described in
Controlling the Flow of an ABAP Program. This section describes the external control of an ABAP program and the possible events involved: