Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Stop statement...

Former Member
0 Likes
385

After STOP statement which event is triggered in Report?

2 REPLIES 2
Read only

Former Member
0 Likes
366

END-OF-PAGE

AT SELECTION-SCREEN (without additions)

START-OF-SELECTION

GET

You leave these event blocks via STOP, and the runtime environment triggers the event END-OF-SELECTION.

Santhosh

Message was edited by:

Kaluvala Santhosh

Read only

Former Member
0 Likes
366

If you use the STOP statement within an event block, the system stops processing the block immediately. The ABAP runtime environment triggers the next event according to the following diagram:

INITIALIZATION.

STOP --> SELECTION-SCREEN

START-OF-SELECTION OR GET

STOP. --> END OF SELECTION

END OF SELECTION

STOP --> OUT OF PROGRAM

REPORT EVENT_TEST.

NODES: SPFLI, SFLIGHT, SBOOK.

START-OF-SELECTION.

WRITE 'Test program for STOP'.

GET SBOOK.

WRITE: 'Bookid', SBOOK-BOOKID.

STOP.

END-OF-SELECTION.

WRITE: / 'End of Selection'