‎2008 Mar 10 8:33 PM
Hi Experts,
Can you please provide me with the steps to create a custom table infotype.
Thanks
Sri
‎2008 Mar 10 8:51 PM
‎2008 Mar 10 10:01 PM
you actually need to go to tcode PM01 to create custom infotypes. SAP reserves range 9000 - 9999 for customers.
Regards,
Robert.
‎2008 Mar 10 10:06 PM
Please see:
[Developing an Infotype in Personnel Administration |http://help.sap.com/saphelp_47x200/helpdata/EN/4f/d52552575e11d189270000e8322f96/frameset.htm]
Rob
‎2008 Mar 12 4:39 AM
Hi All,
I want to create a custom infotype that holds values like a table infotype i.e., like basic pay 0008. My colleague told me that the creation is done differently. so, I wanted to know about that.
Thanks
Sri
‎2008 Mar 12 6:37 AM
Hi Sri Maddineni ,
If you want to create like basic pay 0008.
You need to follow the same steps you might have followed for creating any PA infotype thru PM01.
Afterwards you have to edit the screen 2000 of you infotype module pool program MP999900 ( where 9999 is your infotype number ) to add table control and
write corresponding logic to populate table control from infotype structure P9999 in PBO as well as save it back to P9999 structure in PAI.
This is similar to adding a table control in any other module pool program. here advantage is you dont have to worry about saving data and reitriveing the data.
P9999 structure will automatically populated and get saved.
You just need to update it from your table control in PBO and PAI
‎2008 May 16 1:06 PM
hi sri,
the steps to follow to create the custom infotype are
Steps to create a HR Infotype:
1) Go to Transaction PM01.
2) Enter the custom Infotype number which you want to create
(Should be a 4 digit number, start with 9).
3) Select the 'Employee Infotype' radio button.
4) Select the 'PS Structure Infotype'.
5) Click on Create... A separate table maintenance window appears...
6) Create a PS structure with all the fields you want on the Infotype
7) Save and Activate the PS structure
😎 Go back to the initial screen of PM01.
9) Click on 'All' push button. It takes a few moments.
10) Click on 'Technical Characteristics'. Infotype list screen appears
11) Click on 'Change'(pencil) button
12) Select your Infotype and click on 'Detail' (magnifying glass) button
13) Give 'T591A' as subtype table
14) Give 'T591S' as subtype txt tab
15) Give your subtype field as subtype field
16) Save and come back to PM01 initial screen
17) Click on 'Infotype Characteristics' ... Infotype list screen appears
18) Click on 'Change' (pencil) button
19) Click on 'New Entries'
20) Enter your Infotype number and short text
21) Here we have to set different Infotype Characteristics as per the requirement.
(Better open another session with some standard Infotype's
infotype characteristics screen and use as the reference to fill yours)
22) Save your entries.
23) Now the Infotype is created and ready to use.
24) If you want to change the layout of the Infotype as per your requirement...
25) In the PM01 initial screen...Select 'Screen' radio button and give 2000
as the screen name, then click on edit.
26) In the next screen.. Select 'Layout Editor' and click 'Change'.
27) Screen default layout appears...here you can design/modify
the screen..change the attributes of the fields..etc.
28) Save and activate. (Don't forget to 'Activate at every level)
regards,
sreelatha gullapalli