‎2008 Apr 15 9:59 AM
Hi,
I would like to get through an ABAP Program the current users logged to the system and all the transactions/sessions accessed by each user.
Thanks.
‎2008 Apr 15 10:07 AM
Hi,
Check this Function Module
TH_GET_PLUGIN_INFO
Pls reward points if helpful.
‎2008 Apr 15 10:07 AM
Hi,
Check this Function Module
TH_GET_PLUGIN_INFO
Pls reward points if helpful.
‎2008 Apr 15 10:10 AM
TRY SEARCHING IN SE38 WITH RSS*.
RSSCD100 WILL GIVE US A OUTPUT OF ALL THE TRANSACTION CODES CHANGED BY USER DURING A PARTICULAR PERIOD OF TIME.
‎2008 Apr 15 10:10 AM
TRY SEARCHING IN SE38 WITH RSS*.
RSSCD100 WILL GIVE US A OUTPUT OF ALL THE TRANSACTION CODES CHANGED BY USER DURING A PARTICULAR PERIOD OF TIME.
‎2008 Apr 15 10:11 AM
‎2008 Apr 15 10:29 AM
Would you know the FM called by RSM04000_ALV to show the data ?
‎2008 Apr 15 10:29 AM
Hi Micky/ Nilanjana,
Micky - Would you know the FM called by RSM04000_ALV to show the data ?
Nilanjana - What should be the input of FM TH_GET_PLUGIN_INFO ?
Thanks Again !!
‎2008 Apr 15 10:34 AM
It makes a system call like this (NO Function module since this is on kernel level):
call 'ThUsrInfo' id 'OPCODE' field opcode_list
id 'TABUSR' field usr_tabl-sys .
opcode_list => constant value '2' declared in include TSKHINCL.
usr_tabl like this, declared in include RSUSRCOM:
DATA: BEGIN OF USR_TABL OCCURS 10.
INCLUDE STRUCTURE USRINFO.
DATA: END OF USR_TABL.
‎2008 Apr 15 3:20 PM
Thanks again Micky ! I made some test using the code you provided and I was able to retrieve the data shown in SM04. However, I am also interested on the data shown when you click the button "Sessions" in SM04. I debugged the SM04 transaction but ran through the code which creates the popup where the additional session details are listed:
call screen 2000 starting at 4 4 ending at 62 modes.
But when I debug or display the screen itself, I cannot go any further. There is a module MODULE SYST-OKOPO in the PBO of the screen but when I double click it, the system will say that the object does not exist.
When you say kernel level, is there a way I can replicate the logic ?
Appreciate your help on this !!
Thank you very much !!
‎2008 Apr 15 10:30 AM