2011 Mar 15 8:36 AM
Hi,
I've an internal table that consists of purchase requisition items of a purchase requisition. I call 'bapi_requisiton_delete' and after it call 'bapi_transaction_commit' while looping the internal table. But for the second item it gives an error like 'Requisition item is handling...' . Despite of I set wait parameter of bapi_transaction_commit I got this error. Anybody has any idea about this issue??
2011 Mar 15 8:56 AM
You can use
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
OR
COMMIT WORK AND WAIT.
2011 Mar 15 9:06 AM
Kindly go through this blog.
/people/tobias.trapp/blog/2008/04/19/abap-pitfalls-part-1--lock-objects-and-commit-work
Regards
DPM