New to SAP Security & GRC? Start with the module overview
S_USER_AGR — Authorizing Who Can Assign Roles to Users
Quick answer
S_USER_AGR controls the act of assigning, changing or removing a role (activity group) on a user master record, typically inside PFCG's user assignment tab or SU01/SU10. It checks the role name against field AGR_NAME and the action against ACTVT (22 for assign). It says nothing about what the role itself contains — that is governed by separate objects.
S_USER_AGR is the authorization object that governs who is allowed to put a given role onto a user, as distinct from who is allowed to build or generate that role. This page covers its fields, where the check fires, how to read a failed trace, and the naming-convention traps that make an apparently correct role assignment authorization fail in practice.
Reviewed by an ERPClimb SAP consultant on 16 Sept 2026· 879 words
What it protects
S_USER_AGR guards the assignment of a role (the object still carries the old term AGR, activity group, from the pre-PFCG naming) to a user master record. It is checked whenever an administrator adds, removes or changes a role on a user's assignment tab, whether through PFCG, SU01, or a mass action like SU10.
The single fact that explains most confusion: this object controls the assignment action only, not the content of the role.
An administrator can be fully authorized to assign a role and still have no authorization to do anything the role itself grants, and conversely can be authorized to build and generate a role in PFCG yet be blocked from ever putting it on a user because S_USER_AGR is missing or scoped too narrowly.
Fields checked
- ACTVT - the action being performed on the assignment: 01 create, 02 change, 06 delete, 22 assign are the values that matter in practice, with 22 being the one PFCG actually fires when a role is added to a user on the assignment tab
- AGR_NAME - the technical name of the role being assigned; this is where naming convention design lives, since security typically grants ranges like ZFI_* or Z_HR* rather than individual role names
Where it is checked
The check fires in PFCG on the user assignment tab the moment a role is added to or removed from the list and the change is saved, and again if the assignment is pushed through user comparison. SU01 and SU01D check it when a role is entered directly on the roles tab of a user master record.
SU10 mass maintenance checks it once per role per selected user when doing bulk assignment or removal. It also fires inside custom or delivered mass-assignment reports and inside CUA (central user administration) when role assignments are distributed to child systems, since the assigning action still runs locally before distribution.
It is not checked when a role is merely built, changed structurally, or generated in PFCG — that path runs through the role maintenance authorization objects, not this one.
How to trace a failed check
Start with SU53 run immediately after the failed assignment attempt, while the session is still open, since SU53 only shows the most recent failed check.
Confirm the object is S_USER_AGR and read off the AGR_NAME and ACTVT values SAP actually requested — the role name is usually the fastest clue, since it reveals whether the failure is a genuine authorization gap or a naming-convention mismatch.
If SU53 is empty or ambiguous, ask security to run the authorization trace (ST01 or the newer STAUTHTRACE) scoped to the user and the time window of the attempt; this catches cases where the failure happened in a background step or batch job rather than the interactive dialog.
Hand security three things: the user ID that attempted the assignment, the exact role name(s) that failed, and whether the action was assign, change or delete. Do not hand over a screenshot of PFCG with no SU53 output — it tells security nothing about which field value was rejected.
Whose problem this is
This is a security team problem, not a functional one, since S_USER_AGR sits entirely inside the user administration authorization concept and has no business-process content. A functional consultant's job stops at identifying the failing role name and the action attempted from SU53 and passing that to security along with the requesting user's ID.
Common pitfalls
- Role naming convention drift is the most common cause: an administrator's S_USER_AGR authorization is scoped to a value range like ZFI_* but the role being assigned is named FIN_ZFI_CLERK or otherwise falls outside the pattern, so the assignment fails even though everything else about the setup looks correct
- Confusing S_USER_AGR with S_USER_PRO: the former governs role assignment, the latter governs profile assignment; a user blocked from assigning a role can still successfully assign a profile if S_USER_PRO is open, which misleads people into thinking the authorization concept is broken rather than object-specific
- Assuming that because an administrator can build and generate a role in PFCG, they can also assign it — role maintenance authorizations and role assignment authorizations are separate objects and are frequently granted to different tiers of admin
- Reflexively widening AGR_NAME to a broad wildcard or to SU01 full access to make an assignment error disappear, which quietly grants that administrator the ability to assign any role in the system including privileged ones, turning a scoping fix into a segregation-of-duties violation
- Ignoring that mass assignment through SU10 checks the object once per role per user, so a batch job that partially succeeds is not a system fault — it is S_USER_AGR blocking specific role-user combinations while allowing others
Related SAP objects
Reviewed pages this object connects to in the ERPClimb knowledge graph.
Source: ERPClimb — https://erpclimb.com/sap-auth-objects/s-user-agrERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.