2014 Jun 26 9:19 AM
Dear All,
I am working on changing of Inbound delivery scenarion.
I am updating batch & serial data in the existing inbound delivery
using BAPI_INB_DELIVERY_CHANGE.
However when multiple inbound delivery updates is done using batch job
in some cases I get the error
"Serial No. &1 is already locked by user &2".
I have given commit & wait, dequeue_all before calling the bapi
that updates the data in inbound delivery but still in some scenrio
I get the above error.
How can this error be fixed.
Any valuable input/suggesstion would be appreciated.
Thanks
Jitendra
Dear All,
I am working on changing of Inbound delivery scenarion.
I am updating batch & serial data in the existing inbound delivery
using BAPI_INB_DELIVERY_CHANGE.
However when multiple inbound delivery updates is done using batch job
in some cases I get the error
"Serial No. &1 is already locked by user &2".
I have given commit & wait, dequeue_all before calling the bapi
that updates the data in inbound delivery but still in some scenrio
I get the above error.
How can this error be fixed.
Any valuable input/suggesstion would be appreciated.
Thanks
Jitendra
2014 Jun 26 9:51 AM
2014 Jun 26 11:08 AM
Hello,
I guess that the locks are kept by an update module so try using "SET UPDATE TASK LOCAL." just before every call of the BAPI.
Regards
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |