‎2008 Jun 11 7:42 PM
Hi Experts,
Im very new to HR ABAP. I have a doubt regrading custom info type.
My doubt is why we are going for a custom info type? what are all the key fields are there for creating custom infotype?
If you explain with simple scenario it would be a great help for me.
Thanks in advance,
Points assured.
‎2008 Jun 11 7:44 PM
hi check this..
Creating an Infotype
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:
If you require further information on the structure and task of individual objects, please refer to the section Definition of an Infotype Within the Data Dictionary.
If you require information on how to use the Data Dictionary, please refer to BC - ABAP Dictionary.
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
u2013 MPnnnn00 Module pool for infotype nnnn
u2013 MPnnnn10 Include for module pool MPnnnn00
u2013 MPnnnn20 Include for module pool MPnnnn00
u2013 MPnnnn30 Include for module pool MPnnnn00
u2013 MPnnnn40 Include for module pool MPnnnn00
See also:
Module Pool for an Infotype
Screens
u2013 MPnnnn00 1000 Initial screen for infotype nnnn
u2013 MPnnnn00 2000 Single screen for infotype nnnn
u2013 MPnnnn00 3000 List screen for infotype nnnn
See also:
Screens for an Infotype
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.
See also:
Maintaining Infotype Characteristics
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.
To create further infotypes, follow the procedure described in step 3 above.
‎2008 Jun 11 7:44 PM
hi check this..
Creating an Infotype
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:
If you require further information on the structure and task of individual objects, please refer to the section Definition of an Infotype Within the Data Dictionary.
If you require information on how to use the Data Dictionary, please refer to BC - ABAP Dictionary.
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
u2013 MPnnnn00 Module pool for infotype nnnn
u2013 MPnnnn10 Include for module pool MPnnnn00
u2013 MPnnnn20 Include for module pool MPnnnn00
u2013 MPnnnn30 Include for module pool MPnnnn00
u2013 MPnnnn40 Include for module pool MPnnnn00
See also:
Module Pool for an Infotype
Screens
u2013 MPnnnn00 1000 Initial screen for infotype nnnn
u2013 MPnnnn00 2000 Single screen for infotype nnnn
u2013 MPnnnn00 3000 List screen for infotype nnnn
See also:
Screens for an Infotype
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.
See also:
Maintaining Infotype Characteristics
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.
To create further infotypes, follow the procedure described in step 3 above.
‎2008 Jun 11 7:53 PM
Venkat - rather than cutting and pasting the SAP help (without the links), why not just post the link to the help:
[Creating an Infotype |http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm]
Rob
‎2008 Jun 12 5:03 AM
Dear Doak Regis,
Now u must be knowing how to create the infotypes as it explain in reply to ur post.
I ll try to explain why we require to create a custom infotype.
we can store diff types of info in different stand infotypes.
But suppose if rather than this you require to store few more info abt the employee which is not available in std one then in that case u require to create a custom infotypes.
Like physical information / Buss Pass details.
Regards
Chandrashekhar
‎2008 Jun 12 10:33 AM
Hi
Go through the link given below :
http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
Hope it will helpful to you.
With Regards,
Nikunj Shah