Events in ABAP
Monday, June 26th, 2006Question 4:
What are the events in ABAP?
ABAP/4 is a fourth-generation language (4GL) but it is an event-driven language. It has a few events. But don’t confuse about ABAP Objects and events of them. Event blocks are introduced by an event keyword. They end when the next block begins. The following block can be another event block, introduced by a different keyword, or another processing block that is valid in the context, such as a subroutine or dialog module. Event keywords have the same name as the events to which they react.
The sequence in which processing blocks occur in the program is irrelevant. The actual processing sequence is determined by the external events. However, to make your programs easier to understand, you should include the event blocks in your program in approximately the samer order in which they will be called the system. Subroutines should be placed at the end of the program.