You use step loops to group together screen elements. A step loop is a repeated series of loop blocks. A loop block consists of one or more loop lines of graphical screen elements.
Step loops are considerably less flexible than table controls .
In a fixed loop, the lower limit of the loop area always remains as originally defined. In a variable loop, the number of repetitions is adjusted dynamically to fit the size of the current window. To be able to react to the variable loop size, the system always places the current number of loop blocks in the system field SY-LOOPC. If the screen includes several step loops, you can define only one of them as variable.
The step loop method is not recommended for formatting lists. We recommend that you use a report program instead.
Creating a Step Loop
The block includes the original elements with their attributes and a predefined number of repetition blocks. Each repetition contains a copy of the first block without attributes. The repetition blocks have consecutive numbers and you can establish a reference to a particular line.
Editing a Step Loop
If you want to convert the step loop headings as well, select them before converting the step loop into a table control.
For more information about programming step loops, see the ABAP User Guide .
For more information about creating a step loop in the alphanumeric mode of the Screen Painter, see Creating a Step Loop .