2009 Nov 05 5:53 PM
Hi to all!
I have a simple problem.
Stated at the title. For example, I want to know whose User makes OB52 locked. I am actually coding it in one of my report.
Is there a table wherein I can check whose User uses T-code OB52?
I have tried using BDC but the messages it gave me does not have the information that I need.
Anybody here can help me?
Thanks.
2009 Nov 05 5:59 PM
Hi
U can check trx SM12 in order to find out all locks active, in particular who is lock the table RSTABLE and object T001B
Max
Hi
I've seen the abap code run by trx SM12 and it seems the main function module is ENQUEUE_READ: this returns the active lock.
Try to test that fm by SM37:
GNAME = RSTABLE
GARG = T001B*
GUNAME = *
Max
2009 Nov 05 5:59 PM
Hi
U can check trx SM12 in order to find out all locks active, in particular who is lock the table RSTABLE and object T001B
Max
2009 Nov 05 6:22 PM
Hi Max,
Thanks for your answer, it is really helpful.
I've tried SM12, it gives me all the tables that is locked at a specific time but only need to determine whose User is using T-code OB52. Is there a program like SM12 where in the import parameter is a Table ex. T001B?
I actually need to do it in ABAP. Is there a FM that I can use?
2009 Nov 05 6:27 PM
Hi
I've seen the abap code run by trx SM12 and it seems the main function module is ENQUEUE_READ: this returns the active lock.
Try to test that fm by SM37:
GNAME = RSTABLE
GARG = T001B*
GUNAME = *
Max
2009 Nov 06 4:44 AM
Thanks Man!
It really gives me the username that I need.
It solved it!
Thanks!!
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |