2010 Feb 22 9:07 AM
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.
2010 Feb 22 12:07 PM
Hi Kiran,
Pass the 'X' to WAIT parameter for "bapi_transaction_commit" bapi.
This should resolve the problem.
Regards,
Dinakar.
2010 Feb 22 3:31 PM
While calling BAPI_TRANSACTION_COMMT, pass WAIT = 'X'.
Make sure to refresh all the internal tables properly inside the loop.
Regards,
Ganga
2010 Feb 23 4:45 AM
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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |