Screen Control Based on Function to be Performed 

If screen control is effected depending on the function to be performed, you can

The ABAP Screen Painter enables you to maintain the value of Modification group 1 for the screen fields in question. The value of Modification group 1 must be maintained for all of the screen fields in which entries can be made.

The meaning of the values in Modification group 1 is determined in table T589A. The following constants are defined in the standard system for determining whether entries can be made in screen fields:

Entry can be made in screen field
for the function

Hexadecimal constant for
modification group 1

Display

001

Change

002

Add and Copy

004

Delete

008

Lock/unlock

010

The following constants are defined in the standard system for hiding screen fields:

Screen field is hidden
for the function

Hexadecimal constant for
modification group 1

Delimit in list screen

200

Display in list screen and
Change in list screen

400

Add and Copy

800

 

The value of Modification group 1 is interpreted on a bit-by-bit basis. Several constants can be combined. This is done by adding the values. Note that you must maintain the value of Modification group 1 in hexadecimal form.

Standard settings

In the case of certain screen fields for single or list screens, the setting that determines whether entries can be made or not is pre-specified for all infotypes. If you create the single or list screen using transaction PM01 Dialogs in HR, the system enters the correct value in Modification group 1 for these screen fields.