Before you can start to implement the app, ensure that your system landscape has been set up to enable SAP Fiori. This also implies that the front-end and back-end components for your app are already available in this system landscape:
SAP Fiori System Landscape Options | See |
Configuration of Front-End Server | See |
SAP HANA Content Included in |
|
Front-End Component | SAP Fiori for SAP Customer Activity Repository retail applications bundle 1.0 |
Back-End Component | SAP Customer Activity Repository retail applications bundle 1.0 |
Virtual Data Model |
|
Ensure that the front-end component of the app is in place on your front-end server. It is automatically installed with the UI add-on.
Front-End Server: Front-End Component of App (Software Component) |
|
For more information about the installation of front-end components, see
.The Gross Margin
analytical app uses a KPI tile to launch the app.
This KPI requires an evaluation that specifies one or more input parameters. For more information see Configuration Settings: Gross Margin.
The following sections list tasks that have to be performed to implement the app. The tables contain the app-specific data required for these tasks.
You can find the data required to perform these tasks in the SAP Fiori apps reference library at https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/index.html?appId=F0808.
SAP HANA Role | Needed for ... |
---|---|
| Read access to KPI data (views and XS OData services) |
As a prerequisite for read-access to KPI definition, ensure you have assigned the generic role Smart Business Runtime Role (sap.hba.r.sb.core.roles::SAP_SMART_BUSINESS_RUNTIME)
for read-access to KPI definition to all users or roles.
Note
The SAP HANA roles listed in the above table already extend this runtime role.
As a prerequisite for KPI modeling, ensure you have assigned the generic role Smart Business Administration Role (sap.hba.r.sb.core.roles::SAP_SMART_BUSINESS_MODELER)
to specific key users such as an administrator.
This role is only required for users responsible for modeling KPIs.
For more information about SAP HANA roles, see
.Needed for ... | How to generate? |
---|---|
Access to KPI data (only views) | Generated by Authorization Assistant. For more information, see . |
Access to KPI definition in KPI catalog | Generated by KPI Modeler. For more information, see . |
sap.hba.t.rtl.car.mcsa.v/GrossMarginCurPerdQuery
sap.hba.t.rtl.car.mcsa.v/GrossMarginHdrQuery
sap.hba.t.rtl.car.mcsa.v/GrossMarginQuery
UI5 Application | Technical Name |
---|---|
Application-Specific Drill-Down Application |
|
There are several steps to be performed to enable the app for access in the SAP Fiori launchpad. You need to assign the following PFCG roles to end users to consume this KPI:
Component | Technical Name |
---|---|
Business Role (Needed for Access to KPI Catalog and Generic Drill-Down Application) |
|
Application-Specific Business Role |
|
For more information about adding an app to the SAP Fiori Launchpad, see
To grant specific users access to OData services, you have to assign roles (including OData service authorization for the app) to your users. You have to make the assignment on the back-end server and on the front-end server:
On the back-end server, a dedicated authorization role (PFCG role) for the OData service is delivered as an example. You can copy this role and adjust it to your needs.
On the front-end server, you must assign the OData service authorization to a new or existing role, such as a business role that has been adjusted according to your needs.
OData Service (Version Number) | Back-end Server: Delivered Authorization Role (PFCG Role) | Front-End Server: Authorization Role |
---|---|---|
|
| Use an existing role or create a new one. |
For more information about authorization roles and assigned OData services, see
.