When you create single screens and list screens using the
Screen Painter
, you determine the attributes of individual screens fields. However, the same screen is always used for different functions such as creating, displaying, maintaining, and deleting infotype records. For this reason, you cannot specify whether a screen field should be ready for input when you maintain the screen. It is also possible that particular screen fields must be hidden, depending on the employee’s organizational data.
In other words, some attributes are not specified to be generally applicable; instead, they are specified during runtime. The appearance of the screens changes depending on the function chosen by the user or the data being processed.
Example
The same single screens are used for the
Display HR Master Data
and
Maintain HR Master Data
functions. The screen fields must only be ready for input for the
Maintain HR Master Data
function. For this reason, you should determine the ready-for-input status of the screen fields according to the function to be carried out.
The screens used to enter company car data in the
Internal Control
infotype (0032) must be hidden for employees assigned to the employee group for pensioners.
Screen control functions have already been implemented in the main infotype program. These functions read the values from the modification groups for individual screen fields and set their attributes in accordance with the values. The meaning of the values for modification groups is determined in tables.
When you develop infotypes, you can effect screen control as follows:
You can determine whether entries can be made in fields, or you can choose to hide screen fields, depending on the function to be carried out.
The value in
Modification group 1
controls whether the screen fields are ready for input. You can also hide individual screen fields.
The value for
modification group 1
must be maintained for all input fields.
If the entry has not been made for a screen field, the field is not ready for input.
You can use alternative screens, determine whether entries can be made in fields, or hide screen fields using control data and the
Infotype Screen Control
table (T588M).
Together with the
Infotype Screen Control
table (T588M), the value of
Modification group 3
determines the activity and whether entries can be made in fields.
If you use both of the above to effect screen control for a screen field, screen control using the
Infotype Screen Control
table (T588M) has higher priority.
Modification group 2
is used internally.
Modification group 4
is not used in the SAP standard system since it is reserved for customers. If you use this field, this counts as a modification of the SAP standard system.