2008 Aug 18 7:49 PM
Hi,
There is any BAPI for create a new employee (transaction pa40)?
Basically a bapi that create employee number and assign personnel area, EE group,...
I suppose that BAPI_PARTNEREMPLOYEE_CREATE is for external customer users... not the bapi that we are looking for...
Regards.Thanks.
Hi,
There is any BAPI for create a new employee (transaction pa40)?
Basically a bapi that create employee number and assign personnel area, EE group,...
I suppose that BAPI_PARTNEREMPLOYEE_CREATE is for external customer users... not the bapi that we are looking for...
Regards.Thanks.
2008 Aug 18 7:51 PM
Hi,
Try using FM HR_INFOTYPE_OPERATION. It is a frequently used fm for HR .
Reg,
Bert
2008 Aug 18 9:11 PM
I dont think you can create new employee's using HR_INFOTYPE_OPERATION. HR_INFOTYPE_OPERATION is only for creating or updating infotypes for existing employees. IF you have to create new employees, you might have to either make a Z FM for HR_INFOTYPE_Operation to avoid the Existence Check or try to Use HR_MAINTAIN_MASTERDATA.
2008 Aug 18 8:17 PM
hii
for creating employee you can use FM
BAPI_PERSDATA_CREATE
and HR_MAINTAIN_MASTERDATA
regards
twinkal
2008 Aug 18 9:21 PM
Thank you by the answers... Its extrange but i cannot find that (HR_MAINTAIN_MASTERDATA) in my sap system.
I have HR_MASTERDATA_DIALOG that request parameters P_ACTIVITY, P_INFTY, P_PERNR, P_SKIP and P_SUBTY...
Any idea?
2008 Aug 18 9:33 PM
Hi Garcia,
The FM calls the transaction PA30/PA20 based on your activity whether to create/display.
If you do not have the FM HR_MAINTAIN_MASTERDATA
You can use even BDC to create the employee data.
Fill all the required data for an employee and call the transaction PA30 for each infotype.
Also HR_INFOTYPE_OPERATION implicitely calls the HR_MAINTAIN_MASTERDATA .
search for the same ..and also look for the include LHRMMU03.
Check for Function group HRMM which has these FM's
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |