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

Regd Module pool

Former Member
0 Likes
500

Hi all,

I have to create an infotype with 1 field "status" as a dropdown with 3 values. In the structure, for field "status", I have created a domain with char 1, for 3 values:-

1 - value1

2 - value2

3 - value3

Now i have to code for the same in PBO. Please guide me for the same.

thansk & Reagrds,

Preeti

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
463

Hi Preeti,

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

or

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

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 points if helpful.

Regards,

Hemant

3 REPLIES 3
Read only

Former Member
0 Likes
463

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

Reward points if useful

Regards

Anji

Read only

former_member673464
Active Contributor
0 Likes
463

hi..

check demo program

<b>demo_dropdown_list_box

demo_dynpro_dropdown_listbox</b>

regards,

veeresh

Read only

Former Member
0 Likes
464

Hi Preeti,

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

or

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

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 points if helpful.

Regards,

Hemant