Skip to content
SAP transaction · Basis

SM04: Logons to an AS Instance

SM04 lists the users logged on to the current application server instance with their terminals, transactions and sessions, and with administration rights it can end a user's sessions. Support teams use it to see who is working before maintenance, and security teams to spot shared or unexpected logons.

Authorization objects checked by SM04

S_TCODE
Checked when the transaction starts: the user must hold the transaction code.
S_ADMI_FCD
System administration functions; process administration (PADM) is needed to end other users' sessions.

Checks vary by release and by the functions used. Confirm them in your system with SU24 and an authorization trace (STAUTHTRACE or ST01).

Why SM04 is sensitive

Rinexis risk ratingMedium

Display access is low risk. Ending other users' sessions can interrupt postings in progress, so that capability belongs to Basis.

SM04 FAQ

What is transaction SM04 in SAP?

SM04 lists the users logged on to the current application server instance with their terminals, transactions and sessions, and with administration rights it can end a user's sessions. Support teams use it to see who is working before maintenance, and security teams to spot shared or unexpected logons.

Which authorization objects does SM04 check?

Starting SM04 requires S_TCODE with value SM04. Inside the transaction, the key objects are S_ADMI_FCD. The exact checks depend on the functions used and the release, so confirm them with an authorization trace (STAUTHTRACE or ST01) in your own system.

Is SM04 a sensitive transaction?

Rinexis rates SM04 as medium risk in a production system. Display access is low risk. Ending other users' sessions can interrupt postings in progress, so that capability belongs to Basis.

All SAP transactions in the library