STOP.
This statement is not allowed in an ABAP Objects context. See STOP not allowed.
This statement terminates a processing block in an excutable program of type 1.
The statement is only intended for use in the INITIALIZATION,
AT SELECTION-SCREEN, START-OF-SELECTION,
and GET events. During the execution of type 1 programs,
it terminates the processing of the associated event blocks and triggers the sending of the selection
screen during the event INITIALIZATION, and - in all other
cases - triggers the event END-OF-SELECTION of the runtime
environment. In all other processing blocks or if END-OF-SELECTION
is not desired, you must use RETURN or EXIT.
Leaving Event Blocks