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

Locking issue while going into standard FM

Former Member
0 Likes
442

Hi experts there,

I have a report calling a standard function module 'LXYRDM_ACTIVITY_CREATE_MTHD' which internally calls 'FLUSH_ENQUEUE' , which is collecting the lock set somewhere in the standard code and throws exception foreign_lock =1. But drawing a blank as why is there a lock set on the table(VEKP).I checked in SM12 and a lock entry do exists in there. I found when going in debugg into the standard code everything looks fine, so i gave a wait time of 3 seconds before geting into the FM, but of no help. Moreover everything was fine until a week before. Anyone ever had such kind of an issue.

Any inputs / ideas greatly appreciated.

Thanks

Shankar

1 REPLY 1
Read only

former_member156446
Active Contributor
0 Likes
361

check and see what lock object is being used... once you find that you can use a deque_<lock object> fm and unlock it before calling the FM.