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: 

How to find a how many times a User logged in

Former Member
0 Kudos
408

Experts,

Is there a way where in I can find How many times a User Logged in to the system over a period of time.

FYI...,

I have a search over the forum but could not get the relevant solution for this. Had a trial search on TCodes SM04, SM20, STAD etc but could not find exact one for this.

Please let me know is there any way where I could get the details on the above query.

Thanks in adavnce.

Regards,

SRinivas

1 ACCEPTED SOLUTION

kesavadas_thekkillath
Active Contributor
0 Kudos
120

HI,

i found this fm RSAU_READ_FILE for sm20 , but i am not sure how to use it.

I just made a search for this function and i got thisa link

Check the reply by FabioBC in which he explains the mapping of fields to this function

link:[http://www.sapfans.com/forums/viewtopic.php?p=799746&highlight=&sid=e8dca9480a775847b26ab57493f27eb6]

Edited by: Keshav.T on Dec 3, 2010 8:16 PM

6 REPLIES 6

kesavadas_thekkillath
Active Contributor
0 Kudos
121

HI,

i found this fm RSAU_READ_FILE for sm20 , but i am not sure how to use it.

I just made a search for this function and i got thisa link

Check the reply by FabioBC in which he explains the mapping of fields to this function

link:[http://www.sapfans.com/forums/viewtopic.php?p=799746&highlight=&sid=e8dca9480a775847b26ab57493f27eb6]

Edited by: Keshav.T on Dec 3, 2010 8:16 PM

Clemenss
Active Contributor
0 Kudos
120

If not modified by the customer, SAP systems have no Big-Brother functions recording user activity without any reason.

The system will record a lot - if it is of any importance: Data changes, Dumps, Job runs etc are recorder together with user data.

Regards,

Clemens

former_member182040
Active Contributor
0 Kudos
120

t.code AL08

0 Kudos
120

Hi K...,

AL08 (as SM04) creates a list of currently logged in users.

I think that was not what the question is about.

Regards,

Clemens

Former Member
0 Kudos
120

Hi Srinivas,

I found two DB tables which might interest you.

usr02 --->Last Logon

USR41

They contain the the last logon details for every user but nothing beyond that.You can use various filter options.

Utmost you can be sure that so many users logged in during that range.

Additionally you can go to se16 anf type usr* and F4 to see a huge array of tables.Go through them and see if can get what you need.

Former Member
0 Kudos
120

Hi,

if you really have to do it, create an own DB-Table and fill it in

EXIT: EXIT_SAPLSUSF_001 of SUSR0001.

Ragards, Dieter