Get Example source ABAP code based on a different SAP table
ID CHECK • CHECK - loop ABAP Statement
CHECK>, loop> Short Reference >
ABAP_SYNTAX CHECK log_exp>.>
What does it do? If the statement CHECK> is listed in a loop > and log_exp> is false, the statement CHECK> immediately terminates the current loop pass and the program continues with the next loop pass. Any logical expression> can be specified for log_exp>>.
Latest notes:
Within a loop, CHECK log_exp> has the same effect as: IF NOT log_exp. CONTINUE. ENDIF.>
Outside a loop, the statement CHECK> exits the current processing block> (see CHECK>>), however it is recommended that only CHECK> is used inside loops. NON_V5_HINTS ABAP_HINT_END
ABAP_EXAMPLE_VX5 Termination of a loop pass using CHECK> if the loop index sy-index> is an odd number. ABEXA 00093 ABAP_EXAMPLE_END