Sub topic 3
Roles and Authorizations for Key Users
This chapter assumes you can navigate the SAP Fiori launchpad and know basic S/4HANA objects such as sales orders and products. You don't need ABAP skills yet. Here you learn which roles a key user needs, how those roles differ from developer access, and how to diagnose missing authorizations.
Who is a key user?
A key user is a business user who extends the system through guided apps in the Fiori launchpad. A key user does not use ABAP Development Tools or the SAP GUI development workbench. The extensions are created in the application, checked by the system, and kept upgrade-stable.
Because key user tools can change what every user sees, access is controlled by authorizations. An authorization is a permission stored in a role, and a role is a bundle of permissions assigned to a user. Without the right role, the extensibility apps do not appear on the launchpad or they fail when you open them.
The roles you need
SAP delivers business catalogs and business roles for key user extensibility. Exact names can differ between releases, so check the roles in your own system with the Maintain Business Roles app. The pattern is stable:
| Item | Purpose |
|---|---|
| Business catalog for extensibility | Gives access to the Custom Fields and Logic app and related apps |
| Business role for the extensibility specialist | Groups the catalogs into a role you assign to a person |
| Business role for the administrator | Assigns roles to users and maintains access |
| Transport authorization | Lets the key user collect extensions in a transport request |
A common approach is to copy the delivered business role, keep the extensibility catalogs, and remove what the person doesn't need. Copying keeps SAP's original role untouched, so later updates from SAP do not overwrite your changes.
Authorization checks at work
Two layers of checks apply when a key user works.
- Access to the app. The business catalog must be part of the user's role. If it is missing, the tile is not shown.
- Access to the action. The role must allow the action, such as creating, publishing or deleting. Without it, the app opens but the action is rejected.
The data layer adds a third rule. Custom logic written by a key user can read data only through released objects, so the key user role does not open general table access. The released-objects chapter covers this restriction.
Assigning the roles: a worked sequence
An administrator typically does the following:
- Open the Maintain Business Roles app and copy the delivered extensibility role to a customer name.
- Review the assigned business catalogs and remove any that the person doesn't need.
- Open the Maintain Business Users app and assign the new role to the key user.
- Ask the user to log off and on again so the launchpad reloads its content.
- Confirm that the Custom Fields and Logic tile appears.
Common errors
- The tile is missing. The catalog is not in any assigned role, or the user did not log on again after the assignment.
- The app opens but publishing fails. The role lacks the action authorization, or the user is working in a business context they cannot access.
- Transport request cannot be selected. The user lacks the transport authorization, or the system is not set up to record extensions in a transport.
- A colleague sees the field but cannot use it. Publishing a field does not grant access to the business data it relates to. Standard application roles still control who can open the app.
Check your role design
Review these points before you assign a role to a key user:
- The role comes from a copy of the delivered role, not from an edited original.
- It contains only the catalogs the person needs.
- The person is trained and named, not a shared user.
- The transport authorization matches the system landscape.
Exercise
A key user reports that the Custom Fields and Logic tile does not appear on the launchpad, even though the administrator assigned a new business role an hour ago. List two causes you would check first.
Show answer
First, check that the assigned business role contains the business catalog for extensibility, because without it the tile is never shown. Second, check whether the user logged off and on again after the assignment, because the launchpad content is loaded at logon. You can also check that the role is assigned to the correct user and has not expired.