Skip to Content
0
Former Member
May 17, 2008 at 08:00 AM

Get user sessions in ABAP

1166 Views

Hi,

my problem is to get active sessions of a specific user

(as I can see from SM04, selecting a row and clicking "Session")

The program behind SM04 is RSM04000_ALV;

the

call 'ThUsrInfo' id 'OPCODE' field opcode_list

id 'TABUSR' field usr_tabl-sys

get the info about the logged users (first screen of SM04).

Then, the details are shown in dynpro 2000 that contains a

module syst-okopo that does not exixts, and it's impossible to see in debug what happens!!!

Please Help

Thanks a lot

A.try to use this

CALL FUNCTION 'TH_LONG_USR_INFO'

EXPORTING

user = sy-uname

TABLES

user_info = usr_tabl.