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-SELECTIONis triggered (if the logical database has fully completed its work).
In an executable program without a logical database,
END-OF-SELECTIONis triggered directly after
- 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