Modifying Infotype Screens

Objective

After completing this lesson, you will be able to control the information displayed on infotype screens

Infotype Screen Modification

For some infotypes, different entry screens are delivered.

You can also modify the attributes of the individual fields within a screen in the following ways:

  • Define fields as mandatory fields.
  • Hide all unnecessary fields.

You can also hide field attributes in line with certain employee control data.

The screen modification procedure is the same for employees and applicants.

To define the screen view, you must have the following information:

  • Infotype module pool
  • Screen number

To display this information, you can call the infotype maintenance transaction and choose SystemStatus .

Customizing the User Interface: Screen Modification

You can change the attributes of the individual screen fields in the Change Screen Modifications activity. Find the entry for the current screen. On the detail screen, specify the fields that should be modified.

The following field attributes can be specified on the detail screen:

  • Standard
  • Required
  • Optional
  • Not ready for input
  • Hidden
  • Init

If you need a modified screen but cannot find an entry in this view, create a new entry for the screen, making sure that the Variable key field is empty.

If the screen modifications for infotypes are generally applicable, then you do not require a feature or any additional entries in this view.

In the example shown in the figure, the screen modification is based on the employee’s organizational assignment. The modification is determined by the Pnnnn feature (where nnnn indicates the infotype number). If you do not enter a return value for the feature in the decision tree, the entry where the Variable key field remains empty is automatically valid. In other words, it is the basic entry or the basic screen. If no feature is available for the corresponding infotype, you need to create one.

Create a new entry with the return value in the variable key for each return value for the feature. Assign the number of an alternative screen, if necessary.

The screen modification in the detail screen now applies to the alternative screen.

How to Modify Infotype Screens

Use the project IMG to customize the screen for your infotype.

Use the following table for the infotype assigned to your group for the exercise: How would you hide a field of your choice in the screen area for all employees?

GroupInfotype AssignmentGroupInfotype Assignment
000007160050
010009170031
020001180004
030022192050
040015202051
050027212001
060002222002
070014232003
080008242004
090017252005
100019262006
110040272007
120041282010
130077292012
140105302013
150016  

Hint

For this, you must first determine the program (screen) and the screen number of your infotype.You then need to make the changes in Customizing. Do not actually make these changes.

Steps

  1. Determine the program (screen) and the screen number of your infotype.

    1. In the Personnel number field, enter 540991## as the employee number (the employee’s name is Winnie Chung ), and in the Infotype field, enter your infotype number.

    2. Choose the Create button. If necessary, specify a subtype (of your choice).

    3. In the System menu, choose Status .

    4. Make a note of the entries you find in the Program (Screen) and Screen number fields.

  2. To hide or show fields, navigate in Customizing .

    1. In Customizing, choose Personnel ManagementPersonnel AdministrationCustomizing User InterfacesChange Screen Modifications .

    2. Choose Position and enter the values you noted earlier in the Module pool and Standard screen fields.

    3. When the value is found, choose Details .

    4. As a deviation from the SAP standard, you can select Show / Hide .

    5. Make note of the changes you make to your assigned infotype and save your entries.

  3. Make a change to your infotype, test your change, and reset the infotype back to its original format.

    1. Make a change to your infotype by hiding a field and save your entry.

    2. In the Command field of the SAP Easy Access screen, enter transaciton code PA30 Maintain.

    3. In the Personnel Number field, enter 540991## and press Enter .

    4. Call the infotype you made the change to and verify the screen is now different.

    5. Repeat step 2 and reset the infotype to its original state prior to the change.

Result

Modify an Infotype Screen

Business Example

You need to determine the screen number of your infotype and modify it. However, do not save the changes.

Use the project IMG to customize the screen for your infotype.

Use the following table for the infotype assigned to your group for the exercise:

GroupInfotype AssignmentGroupInfotype Assignment
000007160050
010009170031
020001180004
030022192050
040015202051
050027212001
060002222002
070014232003
080008242004
090017252005
100019262006
110040272007
120041282010
130077292012
140105302013
150016  

How would you hide a field of your choice in the screen area for all employees?

Hint

For this, you must first determine the program (screen) and the screen number of your infotype.You then need to make the changes in Customizing. Do not actually make these changes.

Steps

  1. Determine the program (screen) and the screen number of your infotype.

    1. In the Personnel number field, enter 305991## as the employee number, and in the Infotype field, enter your infotype number.

    2. Choose the Create button. If necessary, specify a subtype (of your choice).

    3. In the System menu, choose Status .

    4. Make a note of the entries you find in the Program (Screen) and Screen number fields.

  2. To hide or show fields, navigate to the following IMG activity:

    1. In Customizing , choose Personnel ManagementPersonnel AdministrationCustomizing User InterfacesChange Screen Modifications .

    2. Choose Position and enter the values you noted earlier in the Module pool and Standard screen fields.

    3. When the value is found, choose Details . As a deviation from the SAP standard, you can select Show / Hide .

    4. Write down the changes you made to your infotype configuration and choose Save .

  3. Test your configuration change. Create your infotype for employe 305991## and verify the changes you made to the infotype.

    1. On the SAP Easy Access screen, using transaction PA20, enter 305991## and in the infotype field enter your infotype number and press Enter.

    2. Verify the changes you made to your infotype. Do not save the infotype.

    3. Choose the Back pushbutton and return to the SAP Easy Access screen.

    4. Important: Repeat step 2 to return to Customizing and reset your infotype to its original state.