ABAP Keyword Documentation → ABAP - Reference → Program structure → Modularization Statements → Event Blocks → Reporting Events
END-OF-SELECTION
Other versions: 7.31 | 7.40 | 7.54
Syntax
END-OF-SELECTION.
Effect
The statement END-OF-SELECTION
is only intended for use in
executable programs that are associated with a
logical database. The statement defines an event block whose event is triggered as follows by the
ABAP runtime environment during the
process flow of the executable program:
-
If the executable program is associated with a logical database,
END-OF-SELECTION
is triggered (if the logical database has fully completed its work). -
In an executable program without a logical database,
END-OF-SELECTION
is triggered directly afterSTART-OF-SELECTION
.
Notes
- In this event block, all data read by the logical database can be processed in summary form.
-
In an executable program without a logical database, there is no need to implement the event block
END-OF-SELECTION
.
Example