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: 

Code sample to find out if a user is logged in R/3 system

Former Member
0 Kudos

Hello,

can anybody paste there a code sample which is able to find out if an user is logged in R/3 system.

Best regards,

Josef Motl

1 ACCEPTED SOLUTION

LucianoBentiveg
Active Contributor
0 Kudos

You can use FM PRGN_GET_USERS_LOGGED_IN.

Don´t Forget rewards points ; )

Good Luck.

4 REPLIES 4

Former Member
0 Kudos

Hi Josef ,

check this link,

<a href="http://www.kabai.com/abaps/q.htm">http://www.kabai.com/abaps/q.htm</a>

there are a lot of sample codes to know users logged in and send messages to them..

regards

satesh

Former Member
0 Kudos

Hi Josef,

In SM04 transaction you can see the users logged in

to the system. Please check the program, hope it

will serve your purpose.

Please refer the program RSM04000_ALV.

Thanks&Regards,

Siri.

LucianoBentiveg
Active Contributor
0 Kudos

You can use FM PRGN_GET_USERS_LOGGED_IN.

Don´t Forget rewards points ; )

Good Luck.

0 Kudos

Have a look at FM TH_USER_LIST. This return a list of users logged in on a given server...