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

Creating custom infotype

Former Member
0 Likes
3,056

Hi,

I want to create a custom infotype with the following fields.

Molga (country grouping)

Personnel Number

Subtype

Language Key

Comment Line 1

Comment Line 2

Comment Line 3

in this first 4 fields are keys. The user should be able to edit only the rest of the fields.

Subtypes similar to the infotypes values 0168,0169,0014,0015,0009,0006,0002 should be created.

While updating and saving the infotypes 0168,0169,0014,0015,0009,0006,0002 the system should prompt this infotype through dynamic action to enable the user to enter comments.

can anyone give me a step by step approach for creating this infotype?

Thanks in advance...

Vijay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,637

Hi

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)

Subtype Creation :

Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.

Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.

Subty.text tab is T591S and time const tab is T591A.

See:

http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm

HR related site:

http://www.sapdevelopment.co.uk/hr/hrhome.htm

Enhancement of Infotype

Check the following

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-82043038...

Regards

Anji

5 REPLIES 5
Read only

Former Member
0 Likes
1,638

Hi

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)

Subtype Creation :

Transaction PM01 Goto Subtype Characteristics. Click on Append and then subtype. Enter the name and description of subtype on screen.

Then goto technical Characteristics and maintain the details of subtype there. I.e name of subtype i.e. component name defined in PSnnnn. Subtype table is T591A.

Subty.text tab is T591S and time const tab is T591A.

See:

http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm

HR related site:

http://www.sapdevelopment.co.uk/hr/hrhome.htm

Enhancement of Infotype

Check the following

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAXX/PYINT_INFOTYP.pdf

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-82043038...

Regards

Anji

Read only

amit_khare
Active Contributor
0 Likes
1,637

When you create custom Infotype, a predefine header is always there.

As for editable fields you need to take care of that in modulepool.

For creating infotype, follow the link -

http://www.sapdevelopment.co.uk/hr/hr_infotypes2.htm

http://www.sap-img.com/human/how-to-create-a-hr-infotype.htm

This is the only method to create a PA infotype.

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
1,637

hi

good

go through this

For Creation of Infotype first Go to Transaction PM01, Enter the custom Infotype number which you want to create, it should be a 4 digit number and have to start with 9xxx.

then select the `Employee Infotype' radio button

after that select the `PS Structure Infotype'

then click on Create… A separate table maintenance window appears

then Create a PS structure with all the fields you want on the infotype

Save and Activate the PS structure

now Go back to the initial screen of PM01

Click on `All' push button. It takes a few moments

Click on `Technical Characteristics’. Infotype list screen appears

Click on `Change'(pencil) button

Now select your Infotype and click on `Detail' (magnifying glass) button

Give `T591A' as subtype table & also Give `T591S' as subtype txt tab

Give your subtype field as subtype field & Save and come back to PM01 initial screen

Click on `Infotype Characteristics' … Infotype list screen appears

Click on `Change' (pencil) button & on New Entries

and then Enter your Infotype number and short text 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). Now save ur entries

Now the Infotype is created and ready to use.

If you want to change the layout of the Infotype as per your

requirement…

In the PM01 initial screen…Select `Screen' radio button and give

2000 as the screen name, then click on edit.

In the next screen.. Select `Layout Editor' and click `Change'.

Screen default layout appears…here you can design/modify the

screen..change the attributes of the fields..etc.

Save and activate. (Don't forget to `Activate at every level)

reward point if helpful.

thanks

mrutyun^

Read only

Former Member
0 Likes
1,637

I got some useful info; but guys can you please be more specific for the subtype?

"Subtypes similar to the infotypes values 0168,0169,0014,0015,0009,0006,0002 should be created"

this is my prime objective...

thanks.

Read only

Former Member
0 Likes
1,637

Thanks fellas......