MODIFY - Change the attributes of a screen field

Basic form

MODIFY SCREEN.

Addition:

... FROM wa

Effect

Changes the attributes belonging to the current screen field whilst processing with LOOP AT SCREEN ... ENDLOOP.

The attributes of all fields of a screen are stored in the system table SCREEN. This can be edited line by line using LOOP AT SCREEN ... ENDLOOP. Changes to the properties of the attributes of the current screen field (= current line in the system table SCREEN) can be put into effect using MODIFY SCREEN.

Note

This statement should be used only within a LOOP AT SCREEN ... ENDLOOP loop at PBO time as part of the process logic of a screen.

Addition

... FROM wa

Effect

The properties modified are not taken from the header line of the system table SCREEN but from the explicitly specified work area wa.

Note

The explicitly specified work area wa must have the same structure as the header line of the system table SCREEN.

Related

LOOP AT SCREEN... ENDLOOP, MODIFY itab

Additional help

Setting Attributes Dynamically