SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
Cannot Use STOP
In ABAP Objects, the following statements cause an error message:
STOP.
Reason:
The STOP statement should only be used during the events
INITIALIZATION, AT SELECTION-SCREEN, START-OF-SELECTION,
and GET. During execution of executable programs, it ends processing of the corresponding event blocks and triggers the sending of the
selection screen during
the event INITIALIZATION and in all other cases the event END-OF-SELECTION of the runtime environment. The old event concept of the
ABAP runtime environment is not supported by ABAP Objects.