Get Example source ABAP code based on a different SAP table
ABAP Code Snippet ARTICLE
Cannot Use STOP The STOP statement is not allowed in ABAP Objects.
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.