Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI Upload

Former Member
0 Likes
552

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
484

Try to use BAPI_EMPLOYEE_ENQUEUE before 'BAPI_EMPLCOMM_CREATE'

and then use BAPI_EMPLOYEE_DEQUEUE

2 REPLIES 2
Read only

Former Member
0 Likes
485

Try to use BAPI_EMPLOYEE_ENQUEUE before 'BAPI_EMPLCOMM_CREATE'

and then use BAPI_EMPLOYEE_DEQUEUE

Read only

0 Likes
484

Thnx Duxton..it worked..

pts given..

Thnx