Skip to Content
0
Former Member
Feb 24, 2006 at 12:26 AM

BAPI: BAPI_EMPLCOMM_CREATE - Employee/applicant is not locked yet

263 Views

Hello

We are on ECC 6.0, WAS 700.

I am planning to use BAPI - BAPI_EMPLCOMM_CREATE for creating communication details against a personal number (Info type 105).

While I execute this BAPI, I get an error 'Employee/applicant is not locked yet'.

After dubugging, I found that the issue could be in 'ENQUEUE_EPPRELE' of function module 'HR_MAINTAIN_MASTERDATA'.

So in my calling 'Z' program , I called up 'ENQUEUE_EPPRELE' before calling the BAPI and this resulted in success.

However, I don't want to do this because I would expect the BAPI to do all the enqueue and dequeue for me.

Has anyone faced this issue and if yes, possible solutions?

Thanks

KK