on 06-20-2008 8:05 AM
I am trying to change Employee Personal Data by calling BAPI_PERSDATA_CHANGE
from .Net through webservice created by using Function Module-> WebService Wizard.
Problem is that I get error "The employee/applicant is not locked yet".
I know that I must call the following three BAPI's :
BAPI_EMPLOYEE_ENQUEUE
BAPI_PERSDATA_CHANGE
BAPI_EMPLOYEE_DEQUEUE
The external call from .Net to BAPI_EMPLOYEE_ENQUEUE does not lock the record (as seen in SM12)
If I call BAPI_EMPLOYEE_ENQUEUE in SE37, it locks the record as seen in SM12.
In principle, what we need to do is exactly same as in following link, but without using IBM Websphere:
Can any one help how to lock Employee record by calling BAPI_EMPLOYEE_ENQUEUE fron .net environment ?
Hi MB,
please have a look at the whitepaper of Juergen and me regarding
Best regards,
André
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi André,
Thanks for a very quick response. It did solve part of the problem. The record remains locked so that I am able to change the Personal Data. After that, when I call BAPI_EMPLOYEE_DEQUEUE in the same session, instead of removing the lock entries (as seen by SM12), it adds one more entry, and the employee remains locked. So question now is - how to successfully Dequeue it now ?
Here is a copy of entries after Enqueue, change, and Dequeue:
800 MZZZZZB 13:26:31 E PLOGI 80001CP00010358 0 1
800 MZZZZZB 13:26:31 E PREL 80000001273############################## 1 1
800 MZZZZZB 13:27:07 E BUT000 8000000002083 0 1
Thanks a lot...
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.