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 Log-in details

Former Member
0 Kudos
147

Hi Friends,

I want to find out User name-wise log-in details. Basically I want the user name, date and number of times he has loged-in.

Kindly guide me as to how to get the same.

3 REPLIES 3

Former Member
0 Kudos
60

use below Function module

CALL FUNCTION 'RSAU_READ_FILE'.

it will solve your problem...

=====================================

Use BAPIS there are very useful BAPIS to get the user's info.

BAPI_USER_CHANGE Change User

BAPI_USER_CLONE Create User with Template in Another System

BAPI_USER_CREATE Create a User

BAPI_USER_CREATE1 Create a User

BAPI_USER_DELETE BAPI to Delete a User

BAPI_USER_DISPLAY Display users

BAPI_USER_EXISTENCE_CHECK Check a user exists

BAPI_USER_GET_DETAIL Read User Details

BAPI_USER_LOCACTGROUPS_ASSIGN Change Activity Group Assignment for Dependent Systems from Central System

BAPI_USER_LOCACTGROUPS_DELETE Delete Activity Group Assignments in the Dependent Systems

BAPI_USER_LOCK Lock User

BAPI_USER_LOCPROFILES_ASSIGN Change Profile Assignment for Dependent Systems from Central System

BAPI_USER_LOCPROFILES_DELETE Delete Profile Assignments for Dependent Systems

BAPI_USER_PROFILES_ASSIGN User: Assign profiles

BAPI_USER_PROFILES_DELETE User: Delete All Profile Assignments

BAPI_USER_UNLOCK Unlock user

===================================

U can see tables:

USR01 User master record (runtime data)

USR02 Logon data

USR03 User address data

USR05 User Master Parameter ID

USR12 User master authorization values

Reward Points if it is useful..

Former Member
0 Kudos
60

Hi Mark,

SM04 gives you the details of the users logged in,terminals,transactions the user is working on, the time he has logged in,no of sessions user has opened, and the memory used by the user's programs... all of that w.r.t to the client we login. but we can't get info like date and number of times the user has logged in.

Reward points if useful..

Regards,

Goutham.

Former Member
0 Kudos
60

Hi Mark,

The below links surely helps u a lot.

Check these threads -

[]

[]

[]

Reward if helpful.

Thankyou,

Regards.