Skip to content
Learn · SAP access risk

SAP user types: dialog, system, communication, service and reference

What each SAP user type can do, how password rules differ, and the user-type findings auditors raise most often.

Last reviewed · Rinexis SAP security team

Definition

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

User types as set in SU01 and stored in USR02-USTYP.
TypeCodeDialog logonPassword expiry and initial-password rulesIntended for
DialogAYesApplyOne named person working interactively in SAP GUI or the browser
SystemBNoDo not apply; only an administrator can change the passwordBackground processing and communication inside a system, such as ALE, workflow, TMS and CUA
CommunicationCNoApply; initial or expired passwords must be changed by an administrator or via RFC, as there is no dialog logonDialog-free communication with external systems over RFC
ServiceSYesDo not apply; only an administrator can change the passwordShared or anonymous access by many people, for example anonymous web services
ReferenceLNo (no logon at all)Not relevantA 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.

USR02 fields commonly read with the user type.
FieldContent
BNAMEUser name
USTYPUser type: A, B, C, S or L
CLASSUser group for authorization checks (checked through S_USER_GRP)
GLTGV / GLTGBValid from / valid to dates
UFLAGLock status (administrator lock, failed-logon lock and others)
TRDATLast logon date
PWDCHGDATEDate 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_RFC and 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_ALL or S_RFC with * give anyone who can reach the connection, or edit an RFC destination in SM59, 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, TMSADM and similar delivered users need locked or changed passwords and correct types in every client; report RSUSR003 checks the passwords of the standard users.

Checks auditors run on user types

  1. Extract all users from USR02 with USTYP, lock status, validity dates, last logon and last password change, or use report RSUSR200 (users by logon date and password change).
  2. 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.
  3. List System, Communication and Service users with their roles and check each against its documented purpose and owner. Flag SAP_ALL, SAP_NEW, broad S_RFC and user-administration access.
  4. Check Dialog users with no logon for a long period, and technical users whose password has never changed, against your policy.
  5. Review change documents for user-type changes in the period and match each to an approved request.
  6. 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.

How Rinexis handles this

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.

See your own SAP access risk, not a textbook example

Talk to an SAP security specialist about your roles, ruleset and audit timeline, or explore the platform modules that analyse and fix access risk.