PFCG: Role Maintenance
PFCG is the SAP Profile Generator, the transaction for building and maintaining roles: their menus and transactions, authorization values, organisational levels and generated profiles. From PFCG an administrator can also assign roles to users, so it controls both what a role can do and, often, who receives it.
Authorization objects checked by PFCG
- S_TCODE
- Checked when the transaction starts: the user must hold the transaction code.
- S_USER_AGR
- Role maintenance, checked against the role name and activity.
- S_USER_TCD
- Which transactions the administrator may put into roles.
- S_USER_VAL
- Which authorization field values the administrator may maintain in roles.
- S_USER_PRO
- Generating the profile behind a role.
Checks vary by release and by the functions used. Confirm them in your system with SU24 and an authorization trace (STAUTHTRACE or ST01).
Why PFCG is sensitive
Role maintenance decides what every user in the system can do. An administrator who can change a role's authorization values can quietly widen access for everyone assigned to it, for example by setting a company code field to '*'.
S_USER_TCD and S_USER_VAL exist so role administrators can be limited to the transactions and values of their own area. Where they are granted with '*', a role administrator can build any role, including one that contains the critical basis and security transactions in this library.
Role administration in production is usually a critical action in its own right.
SoD conflicts involving PFCG
Build roles and assign them to users: one person controls both what access exists and who receives it.
Pairings reflect the combinations found in typical SAP SoD rulesets. A real conflict also depends on matching authorization values, such as the same company code.
PFCG FAQ
What is transaction PFCG in SAP?
PFCG is the SAP Profile Generator, the transaction for building and maintaining roles: their menus and transactions, authorization values, organisational levels and generated profiles. From PFCG an administrator can also assign roles to users, so it controls both what a role can do and, often, who receives it.
Which authorization objects does PFCG check?
Starting PFCG requires S_TCODE with value PFCG. Inside the transaction, the key objects are S_USER_AGR, S_USER_TCD, S_USER_VAL, S_USER_PRO. The exact checks depend on the functions used and the release, so confirm them with an authorization trace (STAUTHTRACE or ST01) in your own system.
Is PFCG a sensitive transaction?
Rinexis rates PFCG as critical risk in a production system. Role maintenance decides what every user in the system can do. An administrator who can change a role's authorization values can quietly widen access for everyone assigned to it, for example by setting a company code field to '*'.
Which segregation-of-duties conflicts involve PFCG?
PFCG with SU01 / SU10: Build roles and assign them to users: one person controls both what access exists and who receives it.
Related transactions
- SU01CriticalUser Maintenance
- SU24HighMaintain Authorization Defaults
- SU25HighUpgrade Tool for Profile Generator
- SUIMMediumUser Information System
- SE93HighMaintain Transaction Codes