Sub topic 7
Business roles: combining catalogs and authorizations
This chapter assumes you know what an authorization object, field, and activity are, and that a PFCG role generates an authorization profile. It also assumes you know what a business catalog contains. If any of that is unclear, review the earlier chapters on those topics first. Here we look at how a business role joins the launchpad content with the data authorizations.
What a business role is
A business role is the object that gives a business user a job. It answers two questions for that user:
- Which apps may the user see and start?
- Inside those apps, which data and actions are allowed?
The role does not answer them directly. It references business catalogs, and the catalogs carry the apps. The authorization values that belong to those apps travel with the role. Assigning one role to a user therefore grants launchpad access and data authorizations together.
The terms differ a little by edition:
| Aspect | SAP S/4HANA Cloud (public edition) | SAP S/4HANA on premise and private cloud |
|---|---|---|
| Where you maintain roles | Maintain Business Roles app | Transaction PFCG, with launchpad content added to the role |
| What a role contains | Business catalogs, spaces, restrictions, assigned users | Menu entries for catalogs and spaces, authorization data, user assignment |
| Where authorization values come from | Defaults delivered with the catalogs, limited by restrictions | SU24 defaults of the apps, merged into the role and edited in PFCG |
| Typical delivered names | SAP_BR_AP_ACCOUNTANT | SAP_BR_AP_ACCOUNTANT as a template to copy |
The working model is the same in both. Role, catalogs, and authorizations are three layers, and the role is the layer that ties them together.
The anatomy of a role
A role has four parts.
- Business catalogs. Each catalog groups the apps for one task area, for example accounts payable payment processing. A role can reference many catalogs.
- Authorizations. These are the authorization objects with field values that the apps need. They come from the apps' defaults and are written into the role's profile.
- Spaces. Spaces and pages arrange the apps on the launchpad. They affect how apps are presented. They do not grant authorization. A later chapter covers them.
- Users. The role is assigned to business users, who inherit everything above.
Two layers of access
A user needs both layers to work in an app. This is the most useful fact for debugging.
Layer 1: launchpad access. The catalog assignment decides whether the app's tile and target mapping appear for the user. Without it, the user cannot find the app. A user who guesses the URL can still be blocked, because the launchpad also checks the catalog assignment when the app starts.
Layer 2: data authorization. Once the app starts, the backend service and the application code run authority checks. If the role lacks the needed authorization object values, the app opens but shows no data, shows an error, or hides actions.
The two layers fail differently:
| Symptom | Likely layer | First place to look |
|---|---|---|
| The tile is missing from the launchpad | Layer 1 | Catalog assignment in the role, space assignment |
| The tile appears, but the app reports no authorization | Layer 2 | SU53 for the user, then the trace |
| The app opens with an empty list | Layer 2 or restrictions | Organizational values and restrictions |
| The user can display but not change | Layer 2 | Activity values (ACTVT) |
How the authorization values get into the role
The role does not invent authorization values. The following chain produces them:
- Each app in a catalog has default authorization data. On premise, this is maintained in SU24 as proposals for the app's services and transactions. In the cloud, SAP delivers the equivalent with the catalog.
- When you add a catalog to a role, the system collects the proposals for all its apps.
- The collected values become the role's authorization data. On premise, you review them in PFCG on the Authorizations tab. Fields such as company code or sales organization are often left open, and you must fill them.
- Generating the role creates the authorization profile, which is what the runtime checks.
Because the values come from the apps, the role stays consistent with the catalogs. If you add an app, its authorization needs arrive with it. If you remove a catalog, the matching proposals are no longer added the next time you merge them.
Authorizations add up
Authorizations from several catalogs in one role are combined by union, and so are the authorizations of several roles assigned to one user. The system checks whether any of the user's authorizations satisfies the request. There is no deny rule. This has two consequences:
- Adding a catalog can only widen what a user may do.
- Narrowing access means removing the grant from the role or limiting its field values, not adding a counter-rule.
Granularity of roles and catalogs
A role should describe one job function, and a catalog should describe one task area. This is why SAP delivers many small catalogs and composes them into roles such as accounts payable accountant or sales manager.
Practical rules:
- Reuse catalogs across roles. The same catalog can appear in several roles, so a task area is defined once.
- Keep roles job-shaped, not person-shaped. Do not create one role per employee. Roles tied to individuals multiply and cannot be audited.
- Separate display from change when risks differ. A display-only catalog in a broad role and a change catalog in a narrower role is easier to govern than one catalog that mixes both.
- Avoid giant catch-all roles. A role that bundles unrelated job functions gives every holder the combined access.
Role types you will meet
- SAP-delivered business roles. They follow the naming pattern SAPBR<JOB>. They are templates, and you should copy them rather than change them. Starting from templates gets its own chapter.
- Custom roles. These are copies you own, normally in the customer namespace starting with Z or Y. You can change their catalogs, restrictions, and spaces.
- Technical or administrative roles. These cover tasks such as configuring the system. Keep them separate from business roles so that business users do not get administrative access by accident.
Reading a role in practice
When you open a role to analyze it, work from the top down:
- Note the catalogs. They tell you which apps the role can open.
- Open the authorization data and find fields still open or set to full authorization. These are the first candidates for restriction by organizational values.
- Compare the apps in the catalogs with the objects in the profile. An app without the matching object, or an object nobody uses, signals drift.
- Check which spaces reference the role, so users see the apps in a sensible place.
- Check the users assigned, including validity dates.
Common errors
- Assuming the catalog grants data access. It does not. A catalog opens the door and the authorization data lets the user work inside.
- Assuming the space grants access. A space only arranges tiles that the user already has through catalogs.
- Editing the delivered role. SAP updates can overwrite your changes. Work on a copy.
- Leaving fields open. Company code or plant left as an asterisk gives access to every organizational unit, which is rarely intended.
- Forgetting to regenerate. A changed role has no effect on the user until the profile is generated and the user comparison has run.
- Mixing risky functions in one role. A role that lets a user create a vendor and also pay that vendor creates a segregation of duties conflict. A later chapter covers this topic.
Summary
A business role combines business catalogs with authorization values. The catalogs decide which apps a user can reach, and the authorization data decides what the user may do inside them. The values originate in the apps' defaults, are merged into the role, and are narrowed by restrictions. Users receive both layers by assignment.
Exercise
A user is assigned a business role that contains the catalog for supplier invoice processing. The tile appears on the launchpad, but the app shows an authorization error when it opens. Which layer has failed, and where do you look first?
Show answer
Launchpad access works, because the tile is visible, so the failure is in the data authorization layer. Check SU53 for the user right after the error to see which authorization object and field values were missing. Then verify that the role's authorization data contains that object with suitable values, and that the profile was regenerated after the catalog was added.
Exercise
Why does adding a second catalog to a role never remove any access the user already had?
Show answer
Authorizations combine by union. The system grants access if any authorization of the user satisfies the check, and there is no deny rule. A second catalog can only add apps and authorization proposals. To reduce access, remove the catalog or narrow the field values.