CHECK - within 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.
Note
If a CHECK produces a negative result in a GET event , the GET events in subordinate tables of the logical database are not processed either.Related CONTINUE , EXIT , REJECT , STOP
Index
© SAP AG 1996
No hay comentarios:
Publicar un comentario
Nota: solo los miembros de este blog pueden publicar comentarios.