‎2010 May 12 7:06 PM
Hi,
I have created an SO and I would need this SO in my custom program.
In my custom program I have used ENQUEUE_EVVBAKE to check if teh SO is locked, after processing, the sy-subrc is 1 (foreign_lock) but the SO is not even locked to myself. And not even displaying in SM12.
Can you advise why it's behaving this way? And what should I do to avoid this?
Thanks!
‎2010 May 12 7:21 PM
First of all Run through the message, you should be able to see who locked the object. Next, see if the underlying delivery is locked by any user. Lock of delivery will also result in lock of SO.
Last but not least, try different lock modes and use deque function module after the enque.
‎2010 May 12 7:21 PM
First of all Run through the message, you should be able to see who locked the object. Next, see if the underlying delivery is locked by any user. Lock of delivery will also result in lock of SO.
Last but not least, try different lock modes and use deque function module after the enque.