We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
Loop across table lines
1. LOOP AT itab
result $[cond$].
...
ENDLOOP.
Loop across line groups
2. LOOP AT itab result $[
cond$] GROUP BY group_key
$[ASCENDING$|DESCENDING $[AS TEXT$]$]
$[WITHOUT MEMBERS$]
$[group_result$].
...
ENDLOOP.
Executes a table iteration as a loop across an internal table itab. itab is a functional operand position.
The statements LOOP and ENDLOOP define the statement block of the loop. The statement LOOP reads lines from the internal table itab sequentially that meet an optional condition cond.
To exit processing of the loop, the following statements can be used:
For changing the internal table within a loop, special rules apply. Especially, you should never do a write access to the complete table body.
Internal tables can also be specified as a data source of a query in .
Simple LOOP over an internal table.
Leave us your contact details and we will call you back. Fields marked with * are mandatory.
We offer holistic SAP solutions from a single source to shape digital change and develop new business areas.
Switzerland
Schaffhausen
Germany
Mannheim, Düsseldorf, Munich
USA
Haverhill
Greece
Thessaloniki