Application Development 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: 

BAPI_OUTB_DELIVERY_CREATE_SLS locking

jeff_broodwar
Active Participant
0 Kudos
459

Hello Friends,

just a quick question, I tried checking but didn't find an answer. When using BAPI_OUTB_DELIVERY_CREATE_SLS, what fm or bapi do we use to lock (enqueue) and unlock (dequeue after commit).


Thank you,

Geoff

1 ACCEPTED SOLUTION

DominikTylczyn
Active Contributor
0 Kudos
380

Hello jeff.broodwar

You don't need to do any locking before calling BAPI_OUTB_DELIVERY_CREATE_SLS. The BAPI will do all necessary locking and will report an error message in case of locking conflicts.

Unlocking is done by BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK.

Best regards

Dominik Tylczynski

1 REPLY 1

DominikTylczyn
Active Contributor
0 Kudos
381

Hello jeff.broodwar

You don't need to do any locking before calling BAPI_OUTB_DELIVERY_CREATE_SLS. The BAPI will do all necessary locking and will report an error message in case of locking conflicts.

Unlocking is done by BAPI_TRANSACTION_COMMIT or BAPI_TRANSACTION_ROLLBACK.

Best regards

Dominik Tylczynski