Get Example source ABAP code based on a different SAP table
ID EXIT-FROM-STEP-LOOP • EXIT FROM STEP-LOOP ABAP Statement
EXIT FROM STEP-LOOP> Short Reference >
ABAP_SYNTAX EXIT FROM STEP-LOOP.>
What does it do? When processing table controls> or step loops> with the statement LOOP>> in the dynpro flow logic>, this statement causes the loop to be terminated immediately. The current ABAP- processing block> is exited instantly and the dynpro flow logic continues after the statement ENDLOOP>. During PBO> processing, the statement causes the current table control line and the following lines or step loop groups to be hidden on the screen. If the statement is not executed in the processing of a LOOP> loop in the dynpro flow logic, the program terminates with a termination message>.