Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Obsolete Language Elements →  Obsolete User Dialogs →  Obsolete statements of the screen flow logic 

Obsolete Processing of Step Loops

Step loops are the predecessors of table controls and are defined without individual descriptions in Screen Painter. A step loop contains screen elements that, unlike table controls, can occupy multiple rows, grouped together in one group that can be repeated multiple times within the step loop on the screen. The attributes of the screen elements of the first group define the attributes of the whole step loop. For this reason, the fields of a group can only be created once in the dynpro and once in the ABAP program.

In Screen Painter, it is also possible to determine whether the size of the step loop is fixed or variable. For each screen, more than one fixed step loop can be defined, but only one variable step loop. If the user changes the vertical size of the GUI window, this also changes the vertical size of the variable step loop. Here, the PAI event is triggered.

Processing of step loops and table controls is based on the step loop technique, whose main features are the statements LOOP ... ENDLOOP in the dynpro flow logic. These statements produce a loop pass across the step loop rows displayed on the screen and a data transport between the ABAP program and dynpro for all data objects with the same name.

Standalone step loops are obsolete and are replaced by table controls, which are based on step loops but encapsulate them too. Accordingly, the listed variants of the LOOP statement are obsolete in the dynpro flow logic. The LOOP statement of the dynpro flow logic should only be used with the WITH CONTROL addition, which assigns a table control to the statement.

Other versions: 7.31 | 7.40 | 7.54

Continue

LOOP - Step Loop

Step Loop - Example