INCLUDE
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.
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved