SAP ABAP SYNTAX FOR CHECK WITH IN LOOPS
Basic form
CHECK logexp.
Effect
CHECK evaluates the subsequent logical expression . If it is true, the processing continues with the next statement.
In loop structures like
CHECK with a negative outcome terminates the current loop pass and goes back to the beginning of the loop to start the next pass, if there is one.
In structures like
CHECK with a negative outcome terminates the routine or modularization unit.
If CHECK is not in a loop or a routine or a modularization unit, a negative logical expression terminates the current event. In contrast, the statement REJECT terminates the current event, even from loops or subroutines.
(22.5)
RELATED POST



0 comments:
Post a Comment