Sub topic 1
Business Roles, Business Catalogs, and Authorizations in SAP S/4HANA
Prerequisites
Assume you know the basics of SAP S/4HANA, the SAP Fiori launchpad, users, and an ERP process such as order-to-cash.
Who needs access: business users and their identity
A business user is a person who signs in to SAP to perform assigned work. The user identity connects the person to roles, authorizations, and organizational values such as company code or sales organization.
Identity alone does not grant business access. Access comes from roles assigned to the user. A role can determine which apps the user can launch and which data or actions those apps permit.
Authorization objects, fields and activities
An authorization object is a group of fields that controls one type of protected operation. Fields describe the scope, such as company code. An activity describes the operation, such as display (03) or change (02).
For example, F_BKPF_BUK controls access to accounting documents by company code:
AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'
ID 'BUKRS' FIELD lv_company_code
ID 'ACTVT' FIELD '03'.
IF sy-subrc <> 0.
MESSAGE e000(00) WITH 'No authorization for company code' lv_company_code.
ENDIF.The check succeeds only when the user’s assigned authorizations contain matching values.
PFCG roles and how profiles are generated
PFCG is the transaction used to maintain traditional SAP roles. A role contains authorization data, including authorization objects and their field values. When you generate the role, SAP creates an authorization profile. The user receives the profile through the role assignment.
The basic flow is:
What the launchpad shows: apps, tiles and target mappings
An app is the executable business function. A tile is the visual entry shown on the launchpad. A target mapping connects a launchpad intent, such as an object and action, to the application.
These objects control navigation and visibility. Runtime authorization checks still control what the user can do after the app opens.
Business catalogs: grouping apps for a job function
A business catalog groups related launchpad apps for a job function, such as accounts payable clerk. It supplies app content, including tiles and target mappings, but it is not itself a complete user role. A business role combines catalogs with authorization data and is then assigned to users.
Exercise
A user sees an app tile but receives an authorization error when displaying a company code. Which layer should you inspect first?
Show answer
Inspect the role’s authorization object and organizational values, then use SU53 or the system trace to identify the failed check.