Ansicht
Dokumentation

ABAPCHECK_LOOP - CHECK LOOP

ABAPCHECK_LOOP - CHECK LOOP

Vendor Master (General Section)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

CHECK, loop

Short Reference



CHECK log_exp.

Effect

If the statement CHECK is listed in a loop and log_exp is incorrect, 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.

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.

Termination of a loop pass using CHECK if the loop index sy-index is an odd number.

Termination of a loop pass using CHECK if the loop index sy-index is an odd number.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1685 Date: 20240420 Time: 120230     sap01-206 ( 25 ms )