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: 

User Login and Logout Details

ipravir
Active Contributor
0 Kudos


Hello,

I have a requirement to capture the user login and logout time information.

Please suggest is there any T-Code or table exists which hold these information.

Thanks & Regards.

Praveer Kumar Sen.

6 REPLIES 6

venkateswaran_k
Active Contributor
0 Kudos

Hi Praveen,

Please contact the basis consultant.

You need to activate the audit logs in the system.  (through SM19)

This will capture all activities of user.

Then from program - RSAU_SELECT_EVENTS

you can take a report.

Regards,

Venkat

VijayCR
Active Contributor
0 Kudos

BAPI_USER_GET_DETAIL

us this to get the user name

nabheetscn
Active Contributor
0 Kudos

You can check in ST03N,SM19 and SM20 the same. Search on SCN for more details

Nabheet

Former Member
0 Kudos

Hi,

I think ST03N and SM20 gives user and transaction details.

Thanks,

Chirdip

Former Member
0 Kudos

If you dont want to activate the default log you can activate the User-Exit SUSR0001 in transaction SMOD to program your own login-log.

For Logout you could modify the include LSPO1I10 which is used for the logout dialog box.

But this methods are REALLY REALLY dirty!!!

Best way is to use SM20.

Regards Nico

Former Member
0 Kudos

As for login time, you may check table USR41, logout time is not saved anywhere as far as i know.

Regards,

George