You are on page 1of 18

How To create SAP PA-HR Infotype

SAP provides hundreds of standard infotypes, but many times there are business/client
requirements where we have to create new infotypes. In this tutorial we will see how to create
a custom PA (Personal Administration) infotype .

Step 1. Creating the PSnnnn Structure

Each infotype requires a PS structure which contains all the data fields.

To create the ‘PS structure’, go to transaction code PM01.

Give a four digit number between 9000 – 9999 in the ‘Infotype no.’ field. Select the radio button
‘Employee infotype’. Select the radio button ‘PS Structure’ and then click on the ‘Edit’ button.
After pressing the ‘Edit’ button you will see the ‘Dictionary: Maintain Structure’ screen. Here, give a
short description of your infotype and also give the data fields which are required in your infotype.
After providing all the required fields, press the save button.

Now, click on ‘Extras’ → ‘Enhancement Category’ to maintain the enhancement category for the PS
structure.

Select ‘Can be enhanced

Click on the ‘Copy’ button and then Click on Save, Check and finally Activate. This completes our first
step. Now, click the ‘Back’ button to go back to the initial screen of PM01.
Step 2. Generating all required objects (Dialog Screens and Database Tables):

After creating your PS structure, return back to the initial screen of PM01.

By, clicking on the ‘Generate Objects’ button, you will see ‘n’ numbers of pop-up screen which will ask
for confirmation to generate the object. Keep pressing the continue (enter) button until all the objects
are created.

Step 3. Maintain Infotype characteristics

In this step you will maintain the infotype characteristics such as ‘Infotype Description’ and ‘General
Attributes’, properties for ‘Display and Selection’ and ‘Technical Data’.

Click on ‘Infotype characteristics’.

You will see the ‘Infotypes attributes’ Table View. Click on change icon.
And then click on the ‘New Entries’ button to create a new entry.
Now, you will see the screen where you can provide the infotype characteristics.
Before, proceeding further you should know about the following important characteristics of an
infotype.

Time Constraints: This characteristic determines if more than one infotype record can exist at the same
period in time per employee.

The following values of time constraints are accepted.

1--> No gaps and no overlaps

2-->Gaps can exist but no overlaps

3-->gaps can exit more than once

A-->Only one record can be created

B-->Only one record can be creation

T-->Based on subtype

Z-->it is used for time manegement infotype


Date Reaction Indicators: They control the search type, when “no dates”, “one date” or “two dates” are
entered on the selection screen.

As per your requirement select the Time Constrains and the Date Reaction Indicators.

Step 4: Maintain the Technical Attributes

In this step you will maintain the technical attributes of the infotype such as – Dialog Module, Database
Table and Structure. All these objects (except the structure) are automatically generated in Step 2 by
pressing the ‘Generates Objects’ button.
You will see the ‘Infotype Dialog/Database assignment’ table view. Click on the change button.
Now click on ‘Position’ button and enter the name of your infotype.
Select your infotype and click on the ‘Display Button
By default, all the values should come appear automatically, if not then enter them manually.
Step 5. Changing the Infotype Screen Layout

Now, we will make some changes in the infotype screen using the screen painter.

At the Initial screen of transaction PM01, select the ‘Screen’ radio button under the ‘Subobjects’ tab and
enter the screen number as ‘2000’. Then press the ‘Edit’ button.
Select the ‘Layout’ radio button and then click on ‘Change’ button.
Make the required changes in the screen layout. Save, check and then activate.
The Screen Output

To check the output, go to transaction code PA30. Enter employee number and click on the create
button.

You might also like