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: 

Last login of SAP-user

Former Member
0 Kudos

Hi there,

I'm looking for the database table and field that contains the date of the last login of an sap-user.

Is there anything like this?

Thanks...

Kind regards

Markus

1 ACCEPTED SOLUTION

GauthamV
Active Contributor
0 Kudos

HI,

use this table.

USR02.

fields:

TRDAT

LTIME.

6 REPLIES 6

former_member181995
Active Contributor
0 Kudos

SM04>sort decending wrt to time column.

GauthamV
Active Contributor
0 Kudos

HI,

use this table.

USR02.

fields:

TRDAT

LTIME.

Former Member
0 Kudos

you can use table usr02 , field LTIME ( Last logon time ) based on user.

Former Member
0 Kudos

The above may work some of the time (sometimes also unreliably as you may incorrectly interpret the single fields of tables, or SAP might change them, as they have also done), but they are not the intended solution for this.

The correct tool is SM20(N) recording the event "Successfull logon" which will also tell you which "type of logon" it was.

Cheers,

Julius

Former Member
0 Kudos

Hi,

You can check in this table USR02

Regards

Pavan

former_member598013
Active Contributor
0 Kudos

Hi Markus,

Check out the


FM " ISR_GET_USER_DETAILS " 

It will give you the complete detail of the user Login.

Regards,

Chidanand