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:
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".
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.
Dig Deeper on SAP ABAP
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.