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

Unalbe to delete lock entry table using Dequeue function module

Former Member
0 Likes
585

Friends,

I display a base ALV list with custom app. tool bar. When i click on a button, i submit another report which updates a z-table for that corresponding row. I create a lock object for this entry before submitting the report. After updating the table, I try to delete the lock object using dequeue function module in the called report, but though the subrc is 0, the lock entry is not getting deleted in SM12. The called report, after dequeue, again submits report 1 (the caller). So, when i try to do some operation for the same row which I first selected, it triggers Foreign_lock exception. When I completely go out of the base list, only then the entry is deleted. Can anyone tell me the reason? I have tried with parameters _SCOPE & _SYNCHRON, but same result.

Regards,

Sathish R

1 REPLY 1
Read only

Former Member
0 Likes
366

Hi,

The triggering of the dequeue is not in the proper position as it need to be placed.

Thats the only problem as per u have described the issue.

Place the deque as soon as the report is return the value.

I hope it may work ur issue.