Application Development and Automation 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: 
Read only

Sales Order Unlocking (Dequeue)

SG141
Active Participant
0 Likes
2,796

Please let me know if there is any std functionality available to unlock sales order.

I tried these fm's<b> DEQUEUE_EC_CSORDER, DEQUEUE_ESORDER </b> with no success.

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,195

You may be able to use DEQUEUE_ALL, but this will release all current locks held by the session.

Regards

Rich Heilman

Read only

Former Member
0 Likes
1,195

There must be some valid reason why a lock is there for a given sales order and unlocking it programatically like that may result in inconsistencies. What is your situation?

Read only

Former Member
0 Likes
1,195

You can use FM : DEQUEUE_EVVBAKE

but try to follow Srinivas Suggestion and we can not unlock the sales order since update process is going with other documents.

so we have to use comitt work and wait ,use wait up to n seconds if you are updating using BAPI or FM..

Thanks

Seshu