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: 

Check the Login Status of a Particular User.

Former Member
0 Kudos

Hi All,

I need to Check whether a particular User has Logged In to the SAP System or not at a particular time.

I need some FM or Table for this purpose.

Any body having any helpful idea, please share your knowledge.

Thanking You All.

1 ACCEPTED SOLUTION

amy_king
Active Contributor
0 Kudos

Hi Ankit,

If a user is currently logged into a system, they will appear in table USR41. Function module TERMINAL_ID_GET will show the user's terminal ID if they have one.

Cheers,

Amy

6 REPLIES 6

kakshat
Advisor
Advisor
0 Kudos

Hi Ankit,

Transactions AL08 and SM04 can be used for displaying the currently logged in users. You can probably run a SQL trace (ST05) for these transactions to find out the underlying tables.

Regards,

KA

amy_king
Active Contributor
0 Kudos

Hi Ankit,

If a user is currently logged into a system, they will appear in table USR41. Function module TERMINAL_ID_GET will show the user's terminal ID if they have one.

Cheers,

Amy

Former Member
0 Kudos

Thanks a lot friends.

I have got the required details in Table USR41.

Former Member
0 Kudos

Hi Ankit,

To my knowledge, I don't think there is table to store the user logon history. Alternatively, you may use security audit log as suggested in this link http://scn.sap.com/thread/377033 . Thanks.

Best Regards,

Xavier

Former Member
0 Kudos

  Hi Ankit,

Please check below path for your requirement

SUIM -> User -> By Logon Date and Password Change

Regards

Sumit

Former Member
0 Kudos