Skip to Content
Apr 18, 2011 at 08:30 AM

Release lock after creating Salesorder through BAPI


hi ,

i have a program for creating Quick Order.

means at one button click we need to created VA01 -> VL01N -> PGI -> VF01.

im creating Salesorder through BAPI BAPI_SALESORDER_CREATEFROMDAT2.

after creating order i am creating Outbound delivery through BAPI BAPI_DELIVERYPROCESSING_EXEC.

When im trying to create OBD with ref to SALESorder through BAPI ,i getting Error Message LIke

'Object is lock by the current User'.

i have used DEQUEUE_ESORDER to release the object but still i facing same error .

Can One tell me how to release this object .

thanks in Advance.