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

Error(User already proceesing doc while changing PO using BAPI_PO_CHANGE

Former Member
0 Likes
584

Hello Experts,

I am using BAPI_PO_CHANGE, TO CHANGE fields at item level( before it i am un releasing the PO) in a loop endloop . Here i am facing a problem. When i execute the program in background , My first PO is changed succesfully, from the second PO onwards i am getting a messge 'User(MYSELF) already processing PO' and the changes are not being performed in PO. i am using BAPI_TRANSACTION_COMMIT also.How can i over come this problem and succesfully change POs.

Hello Experts,

I am using BAPI_PO_CHANGE, TO CHANGE fields at item level( before it i am un releasing the PO) in a loop endloop . Here i am facing a problem. When i execute the program in background , My first PO is changed succesfully, from the second PO onwards i am getting a messge 'User(MYSELF) already processing PO' and the changes are not being performed in PO. i am using BAPI_TRANSACTION_COMMIT also.How can i over come this problem and succesfully change POs.

3 REPLIES 3
Read only

Former Member
0 Likes
505

Hi Kiran,

Pass the 'X' to WAIT parameter for "bapi_transaction_commit" bapi.

This should resolve the problem.

Regards,

Dinakar.

Read only

Former Member
0 Likes
505

While calling BAPI_TRANSACTION_COMMT, pass WAIT = 'X'.

Make sure to refresh all the internal tables properly inside the loop.

Regards,

Ganga

Read only

0 Likes
505

Hello experts,

I am passing WAIT = 'X' and refreshing all internal tables, but still i am facing the same problem. As you know i am doing this in a loop, for the first record it is fine, but fromsecond record changes are being stopped by giving an error message User already processing