01-30-2012 9:36 AM
Hi Experts,
I am not a SAP Expert. I want to create employee records in the SAP system using Biztalk WCF SAP adapter. I was trying to create a record using BAPI_PERSDATA_CREATE while passing u201Cemployeenumberu201D as empty as employee number should be generated by the the system. Help document says I need to use BAPI_EMPLOYEE_ENQUEUE before calling the CREATE . But I need to pass EmployeeID for this.
So It seems that I am marching to the wrong direction. Could anyone help me to identify the correct BAPI/RFC or IDOC that I need to use for creating a new employee ? Your help will be greatly appreciated!!!
Thank you
Nandika
01-30-2012 9:56 AM
01-30-2012 9:56 AM
01-30-2012 3:41 PM
Thank you for your link. But this BAPI creates business partners . I need to create employees in the HR system and also want to return back the system created personal Id(empoyee ID).
Can any one help me please ?
Nandika
01-31-2012 9:19 AM
You can use BAPI_BUPA_CREATE_FROM_DATA for creating employee, please check program CRMHRALE_CENTRAL_PERSON for example...
You can get employee number in importing parameter businesspartner of the BAPI
02-08-2012 6:03 AM
Thank you for your help. But this API will add BA role to the employee. I really want to create employees not BA s in to the system.
So I need to find a proper way for this. I have not found a way yet.
Really Appriciate If I can get SAP Community help for this. Is there anyway to write API using C# ?
Nandika