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: 

A program to trace when a user is logged in/out the system

Former Member
0 Kudos

Hi,

How would I write an ABAP to determine when the user is logged into a SAP system, what transaction code has been launched by the user, and when the user exits or changes a transaction code?

Or is there a FM that provides this information?

Thanks,

RT

Message was edited by: Rob Thomas

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can find some information in STAT and STAD transactions. But these information will be only available for programs with atleast some screens

either a report list screen or a selection screen or a module dialog.

There are also quite a no of BAPIS related to User logons.

Cheers

VJ

3 REPLIES 3

Former Member
0 Kudos

Hi,

You can find some information in STAT and STAD transactions. But these information will be only available for programs with atleast some screens

either a report list screen or a selection screen or a module dialog.

There are also quite a no of BAPIS related to User logons.

Cheers

VJ

Former Member
0 Kudos

hi

good

you can use the following function modules

TH_USER_INFO Give information about the current user (sessions, workstation logged in from, etc)

TH_USER_LIST Show which users are logged into an app server

thanks

mrutyun

Former Member
0 Kudos

Hi Rob,

U can use this standard FM which gives u memory consumption as well : /SDF/MON_USER_MEMORY

Please reward helpful answers.