Last reviewed · Rinexis SAP security team
SAP user types define how a user account can log on and which password rules apply to it. Set in SU01 on the Logon Data tab and stored in USR02-USTYP, the five types are Dialog (A), System (B), Communication (C), Service (S) and Reference (L). Choosing the right type limits how technical and personal accounts can be misused.
The five SAP user types
| Type | Code | Dialog logon | Password expiry and initial-password rules | Intended for |
|---|---|---|---|---|
| Dialog | A | Yes | Apply | One named person working interactively in SAP GUI or the browser |
| System | B | No | Do not apply; only an administrator can change the password | Background processing and communication inside a system, such as ALE, workflow, TMS and CUA |
| Communication | C | No | Apply; initial or expired passwords must be changed by an administrator or via RFC, as there is no dialog logon | Dialog-free communication with external systems over RFC |
| Service | S | Yes | Do not apply; only an administrator can change the password | Shared or anonymous access by many people, for example anonymous web services |
| Reference | L | No (no logon at all) | Not relevant | A template of authorizations attached to other users |
Dialog users are also subject to the multiple-logon check (profile parameter login/disable_multi_gui_login), which stops several people sharing one dialog account at the same time. System and Service users may log on multiple times. User type is not the same as the contractual user classification on the SU01 License Data tab, which drives licence measurement.
Where the user type is set and stored
Administrators set the type in SU01 on the Logon Data tab, or for many users at once in SU10. The value is stored in field USTYP of table USR02, alongside the other logon data auditors need.
| Field | Content |
|---|---|
BNAME | User name |
USTYP | User type: A, B, C, S or L |
CLASS | User group for authorization checks (checked through S_USER_GRP) |
GLTGV / GLTGB | Valid from / valid to dates |
UFLAG | Lock status (administrator lock, failed-logon lock and others) |
TRDAT | Last logon date |
PWDCHGDATE | Date of the last password change |
Changes to user type are recorded in the user change documents, so you can see when a type was changed, by whom and back again. Read them through the change-document reports in SUIM.
System user vs communication user
Both are technical, both are blocked from dialog logon, and both are used in RFC destinations, so they are often confused. The difference is where the caller lives and how the password is managed.
- Use a System user for processes that run inside the SAP landscape: background job steps, workflow, ALE between your own systems, transport management. Because password expiry does not apply, an interface does not break when a password ages.
- Use a Communication user for an external system that calls SAP over RFC. Password rules apply, so plan who rotates the password and how the calling system is updated.
- Neither type can be used to log on through SAP GUI, which removes a major misuse path compared with putting a dialog user in an interface.
- Neither type limits what the user can do once connected. That is controlled entirely by its roles, especially
S_RFCand the business objects it calls. See authorization objects.
Reference users
A Reference user cannot log on. It exists only to carry roles that are passed on to other users: when you enter a reference user in another user's master record, that user receives the reference user's authorizations in addition to their own. The assignment is made in SU01 in the reference user field for additional rights, and is stored in table USREFUS.
Reference users are useful for giving many identical users the same baseline, for example internet users. The risk is visibility: the inherited access does not appear as a role assignment on the receiving user, so a review based only on AGR_USERS misses it. Include reference-user assignments in every user access review and SoD analysis.
Security risks by user type
- Dialog users used for interfaces. The password is stored in an RFC destination or a script, rarely changed, and anyone who knows it can log on interactively with the interface's access.
- Technical users with broad access. System and Communication users holding
SAP_ALLorS_RFCwith*give anyone who can reach the connection, or edit an RFC destination inSM59, the same access. - Service users with real authorizations. A Service user is shared by design, so actions cannot be traced to a person. Keep its access to the minimum the anonymous function needs.
- Type switching. Changing a System or Communication user to Dialog for a quick logon, then back, is a recognised way to use a technical user's access unseen. Change documents and the Security Audit Log are the evidence.
- Standard users.
SAP*,DDIC,TMSADMand similar delivered users need locked or changed passwords and correct types in every client; reportRSUSR003checks the passwords of the standard users.
Checks auditors run on user types
- Extract all users from
USR02withUSTYP, lock status, validity dates, last logon and last password change, or use reportRSUSR200(users by logon date and password change). - List every Dialog user that is not linked to a named person and ask what it is for. Generic dialog accounts are a common finding.
- List System, Communication and Service users with their roles and check each against its documented purpose and owner. Flag
SAP_ALL,SAP_NEW, broadS_RFCand user-administration access. - Check Dialog users with no logon for a long period, and technical users whose password has never changed, against your policy.
- Review change documents for user-type changes in the period and match each to an approved request.
- Confirm reference-user assignments and include the inherited access in SoD results.
These checks are part of the access-management controls in an ITGC audit. Auditors usually expect a documented owner and purpose for every non-dialog user.
Frequently asked questions
What is the difference between a system user and a communication user in SAP?
Both are technical users that cannot log on through SAP GUI. A System user (type B) is meant for processes inside the system, such as background jobs, workflow and ALE, and is exempt from password expiry. A Communication user (type C) is meant for external RFC callers, and normal password validity rules apply.
Where is the SAP user type stored?
The user type is stored in field USTYP of table USR02, with the values A (Dialog), B (System), C (Communication), S (Service) and L (Reference). Administrators maintain it in transaction SU01 on the Logon Data tab, or for many users at once in SU10.
Can a system user log on to SAP GUI?
No. System and Communication users cannot perform a dialog logon through SAP GUI. They can still be used for RFC connections and background processing, so their authorizations matter just as much as those of a dialog user.
What is a service user in SAP?
A Service user (type S) is a dialog-capable account intended to be shared by many people, typically for anonymous access to a web application. Password expiry does not apply and multiple logons are allowed, so it should hold only the minimum authorizations the anonymous function needs.
What is a reference user in SAP?
A Reference user (type L) cannot log on. It holds roles that are passed to other users who reference it, giving them additional authorizations. Because the inherited access does not show as a role assignment on the receiving user, it must be included explicitly in access reviews.
Our user access review and audit readiness services cover every user type, including technical users that have no manager and reference-user assignments that role-based reports miss. In ITGC Audit Control, user-administration controls are scoped, tested against PBC evidence and written up as five-element findings in a versioned report.
Sodly matches each user's assigned transactions and authorizations against your ruleset, so technical users with SoD conflicts or broad access surface alongside named users.