Entering content frame

Background documentation repeat with <reg> in <field> Locate the document in its SAP Library structure

Purpose

Repeats a substitution for each value in a array.

Syntax

repeat with <register> in <field statement> end

Description

If all values in a multiple value field (array) are displayed in a list, the loop construction is the obvious choice. The repeat with <register> in variant places all current values of the multi-value field in the register in succession.

Example

<ol>
  `repeat with value in array`
    <li>`value`</li>
  `end`
</ol>

For further information, see:

repeat Statement

repeat with <reg> from <expn> to <expn>

Leaving content frame