ABAP - Keyword Documentation →  ABAP - Reference →  Program Flow Logic →  Iteration Expressions → 

FOR - Iteration Expressions

Syntax

... REDUCE| NEW| VALUE type( ... FOR ... UNTIL|WHILE ...| ... IN ... ... ) ...

Effect

The language element FOR introduces an iteration expression as a subexpression in constructor expressions with the reduction operator REDUCE and in the variants of the instance operator NEW and the value operator VALUE for creating internal tables.

There are two main variants of iteration expressions:

Notes



Continue
FOR - Conditional Iteration
Examples of Iteration Expressions