Ansicht
Dokumentation

ABAPLOOP_AT_SCREEN - LOOP AT SCREEN

ABAPLOOP_AT_SCREEN - LOOP AT SCREEN

Vendor Master (General Section)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

LOOP AT SCREEN

Short Reference



LOOP AT SCREEN INTO wa.
  ...
ENDLOOP.

Effect

The statement 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 the following:

  • an existing work area of the data type SCREEN from the ABAP Dictionary,
  • an inline declaration DATA(var) or FINAL(var), where a work area of the type SCREEN is declared.

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 line or group. Outside of the processing of a table control or step loop, the statically predefined properties of all lines or groups are determined for its screen elements.

Notes

  • The statement LOOP AT SCREEN behaves like the statement LOOP in a loop across an internal table, where a system table is used instead of an internal table.
  • The obsolete built-in structure screen should not be specified explicitly after INTO.

Dynpros, Dynamic Screen Modifications






CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 3142 Date: 20240623 Time: 201138     sap01-206 ( 43 ms )