Q
Problem solve Get help with specific problems with your technologies, process and projects.

Function module with PERNR output

In our SAP implemention, new employee data comes from an external system. I am looking for a function module that will accept the key information (first name, last name, org. unit, employee group, etc.) I'd also like it to create an employee and give me the employee number (pernr) as the output. Are there any standard function modules like hr_create_employee for this? I have searched lot of function modules in HR, but I was not able to find any function module which has PERNR as the output.
You can investigate BAPI_PERSDATA_CREATE. You can use this method to create a Personal Data record (0002). Messages are transferred to the RETURN parameter. The relevant parameter documentation contains the return values and their meanings. The key fields used by the method are described in the parameter documentation. You can use this method only if you have called the ENQUEUE method of the business object EMPLOYEE beforehand. For more information on the ENQUEUE method, read the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.

Otherwise the following is the standard SAP legacy load solution:

You can carry out the transfer of master data from the legacy system in two different ways:
1. Manually.
This way is only really used in practice if:
a) There are few employee records to be transferred, and
b) The end users want to carry out such a transfer by way of "training on the job".

2. Automatically.
You can use the report RPUSTD00 as model.
This report imports a sequential file with the employee data and then fills infotype after infotype with this data by means of a batch input.
This was last published in October 2003

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close