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 an infotype

Former Member
0 Likes
888

I want to create a zinfotype. Can anyone tell me the steps involved along with the relevant transactions?

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
816

hi this is MohanVamsiKrishna.A,

I hv created a personal administration infotype by the following steps.

creating of infotype please follow these steps ...

Step 1: Create Infotypes

i. Goto Transaction PM01 – To create Infotypes:

ii. Enter the Infotype Number and say create all.

iii. The following message would display:

i. PSnnnn Does not exist. How do you want to proceed?

iv. Click

v. A maintain Structure screen appears.

Fill in the short text description and the PS structure of the Infotype.

Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.

vi. Once the PS Structure is created, save and activate the structure.

vii. In the initial screen of PM01, now click on .

Create a new entry for the infotype.

Fill in the values as mentioned below and save.

Infotype Characteristics:

Infotype Name of the infotype_ Short Text: __Short Description________

*General Attributes :

Time constraint = 1

Check Subtype Obligatory

Display and Selection:

Select w/ start = 3 “Valid record for entered data

Select w/ end = 5 “Records with valid dates within the period entered

Select w/o date = 6 “Read all records

Screen header = 02 “Header ID

Create w/o end = 1 “Default value is 31.12.9999

Technical Data:

Single screen = 2000

List screen = 3000; List Entry Checked.

viii. In the initial screen of PM01, now click on .

Choose the infotype entry in the list.

Fill in the values as mentioned below and save.

Technical Attributes:

In tab section,

The following attribute values are given:

Applicant DB Tab = PAnnnn “Infotype Name

Subtype field = SUBTY

Subtype table = T591A

Subty.text tab. = T591S

Time cnstr.tab. = T591A

Prim. /Sec. = I Infotype

Period/key date = I Interval

and .

ix. Infotype Screen Modification:

Edit Screen 2000 from PM01 for the Infotype.

ABAP Editor for the Infotype Program MPnnnn00 will be displayed.

Click . Flow Logic will be displayed. There string coding of your own logic.

Have you got it, how to create IT.

good luck.

5 REPLIES 5
Read only

Former Member
0 Likes
817

hi this is MohanVamsiKrishna.A,

I hv created a personal administration infotype by the following steps.

creating of infotype please follow these steps ...

Step 1: Create Infotypes

i. Goto Transaction PM01 – To create Infotypes:

ii. Enter the Infotype Number and say create all.

iii. The following message would display:

i. PSnnnn Does not exist. How do you want to proceed?

iv. Click

v. A maintain Structure screen appears.

Fill in the short text description and the PS structure of the Infotype.

Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.

vi. Once the PS Structure is created, save and activate the structure.

vii. In the initial screen of PM01, now click on .

Create a new entry for the infotype.

Fill in the values as mentioned below and save.

Infotype Characteristics:

Infotype Name of the infotype_ Short Text: __Short Description________

*General Attributes :

Time constraint = 1

Check Subtype Obligatory

Display and Selection:

Select w/ start = 3 “Valid record for entered data

Select w/ end = 5 “Records with valid dates within the period entered

Select w/o date = 6 “Read all records

Screen header = 02 “Header ID

Create w/o end = 1 “Default value is 31.12.9999

Technical Data:

Single screen = 2000

List screen = 3000; List Entry Checked.

viii. In the initial screen of PM01, now click on .

Choose the infotype entry in the list.

Fill in the values as mentioned below and save.

Technical Attributes:

In tab section,

The following attribute values are given:

Applicant DB Tab = PAnnnn “Infotype Name

Subtype field = SUBTY

Subtype table = T591A

Subty.text tab. = T591S

Time cnstr.tab. = T591A

Prim. /Sec. = I Infotype

Period/key date = I Interval

and .

ix. Infotype Screen Modification:

Edit Screen 2000 from PM01 for the Infotype.

ABAP Editor for the Infotype Program MPnnnn00 will be displayed.

Click . Flow Logic will be displayed. There string coding of your own logic.

Have you got it, how to create IT.

good luck.

Read only

0 Likes
816

Thanks a lot Mohan for the step by step procedure.

Read only

Former Member
0 Likes
816

Hi Abhishek,

check the following link.

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

Hope this helps.

Regards,

kinshuk

Read only

Former Member
0 Likes
816

Hi!

Please check for the following link for more details

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

Regards

Keith

Read only

Former Member
0 Likes
816

If you want to create the main program for an infotype, proceed as follows:

Start transaction PM01, Create Infotype (transaction PM01).

You access the Create Infotype screen.

In the Infotype no. field, enter the four-digit number of the infotype you want to create.

When you specify the infotype number, please remember to enter any leading zeros.

In the Subobjects group box, flag PS structure.

Choose Create.

The Dictionary: Initial screen appears:

Create the structure PSnnnn.

Choose Activate.

Return to the Create infotype screen.

Choose Create All.

This creates the structure Pnnnn and the database tables for your infotype.

If you have flagged Employee Infotype for your infotype, table PAnnnn is created.

If you have flagged Applicant Infotype for your infotype, table PBnnnn is created.

If you want to use your infotype within Personnel Administration and Recruitment, both tables are created.

The following sub-objects are also created for your infotype:

Module pool

– MPnnnn00 Module pool for infotype nnnn

– MPnnnn10 Include for module pool MPnnnn00

– MPnnnn20 Include for module pool MPnnnn00

– MPnnnn30 Include for module pool MPnnnn00

– MPnnnn40 Include for module pool MPnnnn00

Screens

– MPnnnn00 1000 Initial screen for infotype nnnn

– MPnnnn00 2000 Single screen for infotype nnnn

– MPnnnn00 3000 List screen for infotype nnnn

Interfaces

The system creates an interface that contains all of the interface statuses required. A list of interface statuses is included in the section Interface Status for an Infotype.

Dialog module RP_nnnn

Entry in table T777D for the technical characteristics of an infotype.

Entry in Table T77ID for the data field structure Psnnnn for the infotype.

Create additional structures or tables if required.

Result: You have created an infotype.

Make the required settings to table T582A in Customizing for Personnel Administration.

Creating infotypes with name range enhancement:

Note the following information when creating infotypes and proceed as follows:

If you are creating an infotype with a name range enhancement (/Company 1/9000, for example), make sure that your entries are overwritten by those of another imported infotype with name range enhancement (Partner 1/9000, for example), if the infotype number of the imported infotype is the same as your infotype. For this reason, make sure before you import infotypes with name range enhancements that there are no conflicts between the infotype numbers available and those that are to be imported.Start the Personnel Administration infotype copier (PM01)Enter the infotype number.

Choose Utilities -> Name range.

Enter the name range reserved for your company in the Name range field.

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

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

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers