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

Problem with EVVBAKE lock object

Former Member
0 Likes
3,311

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!

1 ACCEPTED SOLUTION
Read only

former_member191735
Active Contributor
0 Likes
2,164

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.

1 REPLY 1
Read only

former_member191735
Active Contributor
0 Likes
2,165

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.