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
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
- How many people can do both today, and who are they?
- For each of them, is there a business reason and a named person who approved it?
- Which of the controls below are actually operating, and can we see evidence from the last three months?
- 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.
Technical detail for SAP security and IT audit
Maintain Users
Creating users, resetting passwords, unlocking accounts and assigning roles.
Typical transactions
| Transaction | What it does |
|---|---|
| SU01 | User maintenance |
| SU10 | User mass maintenance |
| SU12 | Mass changes to user master records |
Authorization objects to check
| Object | Controls |
|---|---|
| S_USER_GRP | User master maintenance: user groups |
| S_USER_AGR | Roles (activity 22 to assign) |
| S_USER_PRO | Authorization profiles (activity 22 to assign) |
Maintain Roles and Authorizations
Building and changing roles, their authorization values and the generated profiles.
Typical transactions
| Transaction | What it does |
|---|---|
| PFCG | Role maintenance |
| SU24 | Maintain authorization default values |
| SUPC | Mass generation of profiles |
Authorization objects to check
| Object | Controls |
|---|---|
| S_USER_AGR | Roles (activities 01 and 02) |
| S_USER_TCD | Transactions in roles |
| S_USER_VAL | Field values in roles |
| S_USER_AUT | User master maintenance: authorizations |
| S_USER_PRO | Authorization 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
| Table | Contents |
|---|---|
| USR02 | User logon data |
| AGR_USERS | Role assignments to users |
| UST04 | User to profile assignment |
| AGR_DEFINE | Role definition |
| AGR_1251 | Authorization data for roles |
| AGR_TCODES | Transactions 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
- Maintain Users vs Configure the Security Audit Log Conflict High risk
- Maintain Users vs Process Vendor Payments Conflict High risk
Loading comments…