Entering content frame

Background documentation .dim Locate the document in its SAP Library structure

You use the .dim attribute to determine the dimension of arrays or multiple value fields. This is important for step loops, which are represented as multiple-value fields.

Suppose a step loop consists of a column based on the field vbcom-kunde :

You can access specific values of such an array by specifying an index in square brackets. The value range of the index is from 1 to .dim .

Example

The following code processes an array based on the vbcom-kunde field:

`repeat with i from 1 to vbcom-kunde.dim`
  <input type=text name="`vbcom-kunde[i].name`"
         value="`vbcom-kunde[i].value`">
`end`

The value of .dim must be within the defined dimension of the array:

Leaving content frame