STOP

Basic form

STOP.

This statement is not allowed in an ABAP Objects context. See STOP not allowed.

Effect

This statement terminates a processing block in an excutable program of type 1.

Note

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.

Related

EXIT, CHECK, REJECT

Additional help

Leaving Event Blocks