6.4    Analytical Apps without the SAP Smart Business Modeler

In the previous section, you created an analytical app using the SAP Smart Business modeler. In this section, we’ll show you how to enable an analytical app without using the SAP Smart Business modeler; we’ll use an example based on the Profit Analysis analytical app.

First, let’s get the app-specific configuration details from the SAP Fiori apps reference library. Figure 6.59 shows the configuration details of the Profit Analysis app.

App-Specific Configuration

Figure 6.59    App-Specific Configuration

In the sections that follow, we’ll walk through the necessary tasks to complete this implementation.

6.4.1    Activate the SAPUI5 Application

The first step in implementing an analytical app without the SAP Smart Business modeler is to activate the SAPUI5 application. We discussed these steps in detail in Chapter 4, Section 4.1. You can follow along with the same steps to activate the FIN_PRFTANLYS service (see Figure 6.60).

SAPUI5 Application

Figure 6.60    SAPUI5 Application

6.4.2    Assign the SAP HANA Role

In this section, we’ll assign a product-specific SAP HANA role to the user. This role enables users to access KPI data (i.e., the SAP HANA Live views and the OData service of the specific app). Follow the steps we covered in Section 6.3.5, and grant access to the user for the sap.hba.apps.sfin.s.roles::fiori_sfin role (see Figure 6.61).

SAP HANA Role

Figure 6.61    SAP HANA Role

6.4.3    Assign the App-Specific Catalog Role

The next step is to assign the app-specific PFCG role for the business catalog to the user. After this is enabled, the user will have access to the catalog in SAP Fiori launchpad. Assign the SAP_SFIN_BCR_SALESMANAGER business catalog role to an end user (see Figure 6.62). Refer to Chapter 4, Section 4.3.3 if you need to review how to assign roles to users.

Assigning User

Figure 6.62    Assigning User

6.4.4    Add the App to SAP Fiori Launchpad

After you’ve completed all the preceding steps, the last step is to add the app to a group. Follow the same steps you performed in Chapter 4, Section 4.6.6 to add the Profit Analysis app to the Sales Manager group (see Figure 6.63).

Profit Analysis App in Sales Manager GroupProfit Analysis app

Figure 6.63    Profit Analysis App in Sales Manager Group

Sales Order Fulfillment App

Typically, all SAP Smart Business apps drill down from one analytical app to another analytical app. However, there is one hybrid app, the Sales Order Fulfillment app, that drills down from an analytical app to a transactional app.

The Sales Order Fulfillment app is the only hybrid app that uses SAP Gateway (ABAP front-end server) and SAP HANA XS as well. It needs SAP Gateway because it sends requests to the back-end server. After you configure the Sales Order Fulfilment app, it will be added as an analytical app tile in SAP Fiori launchpad. When a user opens the app, a transactional app is opened. Hence, this is the only hybrid app that has a tile for an analytical app and launches with the features of a transactional app.