ABAP - Keyword Documentation →  ABAP - Reference →  User Dialogs →  Dynpros →  ABAP Statements for Dynpros → 

LOOP AT SCREEN

Quick Reference

Syntax

LOOP AT SCREEN INTO wa.
  ...
ENDLOOP.

Effect

The statements LOOP AT SCREEN ... ENDLOOP define a loop around a statement block. For every screen element of the current dynpro to which a dynpro field is assigned, one loop pass is executed. wa can be specified as:

After the statement LOOP, the work area contains the properties of the screen element in question.

When a table control or a step loop is processed (that is, within a LOOP of the dynpro flow logic), the current properties are determined for its screen elements in the current row or group. Outside of the processing of a table control or step loop, the statically predefined properties of all rows or groups are determined for its screen elements.

Notes

Executable Example

Dynpros, Dynamic Screen Modifications



Continue
The Structure SCREEN
MODIFY SCREEN
Example Screens, Dynamic Screen Modification