‎2010 Dec 24 12:56 PM
Hi there gurus !
If you could please help ... is there a way that I can see which program/ transaction was used to lock an object ?
When I go into SM12 I can see that it's a batch job, but I can't see what job.
Much aprreciated !
Maré
‎2010 Dec 24 6:32 PM
Hi..
You can't get the details in one shot.
Check the user name who locked the object from SM12.
Then go to SM50 and check what are the program or jobs are running for that user. If only one process is running for that user then its fine. Directly you got the program name. if multiple processes are running then you need to check all programs which are running at that moment.
Thanks
Subhankar
‎2010 Dec 24 5:25 PM
Hi,
generally, no.
You can find out the Check object and the user. You may do a where-used-list on the check object and then check the job steps running.
Regards,
Clemens
‎2010 Dec 24 6:32 PM
Hi..
You can't get the details in one shot.
Check the user name who locked the object from SM12.
Then go to SM50 and check what are the program or jobs are running for that user. If only one process is running for that user then its fine. Directly you got the program name. if multiple processes are running then you need to check all programs which are running at that moment.
Thanks
Subhankar
‎2010 Dec 25 6:48 AM
Hi,
Yes, you can get details through function module:- ENQUEUE_READ
Pass USER ID in GUNAME import parameter (If you don't know user id then pass *).
The value is Returned in ENQ table.
You can also delete lock item through FM:- ENQUE_DELETE
Thanks and Regards
Rahul
‎2010 Dec 25 8:44 AM