=> The LOOP statement is used to read some or all rows from an internal table.
Syntax:
LOOP AT <itab> <into wa1> <from x> <to y><where expresion>
<statement block>
ENDLOOP.
Where:
itab - name of an internal table
wal - name of the work area.
x and y - integer literals, constants, or variables.
expression - logical expression
This reads the lines of the table one by one. It is processed in the statements within the LOOP... ENDLOOP control structure.
Syntax:
LOOP AT <itab> <into wa1> <from x> <to y><where expresion>
<statement block>
ENDLOOP.
Where:
itab - name of an internal table
wal - name of the work area.
x and y - integer literals, constants, or variables.
expression - logical expression
This reads the lines of the table one by one. It is processed in the statements within the LOOP... ENDLOOP control structure.
No comments:
Post a Comment