SAP LOOP AT SCREEN - Obsolete



Get Example source ABAP code based on a different SAP table
  


ID DYNPRO%
• LOOP AT SCREEN - short form ABAP Statement

LOOP AT SCREEN, Short Form

Obsolete Syntax
LOOP AT SCREEN.
...
ENDLOOP.

What does it do?
This is a short form of the statement LOOP AT SCREEN INTO screen.
...
ENDLOOP.
The short form uses a structure with the name screen implicitly instead of an explicitly declared work area wa. This is either the obsolete built-in structure screen or a structure declared in the current context called screen, which must have the data type SCREEN.



Latest notes:

The long form with an explicitly declared work area should be used instead of the short form.
The short form of the statement LOOP AT SCREEN behaves like the statement LOOP in a loop across an internal table with a header line, where the built-in structure is used as the header line.
ABAP_HINT_END