Application Development 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: 

person is already being processed by user (Myself)

Former Member
0 Kudos

Hi,

I am updating an customized infotype using BDC in user exit ZXPADU02 based on status in infotype 0000, while updating the customized infotype i am getting error as 'Person is already being processed by user(myself). What is this error and how to rectify it ?

4 REPLIES 4

suresh_datti
Active Contributor
0 Kudos

The User Exit ZXPADU02 gets triggered in the PAI of an infotype ie you are editing an infotype record of an employee.. so the employee's record is locked.. If you put a BDC in the User exit , you are in effect trying to update the same employee...hence the error message.. There are a couple of ways to get around such a scenario.. put the BDC in another Report program & call it in the User Exit with a SUBMIT.. AND RETURN statement.. or put the BDC in a function module & call the function as a separate TASK..

~Suresh

0 Kudos

hi , I have already put the BDc in another program and calling it in User Exit, But I dont know about Submit and return , How to use those ?

thanks to suresh , but pls help me more on the above point.

Former Member
0 Kudos

before calling any EMP first u have to ENQUEUE the EMP after the Operations u have to DEQUEUE the EMP , in that case u cannt gett these kind of Errors.

Regards

Prabhu

Former Member
0 Kudos

when do u want me to call the enqueue function , ? If I am not wrong, the enqueue is already called by SAP for the same perner on 0000, only then while updating for the same perner we get this error.

pls tell me how to use that commit and return,

pls let me know if i am wrong, then I will try your solution too , but what is EMP ?.

thanks.