Listing TCODE transactions used to view what users are logged in to SAP
Does an authorization code exist to collect a list of all TCODEs and users logged in to SAP during a time period?
I want to get a list of all transactions used per user in a specific time period. Basically I'm looking for a list of all users logged in SAP and the details of the tcodes they used. Is there any standard report or tcode available to view this info?
There is no standard transaction. The information is available for configurable time periods using transaction ST05N but it is not organized to readily provide a report of users and transactions. Also the information available summarizes a user's use of a transaction. There will be one entry (with count data) per user per time period. Daily, weekly and monthly summaries can be created and they are stored for configurable durations.
The information is summarized into a cluster table called MONI based on the STAT files that are written in the file system and regularly refreshed. MONI cannot be queried via SE16 etc., but SAP delivers a number of function modules that retrieve data from these tables.
It is also possible to configure audit logging via SM19 and read the log files via SM20. This will provide more detail but it also introduces new file management issues and requires a change to system settings.
Dig Deeper on SAP infrastructure and cloud
Related Q&A from Corwin Slack
Locating user email addresses in SAP SU01 transaction code
A SearchSAP.com reader who stores user email addresses within the SAP SU01 transaction code and wants to know where to locate the data. Continue Reading
Viewing SAP transaction codes and profiles
An administrator is looking for a way to see what profiles belong to a particular T-Code. Continue Reading