AL08 — System-Wide Logged-On User Overview
AL08 lists every user currently logged on across all application servers of the SAP system, not just the one the user happens to be connected to. It is the multi-server counterpart to SM04, which only shows sessions on the local instance. Use it to see total system load, spot duplicate logons, or find which server a specific user session is running on before killing it.
AL08 gives a consolidated view of active user sessions across every application server in the system, pulling data live from each instance rather than from a stored table. The page covers how it differs from SM04, what the collection actually costs the system, and the usual reasons the counts do not match what the business is reporting.
Reviewed by an ERPClimb SAP consultant on 15 Sept 2026· 1,119 words
What it does
AL08 collects and displays the list of users logged on to every application server belonging to the current SAP system, aggregated into a single screen. Each row typically shows the user ID, the application server name, client, terminal or host, logon time, and the transaction or report currently running in that session. The one structural fact that explains most confusion: AL08 does not read a persisted table, it calls each application server live at the moment the transaction is run and merges the responses. If a server is slow to respond, down, or isolated by a network issue, its users simply do not appear in the list, and the total looks artificially low. This makes AL08 a snapshot, not a log, and it will never agree exactly with a count taken a few minutes earlier or later.
When it is used
AL08 is reached for whenever someone needs to know total concurrent logons across the whole system rather than on one instance, which is the normal case in any landscape with more than one application server. Typical triggers are capacity checks before a peak period, hunting for where a particular user's zombie session is actually running before issuing a kill in SM04 or SM50, or verifying whether a reported 'system is full' complaint is really a licensing or work process saturation issue. It is also used alongside ST03 or ST06 when correlating user counts with CPU or memory pressure. It has largely no Fiori equivalent for ad hoc use; monitoring dashboards in newer tooling summarize load but do not replace the per-user drill-down AL08 gives.
How to use it
- Run AL08 directly by transaction code, no selection screen is presented.
- Review the resulting list, sorted by application server, then by user.
- Use the column showing current transaction or program to identify what each session is doing right now.
- Cross-check a suspicious entry against SM04 on the specific server named in the row, since SM04 offers session-kill and further detail that AL08 does not.
- If a server appears to be missing entirely, check SM51 to confirm that instance is registered and reachable before assuming zero users.
Key fields
- No table is written. AL08 performs a remote read against each application server's in-memory user list at execution time.
- The underlying data corresponds to the same live session information exposed by SM04 on each individual server, gathered via a system-wide collector call rather than a database select.
- No persistence means there is nothing to query retroactively in SE16; a session that has already ended will not appear even one second later.
How to prove it in the data
There is no table behind AL08 to query in SE16, this is the point of confusion most consultants hit first. To reconcile a discrepancy, run AL08 and immediately cross-check against SM04 on the specific application server named in the row in question; the counts should match for that instance at that moment. If they diverge, the gap is almost always timing, a session logging off between the two checks, or a server that failed to respond to the collector call and was silently dropped from the AL08 aggregate. For a historical count, ST03 workload statistics are the only reliable substitute, since neither AL08 nor SM04 retain history.
ECC vs S/4HANA
AL08 behaves the same on S/4HANA as on ECC; it is a Basis-layer administration transaction unaffected by the underlying application changes. There is no dedicated Fiori app that replaces the ad hoc, live drill-down AL08 provides, though system monitoring dashboards in newer administration tooling can show aggregate active-user counts as one metric among many. For hands-on session investigation, the GUI transaction remains the practical route.
Common pitfalls
- Missing server rows: a server that does not answer the collector call in time is simply left out of the AL08 list rather than shown as an error. Check SM51 first to confirm the instance is up and registered before concluding the user count is genuinely lower.
- Stale or duplicate entries: a session killed on the operating system level or through a network drop can leave a phantom entry that AL08 still reports because the work process has not yet released the buffer. Cross-check with SM50 on that specific server for the underlying work process state before trusting the AL08 row.
- Mismatched totals against licensing tools: AL08 counts logon sessions, not named users, so one user with three open sessions inflates the number relative to a license measurement that counts distinct user IDs. Do not use AL08 output directly as a license compliance figure.
- Confusing AL08 with SM04: consultants new to the system often run SM04 expecting a system-wide view and get only the local server, then assume users have vanished. The reflex fix of restarting the instance to 'clear ghost sessions' is unnecessary and disruptive; the correct move is to check the specific server's SM50 work process list first.
- Performance impact on a large landscape: running AL08 repeatedly in a tight loop or via a background job against a system with many application servers generates a burst of internal RFC-style calls; treat it as an interactive diagnostic tool, not a monitoring feed to poll every few seconds.
Whose problem this is
This is Basis territory. Functional consultants use AL08 only to report a symptom, such as a user claiming to be logged on twice or a server that seems overloaded. A good handover to Basis names the exact user ID, approximate logon time, and which application server the session showed against, so Basis can go straight to SM50 or SM51 on that instance rather than re-running the system-wide check from scratch.
Related SAP objects
Reviewed pages this object connects to in the ERPClimb knowledge graph.
Source: ERPClimb — https://erpclimb.com/sap-tcodes/al08ERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.