on 06-28-2018 9:08 AM
Hi
I would like to determine if a specific is user is currently being maintained in SU01.
So let's assume I'm busy maintaining John in SU01, where can I find a list of all the users being maintained at the moment (which should include John's name)?
I've managed to find something in the ABAP Debugger's global variables, but I would like to access the info from a table, FM or BAPI. Is that possible?
Basically SU01 will lock the user (look with SM12, to identify lock object E_USR04, table USR04) and you can get the lock list with ENQUEUE_READ.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
guname = space
gname = 'USR04'
IMPORTING
subrc = subrc
TABLES
enq = enq
EXCEPTIONS
communication_failure = 2
OTHERS = 1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.