Creation of a Custom Infotype

Posted by Arun - 12/11/08 at 03:11 pm

There are many reasons why we have to create a Custom Infotype in SAP HR. It’s mainly because of the client’s requirement which is not available in SAP.

PM01 is the transaction code for the creation of a Custom Infotype for the PA module in HR.

  1. Go to Transaction PM01. Create Infotype.
  2. Enter the custom Infotype number to be created. The number should be between the customer name space 9001 – 9999. This is the no. range interval to be used for the Custom Infotypes.
  3. See to it that the ‘Employee Infotype’ and the ‘PS Structure’ radio buttons are selected on the screen.
  4. Click on ‘All’ push button on the screen. A separate Dictionary window appears on the screen.
  5. Maintain the structure (Provide fields) which will be included in the current custom Infotype. Include all the fields that are needed in the Infotype.

  1. The PAKEY/PBKEY and PSHD1 structures are not required to be provided while creating the custom Infotype. They are created by the SAP system automatically.
  2. Save and Activate the PS structure and go back to the initial screen of PM01.
  3. Now, click on ‘Technical Characteristics’. Infotype list screen appears.
  4. Click on ‘Change’ (pencil) button and select your Infotype and click on ‘Detail’ (magnifying glass) button.
  5. Give ‘T591A’ as subtype table.
  6. Give ‘T591S’ as subtype text tab.
  7. Give the subtype field as the field that we need to maintain using the V_T591A view.
  8. Save and come back to the PM01 initial screen.
  9. Click on ‘Infotype Characteristics’. Infotype list screen appears.
  10. Click on ‘Change’ (pencil) button and click on ‘New Entries’ button.
  11. Enter your Infotype number and the short text for the Infotype.
  12. 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.
  13. Save the entries. Now the Infotype is created and ready to use.
  14. The layout of the Infotype can be changed as the way we want.
  15. In the PM01 initial screen, select ‘Screen’ radio button and give 2000 as the screen name and click on Edit.
  16. In the next screen, select ‘Layout Editor’ and click ‘Change’.
  17. Screen default layout appears. Here we can design/modify the screen, change the attributes of the fields, etc.,
  18. Save and activate. (Don’t forget to ‘Activate at every level)

The custom Infotype is ready to use.

To test it go to PA30 transaction, enter the newly created Infotype no. and then click on create. Once you add the entries on the screen, you should be save your entries. The entries can then be viewed in the table PAXXXX. XXXX is the newly created Infotype no.

The beauty of this tool lies in the fact that there is no need to program the database updates. You only need to create the fields needed as per you requirement. Insertion of data to the database is taken care by the tool.

Technorati Tags: ,

No Related Posts.

One Response to “Creation of a Custom Infotype”

  1. Den BuinnaExpanny says:
    December 18th, 2008 at 7:34 pm

    First of all congratulation for such a great site. I learned a lot reading article here today. I will make sure i visit this site once a day so i can learn more.

Leave a Reply