Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Get user sessions in ABAP

Former Member
0 Kudos
1,547

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.

2 REPLIES 2

Former Member
0 Kudos
273

Hi,

try to use this

CALL FUNCTION 'TH_LONG_USR_INFO'

EXPORTING

user = sy-uname

TABLES

user_info = usr_tabl.

Reward if helpfull...

Cheers,

Sundar.

Former Member