END-OF-SELECTION.
This statement defines an event block, whose event is raised by the ABAP-runtime environment during the calling of an executable program , if the logical database, with which the program is linked, has completely finished its work.
In this event block, all data read by the logical data base , can be processed summarically. In an executable program without
logical data base>, there is no need to implement the event block END-OF-SELECTION.
refer to example for reporting-events.