Skip to Content
Former Member
Feb 14, 2006 at 09:59 AM

Record Locking when using BAPI


Hi All,

Just wondering if any of you have come across this before.

We have a bespoke program that runs in the background as a scheduled job and it reads data from a flat file on the network, it then proceeds to call the BAPI (BAPI_PLANNEDORDER_CHANGE) and directly after that I use BAPI_TRANSACTION_COMMIT (with no WAIT time) but the record is locked, we presume its because the current PO in the ITAB is the same as the previous row, but maybe it because of some other reason. Any suggestions??

Kind Regards.