Sub topic 14
SAP Fiori as the user interface layer
SAP Fiori is the user interface layer of S/4HANA. It replaces the older SAP GUI screens as the main way business users reach Finance, Procurement, Sales, and the other modules. This chapter assumes you know the module landscape from earlier chapters and understand basic web concepts such as browsers and HTTP.
What Fiori is
Fiori is a set of design rules plus the technology that implements them. Users see role-based apps in a browser, on a desktop, tablet, or phone. Each app covers one task, such as approving a purchase requisition or displaying a sales order. The apps do not hold their own data. They call back-end services in the S/4HANA core, so the same Finance, Procurement, and Sales data sits behind every screen.
The main building blocks
- Fiori launchpad is the entry point. It shows tiles (links to apps) grouped by what a role needs.
- Apps are the individual tasks. Many are built from SAP Fiori elements, which generate standard screens from metadata.
- OData services are the interface between an app and the back end. The app sends HTTP requests and receives data as JSON.
- CDS views define the data model that those services expose. The Embedded analytics chapter covers them in detail.
Roles, catalogs, and spaces
Users do not choose which tiles they see. Administrators control it with roles.
- A business catalog groups apps and their authorizations for one kind of work.
- A business role combines catalogs for a job, such as accounts payable clerk.
- Spaces and pages organize the launchpad for a role. A buyer might see one page for purchase orders and another for supplier follow-up.
Because a role also carries authorizations, a tile can be on screen while the user still cannot run the action behind it. Both the app assignment and the authorization have to be correct.
App types
| App type | Typical use | Example |
|---|---|---|
| Transactional | Create or change a document | Create purchase order |
| Analytical | Read key figures and drill down | Display G/L account balances |
| Fact sheet | Show one object and its related objects | Sales order overview |
| List report | Search, filter, and act on many records | Manage sales orders |
How a request flows
Common errors
- Tile missing. The business role or catalog is not assigned to the user, or the app is in a catalog that no role includes.
- Tile visible but the app fails. The OData service is not activated, or the user lacks the authorization for the service or the underlying business object.
- Stale launchpad after a change. The launchpad caches content, so clear the cache before assuming the setup is wrong.
- Expecting SAP GUI behavior. Some transactions have no Fiori app. Users can start these through a SAP GUI for HTML tile, and this is a stopgap rather than a target design.
Fiori and the clean core
Fiori apps call released interfaces instead of changing standard code. This is why UI changes, such as extra fields and custom apps, fit the clean core approach covered in the extensibility chapter. In the public cloud edition, Fiori is the only user interface. Private Edition and on-premise systems can still use SAP GUI alongside it.
Exercise
A user has the buyer role and sees the "Manage Purchase Orders" tile. Opening it shows an error that data cannot be loaded. Name two likely causes and where you would check each.
Show answer
First, the OData service behind the app may not be activated, so check the service activation in the front-end server. Second, the user may lack the authorization for the service or the purchasing objects, so check the authorization assignment in the business role. The tile appears because the role includes the app, but the service and the authorizations are separate settings.