‎2006 Sep 28 7:58 AM
Hello all,
i m trying to upload HR master data ,infotype 0105 via BAPI 'BAPI_EMPLCOMM_CREATE' ,but it is givign message 'Employee/applicant is not locked yet'.
I found tht a call is being made to FM 'HR_INFOTYPE_OPERATION' from the concerned BAPI,this FM has one import parameter 'LOCKINDICATOR' which is going as SPACE by default now,hence causing the issue.
I changed it to 'X' at runtime and IT 0105 record was created successfully..
Can any one tell me 'how i can make the LOCKINDICATOR value 'X' by default when call is made to FM 'HR_INFOTYPE_OPERATION'.
Thnx
‎2006 Sep 28 8:12 AM
Try to use BAPI_EMPLOYEE_ENQUEUE before 'BAPI_EMPLCOMM_CREATE'
and then use BAPI_EMPLOYEE_DEQUEUE
‎2006 Sep 28 8:12 AM
Try to use BAPI_EMPLOYEE_ENQUEUE before 'BAPI_EMPLCOMM_CREATE'
and then use BAPI_EMPLOYEE_DEQUEUE
‎2006 Sep 28 8:42 AM