Creation of Custom Infotype in HR ABAP
First: Go to Transaction PM01 to create the custom Infotype.
Enter the custom Infotype number to be created. The number should lie between customer name space 9001 – 9999. we use this no. range interval for the Custom Infotypes.
See to it that the ‘PS Structure’ and the ‘Employee Infotype’ radio buttons are selected on the screen.
Click on ‘All’ button on the screen. A separate Dictionary window appears on the screen.
Maintain the structure (Provide fields) which will be included in the current custom Infotype. Include all the fields that are needed in the Infotype.
The PAKEY/PBKEY and PSHD1 structures are not required to be provided while creating the custom Infotype. They are created by the SAP automatically.
Save and Activate the PS structure and go back to the initial screen of PM01.
Now, click on ‘Technical Characteristics’. Infotype list screen appears.
Click on ‘Change’ (pencil) button and select your Infotype and click on ‘Detail’ (magnifying glass) button.
Save and go back to the PM01 initial screen.
Click on ‘Infotype Characteristics’. Infotype list screen appears.
Click on ‘Change’ (pencil) button and click on ‘New Entries’ button.
Enter your Infotype number and the short text for the Infotype.
Depending on the requirement, we will have to set the Infotype Characteristics. The best option would be to use the entries of a standard Infotype like 0000 (Actions) or 0001 (Org. Assignment) as a reference. Other way is to click on the F4 button for each parameter on the screen to understand its significance.
Save the entries.
The custom infotype is now created.