2008 Sep 09 10:14 AM
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
2008 Sep 09 12:41 PM
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.
2008 Sep 09 4:23 PM
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.