Show TOC

 App Implementation: Number of Transactions

System Landscape Requirements

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 Start of the navigation path help.sap.com/fioriInformation published on non-SAP site Next navigation step System Landscape Required for SAP Fiori Next navigation step System Landscape Next navigation step Setup of System Landscape with SAP HANA XS End of the navigation path

Configuration of Front-End Server

See Start of the navigation path help.sap.com/fioriInformation published on non-SAP site Next navigation step Configuration of SAP Fiori Infrastructure Next navigation step Configuration Information End of the navigation path

SAP HANA Content Included in

  • SAP Customer Activity Repository retail applications bundle 1.0 SPS 2

  • SAP HANA Live for SAP ERP

Front-End Component

SAP Fiori for SAP Customer Activity Repository retail applications bundle 1.0(SAP FIORI FOR SAP CARAB 1.0 SPS 3)

Back-End Component

SAP Customer Activity Repository retail applications bundle 1.0(CAR RETAIL APPL BUNDLE 1.0 SPS 2)

Virtual Data Model

sap.hba.t.rtl.car.mcsa.v/NumberOfTransactionsCurPerdQuery

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)

UISCAR01 100

For more information about the installation of front-end components, see Start of the navigation path help.sap.com/carInformation published on non-SAP site Next navigation step <your release> Next navigation step Installation and Upgrade Information Next navigation step Installation Guide End of the navigation path.

Tile Type for Launching App

The Number of Transactions 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: Number of Transactions.

Implementation Tasks

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=F0810Information published on SAP site.

HANA Server: Assign SAP HANA Roles to Users and Roles

SAP HANA Role

Needed for ...

sap.hba.t.rtl.car.mcsa.roles::NumberofTransactions

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 Note

The SAP HANA roles listed in the above table already extend this runtime role.

End of the note.

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 Start of the navigation path help.sap.com/fioriInformation published on non-SAP site Next navigation step App Implementation Information for SAP Fiori Next navigation step Implementation Information Next navigation step App Implementation for Analytical Apps Next navigation step Configuring Access to SAP HANA Data Next navigation step Assigning Roles for Accessing SAP HANA Data End of the navigation path.

HANA Server: Generate and Assign Analytic Privileges to Users and Roles

Needed for ...

How to generate?

Access to KPI data (only views)

Generated by Authorization Assistant.

For more information, see Start of the navigation path help.sap.com/hbaInformation published on non-SAP site Next navigation step SAP HANA Live Tools Next navigation step SAP HANA Live Authorization Assistant Next navigation step Generating Analytic Privileges End of the navigation path.

Access to KPI definition in KPI catalog

Generated by KPI Modeler.

For more information, see Start of the navigation path help.sap.com/ssbInformation published on non-SAP site Next navigation step Tools Next navigation step SAP Smart Business Next navigation step KPI Modeler End of the navigation path.

HANA Server: List of Applicable Query Views

View

Purpose

sap.hba.t.rtl.car.mcsa.v/NumberOfTransactionsCurPerdQuery

KPI tile data

sap.hba.t.rtl.car.mcsa.v/PlantQuery

Header and detail data

sap.hba.t.rtl.car.mcsa.v/MaterialGroupQuery

Header and detail data

Front-End Server: Activate UI5 Application

UI5 Application

Technical Name

Application-Specific Drill-Down Application

/sap/bc/ui5_ui5/sap/mcsanumberoftxn

Front-End Server: Enable App for Access in SAP Fiori Launchpad

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)

/UI2/SAP_KPIFRW5_TCR_S (for KPI Framework)

Application-Specific Business Role

SAP_CAR_BCR_CATEGORY_MANAGER (Category Manager Business Catalog for SAP Customer Activity Repository Multichannel Sales Analytics)

For more information about adding an app to the SAP Fiori Launchpad, see Start of the navigation path help.sap.com/fioriInformation published on non-SAP site Next navigation step System Landscape for SAP Fiori Next navigation step System Landscape Next navigation step Setup for System Landscape with SAP HANA XS Next navigation step App Implementation for Analytical Apps Next navigation step Implementation Tasks on Front-End Server End of the navigation path

Front-End Server and Back-End Server: Assign OData Service Authorizations to Users

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

/sap/hba/t/rtl/car/mcsa/odata/MCSAServices.xsodata

/UI2/SAP_KPIFRW5_TCR_S

Use an existing role or create a new one.

For more information about authorization roles and assigned OData services, see Start of the navigation path http://help.sap.com/fiori_bs2013Information published on SAP site Next navigation step App Implementation Information for SAP Fiori Next navigation step Implementation Information Next navigation step App Implementation for Transactional Apps Next navigation step User Management and Authorization Next navigation step Setup of Catalogs, Groups, and Roles in the SAP Fiori Launchpad End of the navigation path.