Application Development 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: 

Locks list for a user session

0 Kudos

Hello Colleagues,

Is there a function module or class/method which will give me the list of all locks of a user in the current session and not across all sessions (like transaction SM12). Function modules like ENQUE_READ and ENQUE_READ2 provides the lock list for a user across all sessions but not in the seesion in which the FM is being executed.

Please let me know if you have any information in this regard.

Thanks & Regards,

Saurabh

2 REPLIES 2

Former Member
0 Kudos

Hi saurabh,

can you please go thru this link

http://sapprograms.blogspot.com/2008/04/function-modules.html

also

ENQUEUE_ESFUNCTION, Lock an abap program so that it cannot be executed

thanks

nagendra.

0 Kudos

Solved it myself. The enqueue function modules itself provide a special mode will NW 710 to check for the existence of 'O' locks for a user in a session.