Basis and Security · SAP segregation of duties

Is Maintain Users vs Maintain Roles and Authorizations a segregation of duties conflict?

Yes, it is a conflict High risk

Yes. Rated high. It is the first thing IT auditors test.

Jump to: Summary for audit and managementTechnical detail for SAP securityComments

In plain terms

One person canMaintain UsersCreating users, resetting passwords, unlocking accounts and assigning roles.
and the same person canMaintain Roles and AuthorizationsBuilding and changing roles, their authorization values and the generated profiles.

These two jobs should be held by different people. When one person holds both, nobody else has to be involved for something to go wrong, and nobody else is placed to notice.

What could go wrong

An administrator builds or changes a role with whatever access they want and assigns it to themselves or to a second user they control.

What "high risk" means here

One person could cause a direct financial loss or a misstatement on their own, without anyone else being involved. Expect auditors to report it and to ask for it to be removed or tightly controlled.

Questions to ask your SAP security team

  1. How many people can do both today, and who are they?
  2. For each of them, is there a business reason and a named person who approved it?
  3. Which of the controls below are actually operating, and can we see evidence from the last three months?
  4. Has anyone used both sides on the same item? Having the access is a risk; using it on the same record is an event to look into.

Controls that reduce the risk

If the two jobs cannot be given to different people, these are the checks that make the combination acceptable.

  • User administration (assignment) separated from role administration (build).
  • Role changes moved by transport from development, with production closed for PFCG changes.
  • Review of role assignments made by administrators to their own or generic users (change documents in SUIM).
Terms used on this page
Segregation of duties (SoD)
Splitting a process between people so that no single person can both carry out and conceal an error or fraud.
Function
A job someone does in the system, such as paying vendors. Technically it is a group of transactions that achieve the same thing.
Conflict
Two functions that should not be held by the same person.
Transaction code
The short code a user types to open a screen in SAP, for example FK02 to change a vendor. Often shortened to t-code.
Authorization object
The permission SAP checks inside a transaction. It decides what the user may do there and for which part of the organisation, for example which company codes.
Role
A bundle of transactions and authorizations given to a user. People normally hold several roles.
Ruleset
The list of conflicts an organisation has decided to test for, usually loaded into an access control tool.
Mitigating control
A check that reduces the risk when a conflict cannot be removed, such as an independent review of a change report.

Full glossary

Technical detail for SAP security and IT audit

Maintain Users

Creating users, resetting passwords, unlocking accounts and assigning roles.

Typical transactions

TransactionWhat it does
SU01User maintenance
SU10User mass maintenance
SU12Mass changes to user master records

Authorization objects to check

ObjectControls
S_USER_GRPUser master maintenance: user groups
S_USER_AGRRoles (activity 22 to assign)
S_USER_PROAuthorization profiles (activity 22 to assign)

Maintain Roles and Authorizations

Building and changing roles, their authorization values and the generated profiles.

Typical transactions

TransactionWhat it does
PFCGRole maintenance
SU24Maintain authorization default values
SUPCMass generation of profiles

Authorization objects to check

ObjectControls
S_USER_AGRRoles (activities 01 and 02)
S_USER_TCDTransactions in roles
S_USER_VALField values in roles
S_USER_AUTUser master maintenance: authorizations
S_USER_PROAuthorization profiles

A user is in conflict when they hold at least one transaction from each side together with the authorization objects at create or change level (activity 01 or 02, or the posting activity) for the same organisational scope. Transaction codes alone give false positives.

In S/4HANA

  • Maintain Users: SU01 remains. In S/4HANA Cloud and many Fiori-first setups, users are maintained through Maintain Business Users.
  • Maintain Roles and Authorizations: PFCG remains. Fiori catalogs and groups or spaces are assigned through the role menu, so catalog maintenance (/UI2/FLPD_CUST and the Launchpad Content Manager) is part of the function.

Tables for testing it from the data

TableContents
USR02User logon data
AGR_USERSRole assignments to users
UST04User to profile assignment
AGR_DEFINERole definition
AGR_1251Authorization data for roles
AGR_TCODESTransactions in roles

Practitioner notes

The cleaner split is three-way: one person builds roles, another assigns them, and S_USER_GRP stops both from changing administrator accounts.

Activity 22 on S_USER_AGR and S_USER_PRO is the assignment right. A role builder with 01 and 02 but not 22, plus no SU01 change access, is not in conflict.

Small teams where one person does both should compensate with an independent review of SUIM change documents, not with a promise.

Related combinations

Comments

Seen it handled differently, or disagree with the rating? Say so. No account needed. Comments are public, so leave out client names and anything confidential.

Loading comments…