Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom table infotype

Former Member
0 Likes
1,991

Hi Experts,

Can you please provide me with the steps to create a custom table infotype.

Thanks

Sri

6 REPLIES 6
Read only

Former Member
0 Likes
1,190

I don't think it is different for database table or Ztable.

Read only

0 Likes
1,190

you actually need to go to tcode PM01 to create custom infotypes. SAP reserves range 9000 - 9999 for customers.

Regards,

Robert.

Read only

Former Member
0 Likes
1,190

Please see:

[Developing an Infotype in Personnel Administration |http://help.sap.com/saphelp_47x200/helpdata/EN/4f/d52552575e11d189270000e8322f96/frameset.htm]

Rob

Read only

0 Likes
1,190

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

Read only

0 Likes
1,190

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

Read only

sreelatha_gullapalli
Active Participant
1,190

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