Show TOC

 Screen Control Based on Function to be Performed

If screen control is effected depending on the function to be performed, you have the following options:

  • Control the ready for input status of individual screen fields

  • Hide individual screen fields

The Screen Painter enables you to maintain the value of Modification Group 1 for the relevant screen fields. 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 Status and Ready for Input Status in Screen Painter Screens (T589A). The following constants are defined in the SAP standard system for determining the ready for input status of screen fields:

Constants for ready for input status of screen fields

Screen field is ready for inputfor the function

Hexadecimal constant formodification 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:

Constants for hiding screen fields

Screen field is hiddenfor the function

Hexadecimal constant formodification 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.

Example Example

You want to be able to make entries in a screen field when the Add and Change functions are used. In this case, you must maintain value 006 in Modification Group 1 .

You want to be able to make entries in a screen field for all functions. In this case, you must maintain value 01F in Modification Group 1 .

End of the example.
Default 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 the Create Infotype transaction (PM01), the system enters the correct value in Modification Group 1 for these screen fields.

  • Entries can usually be made in the fields BEGDA and ENDDA for all actions, apart from displaying records. For this reason, the attribute Modification Group 1 is assigned the value 00E for these fields.

  • Modification Group 1 has the value 800 for the fields AEDTM and UNAME . This ensures that these fields are hidden when a record is added.

  • The list screen should allow entries to be made in the fields RP50M-BEGDA , RP50M-ENDDA , RP50M-SUBTY and RP50M-PAGEA so that records can be selected. These fields are assigned the value 00F because it must be possible to make an entry for each operation.

  • The delimitation date in field RP50M-ABGRD should only be displayed on the list screen if the current function really is to delimit. For this reason, Modification Group 1 is maintained using value 400 .

  • It is only possible to select multiple records on the list screen if the Display and Delimit functions are used. Field RP50M-SELEC , which is contained in a loop, is assigned the value 009 for Modification Group 1 .