Video Lesson 8.1: ABAP Events

Video Lesson 8.1: ABAP Events

In this lesson, you will find out how an executable ABAP program is processed in an event-controlled manner. You will learn about the most important basic events as well as their purposes and you will be able to use them in your programs.

Purpose and Usage of ABAP events

  • When you start an ABAP program, all global data objects of  the programs are first created in the working memory (memory allocation).
  • After that, the run time system triggers various events in succession.
  • If a processing block exists for a triggered event in the program, the statements of this block are executed in sequence.

Purpose of ABAP Events

  • If values are assigned to the PARAMETERS variables in the INITIALIZATION block, these are displayed as (changeable) default values in the input fields when the selection screen is displayed subsequently.
  • You can use the described value assignment in the INITIALIZATION block to assign another default value (dynamic prepopulation of the selection screen).