How To Change And Create SAP HR Infotype Screens

In SAP HR, infotypes are used to group employee data. SAP provides many standard infotypes for different information group. Many times, based on the business requirements, we have to modify the standard infotypes.

We can modify the infotypes either by showing/hiding the standard infotypes fields based on certain criteria or by adding additional custom fields in the infotype structure.

This is a 2 part tutorial. In Part – 1 you will learn how to configure infotype screens. In Part – 2 you will learn how to add additional custom fields to your screens.

Show/Hide fields in infotype screen

The infotype screen can be configured based on the values of the following fields:

Field Field Name Field Length
Screen number DYNNR 4 characters
Subtype SUBTY Up to 4 characters, but always  the same length for one feature
Company code BUKRS 4 characters
Personnel area WERKS 4 characters
Employee group PERSG 1 character
Employee subgroup PERSK 2 characters
Payroll area ABKRS 2 characters
Country grouping MOLGA 2 characters

Based on the relevant employee data in the above fields the infotype screen can be customized. The fields which are used to decide the screen layout are maintained in a ‘Feature’ through transaction code PE04.

Features return the value in the Variable key, which is then maintained against the infotype screen numbers in table T588M.

Let us take an example of infotype 0185 (Personal IDs).The standard screen is:

Example Of infotype 0185 (Personal IDs)


Our requirement is to show only two fields, ID Type and ID no. for subtype Resident Status.

Step by step process:

Step 1. Go to Implementation Guide for R/3 Customizing (IMG) through transaction code SPRO.

Customizing (IMG) Through Transaction Code SPRO


Step 2. Go to ‘Change Screen Modifications’ through SAP IMG → Personnel Management → Personnel Administration → Customizing User Interface

Go To ‘Change Screen Modifications’


 

Click on ‘Change Screen Modifications’

Click on ‘Change Screen Modifications’

 

Here you will see the maintenance view ‘Infotype Screen control’, in which you will find multiple entries for infotypes classified by Module pool, Screen no. , Feature, Variable key etc.

Multiple Entries For Infotypes


Step 3. Click on ‘New Entries’ button, you will see the configuration screen.

Click On ‘New Entries’ Button


 Enter the values as shown in the below screenshot, and hit enter to see all the standard fields of this infotype.

Enter The Values As Shown In The Below Screenshot

  • Module Pool is MPXXXX00, where XXXX is your infotype no.
  • Variable key is what is returned by your feature.
  • Standard Screen will be always 2000.
  • Feature will be PXXXX, where XXXX is your infotype no.

In the screen control, you will see five radio buttons against each field entry. These radio buttons are:

  1. Std: Standard setting – If this check box is marked, the field characteristics correspond to the standard setting.
  2. RF: Required field – Mark this check box to define the screen field as a required field.
  3. OF: Optional field – Mark this check box to define the field as an optional field.
  4. Outp: Not ready for input – If this check box is marked, the field is an output field only and is not ready for input.
  5. Hide: Hide – If this check box is marked, the screen field is hidden.
  6. Init: Hide and Initialize – If this field is selected, the screen field is hidden.

In addition, the system initializes the corresponding field content if you create or copy an infotype record.

Step 4. In our example we only want fields P0185-ICTYP and P0185-ICNUM to be visible and all other field to be hidden. So, we’ll select radio button Hide for them.

Select Radio Button Hide For Them


Click on save button Save .

Step 5. Now, click on Feature button Feature to add values for our subtype. The value for the Variable Key is returned from this feature.

This will take you to the initial screen of ‘Features’.

Initial Screen Of ‘Features’


Click on Change button. Change

Step 6. In this example we are configuring this infotype screen based on Country and Subtype. Create a new subtype node by clicking on create button Create .

Configure Infotype Screen Based On Country And Subtype


Enter the subtype number and click on Transfer button Transfer .

Enter The Subtype Number


Step 7. Now, select the newly created subtype object and click on the create button. Select Node type as Return Value and hit the enter key.

Select Node Type As Return Value And Hit "Enter"


Specify a return value; we will enter return value as 492 because this is the variable key which we have provided in earlier steps, and click on transfer button.

Specify A Return Value


Return Value

Step 8. Click on save and then press activate button Activate to activate the feature.

Now, let us go to transaction code PA30 to check our customized infotype.

Go To Transaction Code PA30 To Check Our Customized Infotype


Summary

In this tutorial we have learned how simple it is to configure and customize standard infotype screen display based on certain fields using the features. In the next part we will learn how to add additional custom fields in the infotype structure and to the infotype screen.

Categories

About the Author:

Pete has been working with SAP technologies for over 10 years. He started out as an ABAP consultant and then moved on to BW where he has worked many different clients covering a wide variety of industries. "I love introducing SAP technology (especially BI) to new clients and showing them how they can go from zero to hero within their business in super fast time". Contact me on twitter @PeterMoxon

2 Comments
  1. Sajith

    very good article – simple and clear..

    if you can document here how to use alterntive screen, that would be great

    I have a scearnio where client wants to disply References Number in IT2001. Hence to get this field, we need to use 2008 in alterntaive screen field?

    You may please explain this part as well

    Regards
    Sajith