Sub topic 1
Who needs access: business users and their identity
Prerequisites
This chapter assumes you know the following:
- Basic familiarity with SAP S/4HANA and the SAP Fiori launchpad.
- How users log on to an SAP system.
- What a business process such as procure-to-pay or order-to-cash involves.
You do not need to know PFCG or authorization objects yet. Later chapters cover them.
Why identity comes first
Every authorization in S/4HANA is granted to a user. Before you design roles, you need to know who the users are and what record represents them. A person who works in the system is a business user. The business user is the identity that roles are assigned to, and it is the identity that authority checks read at runtime.
A business user has two parts:
- A person record. This is a business partner of the type "person". It holds the name, address and the link to the employee.
- A user account. This is the logon record. It holds the user ID, the authentication method, the validity dates and the user type.
The role assignments are attached to the user account. The person record holds no authorizations of its own.
Business user versus technical user
Not every user is a person. The table shows the common cases.
| Kind | Used by | Typical user type |
|---|---|---|
| Dialog user | A person who logs on interactively | Dialog |
| Technical user | A job, interface or integration | System or Service |
| Business user | A person with a business partner record, who works in apps | Dialog |
Give a technical user only the authorizations its task needs. Do not reuse a dialog user for an interface. If you do, you cannot tell who changed data, and you cannot lock the account when the person leaves.
Creating and maintaining business users
You maintain business users in the Fiori app Maintain Business Users. In an on-premise system, classic user maintenance in SU01 also works for the logon data. The app lets you set the following:
- The personal data and the e-mail address.
- The user ID and the initial password or authentication method.
- The validity period, which limits when the user can log on.
- The assigned business roles. A later chapter covers this step in detail.
Use a naming convention for user IDs and keep one user per person. Shared accounts break traceability and often violate audit rules.
What the user's identity controls
At logon, the system loads the user's assigned roles and builds the authorization profile for that session. Two things then depend on those roles:
- What the user sees. The launchpad shows only the apps that the user's business roles make available.
- What the user may do. Each app runs authority checks against the authorization values in the user's roles.
A user with the right app but the wrong data authorization sees a tile that opens an empty list or an error. A user without the app sees no tile at all. These are two separate causes, and the later troubleshooting chapter separates them.
Common errors
- Role assigned, but the user sees nothing. The role may be assigned outside the validity period, or the user may not have logged on again after the change.
- Missing person record. A user without a linked business partner may not appear in apps that need the person's data.
- Users copied without review. Copying a user copies its role assignments. The new user then inherits access that nobody approved.
Exercise
A new employee has a user account with two business roles, but she cannot see a tile that her colleague sees. Name two places on the user record you would check before changing any role.
Show answer
Check the validity dates of the role assignments and of the user, and check whether the user has logged on again since the assignment. Also confirm that the assignment is on the correct user account and not on a duplicate.