Show TOC

 App Implementation: Margin Analysis

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 components and back-end components for your app are already available in this system landscape:

SAP Fiori System Landscape Options

Start of the navigation path http://help.sap.com/fiori_implementationInformation published on non-SAP site Next navigation step System Landscape Required for SAP Fiori Next navigation step With SAP NetWeaver 7.5 Next navigation step English Next navigation step Setup of SAP Fiori System Landscape Next navigation step Deployment Options End of the navigation path

Configuration of Front-End Server

Start of the navigation path http://help.sap.com/fiori_implementationInformation published on non-SAP site Next navigation step System Landscape Required for SAP Fiori Next navigation step With SAP NetWeaver 7.5 Next navigation step English Next navigation step Setup of SAP Fiori System Landscape Next navigation step Deployment Options End of the navigation path

Back-End Components (Product Version Stack)

SAP S/4HANA Finance 1605 SPS 4

SAP HANA Content Component Delivered with (Product Version Stack)

SAP Smart Business for SAP S/4HANA Finance 1605 SPS 2

VDM Contained (Product Version Stack)

SAP HANA Live for SAP S/4HANA Finance 1605 SPS 2

Front-End Components Delivered with (Product Version Stack)

SAP Smart Business for SAP S/4HANA Finance 1602 SPS 2

Product Version: SAP SMART BUSINESS F. SFIN 3.0

Instance: Frontend Serv.Cont. SFIN

Software Components:

  • UIAPFI70 300 SPS 2

  • UIAPPL01 100

  • UISSB001 100

For more information about the system landscape requirements, see SAP Help Portal at Start of the navigation path http://help.sap.com/sfin300Information published on SAP site Next navigation step Installation and Upgrade Information End of the navigation path.

Tile Type for Launching App

The Margin Analysis analytical app uses an app launcher tile to launch the app.

Required SAP Notes

For the Margin Analysis app, the following SAP Notes must be implemented:

Back-End/Front-End Server

SAP Note Number

Description

Back-end server and front-end server

2027402Information published on SAP site

Release Information for Margin Analysis

Implementation Tasks

The following sections list tasks that have to be performed to implement the Margin Analysis app. The tables contain the app-specific data required for these tasks.

HANA Server: Assign SAP HANA Roles to Users and Roles

SAP HANA Role

Needed for ...

sap.hba.apps.sfin.s.roles::fiori_sfin

Read access to KPI data (views and XS OData services)

sap.hba.r.apf.core.roles::AnalysisPath

Path persistence

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

You can find the KPI data required to perform this step in the SAP Fiori apps reference library at https://www.sap.com/fiori-apps-libraryInformation published on SAP site.

Needed for

How to generate?

Access to business data (only views)

To be generated by the customer using SAP HANA Live Authorization Assistant.

The Authorization Assistant tool assigns analytic privileges to most of the views contained in role sap.hba.apps.sfin.s.roles::fiori_sfin. For those views that start with sap.hba.ecc, you must assign the privileges manually.

HANA Server: Generate Planning View

The app uses planning data for comparison, for example, between planned and actual revenue. To enable the use of planning data with the app, you must generate a planning view in the SAP HANA server. For more information, see SAP Library for the SAP Simple Finance add-on for SAP Business Suite powered by SAP HANA on SAP Help Portal at Start of the navigation path http://help.sap.com/sfin200Information published on SAP site Next navigation step Application Help under SAP ERP Next navigation step SAP ERP Central Component Next navigation step Accounting Next navigation step SAP Simple Finance Add-On for SAP Business Suite powered by SAP HANA Next navigation step Integrated Business Planning Next navigation step Planning View Generation End of the navigation path.

The app retrieves planning records from the InfoCube /ERP/SFIN_R01. These planning records must be assigned to fiscal periods and to the planning category MARAN_PLAN.

Front-End Server: Activate UI5 Application

UI5 Application

Technical Name

Margin Analysis

/sap/bc/ui5_ui5/sap/fin_fm_marana

For more information about activating ICF services, see SAP Help Portal at Start of the navigation path http://help.sap.com/nw75Information published on SAP site Next navigation step Application Help Next navigation step UI Technologies in SAP NetWeaver with SAP_UI 750 Next navigation step [Language] Next navigation step SAP Fiori Launchpad Next navigation step Setting Up the Launchpad Next navigation step Configuring ICF Nodes End of the navigation path.

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

Application-Specific Business Role

SAP_SFIN_BCR_MANAGER

The SAP Fiori launchpad is the entry point to apps. In the launchpad, the user can see and access those apps that have been assigned by an administrator to the catalog designed for this user's role.

For more information, see SAP Help Portal at Start of the navigation path http://help.sap.com/nw75Information published on SAP site Next navigation step Application Help Next navigation step UI Technologies in SAP NetWeaver with SAP_UI 750 Next navigation step [Language] Next navigation step SAP Fiori Launchpad Next navigation step Setting up the Launchpad End of the navigation path: Configuring the Launchpad and Configuring Authorization Roles.

For more information on catalogs and roles, see 2242596Information published on SAP site.

Back-End Server: Create Hierarchy of Cost Element Groups

To read your data correctly in the SAP HANA back-end server, you must define a cost element group that represents a hierarchy of revenue and costs in the ABAP back-end server.

To create the hierarchy, proceed as follows:

  1. Create a cost element group as the root node of the hierarchy.

  2. Under the root node, create a cost element group for revenues.

  3. Under the revenue group, enter the cost elements that belong to the revenues.

  4. At the level of the revenue group, create a cost element group for direct costs and another for indirect costs.

  5. Under each cost group, create a cost element group for each cost subtype that you use, for example, 'Marketing'.

  6. Under each cost subtype, enter the relevant cost elements.

    An example of the resulting hierarchy is depicted in the following figure:

Front-End Server: Define Business Parameters in SAP Fiori Launchpad Designer

During setup of the Fiori Launchpad using SAP Fiori Launchpad Designer, you must define the application-specific business parameters listed in the table below.

To define these parameters, proceed as follows:

  1. Launch SAP Fiori Launchpad Designer in customizing scope.

  2. From the catalog list, choose the SAP_SFIN_TC_A catalog or any custom catalog that contains the Margin Analysis tile.

  3. Choose the Margin Analysis tile.

  4. Under Navigation, in the Parameters field, enter the required parameter.

  5. Save your entries.

  6. Repeat these steps for any further parameters.

The Margin Analysis app requires the following mandatory parameters:

Technical Name

Description

SAPClient

SAP client

CostElementHierarchy

Root node of the cost element hierarchy

CostElmntHierRevnName

Revenue label in the cost element hierarchy

CostElmntHierDrctCostName

Direct cost label in the cost element hierarchy

CostElmntHierIndrctCostName

Indirect cost label in the cost element hierarchy

Note Note

The above parameters refer to the cost element hierarchy you have defined in the back-end system.

End of the note.

For more information about the configuration of tiles using SAP Fiori Launchpad Designer, see SAP Library for User Interface Add-On 1.0 for SAP NetWeaver on SAP Help Portal at http://help.sap.com/nw-uiaddonInformation published on SAP site. In SAP Library choose Start of the navigation path SAP Fiori Launchpad Next navigation step Using Launchpad Designer Next navigation step Setting Up Catalogs, Tiles, and Groups Next navigation step Catalogs and Tiles Next navigation step Configuring Tiles End of the navigation path.

Technical Data

Component

Technical Name

Semantic Object

ControllingDocument

Application-Specific Business Role

SAP_SFIN_BCR_MANAGER

Application-Specific Business Catalog

SAP_SFIN_BC_MANAGER

Business Catalog Group

SAP_SFIN_BCG_MANAGER

Technical Role

SAP_SFIN_TCR_A

Technical Catalog

SAP_SFIN_TC_A

Report Launchpad (for Generic Drill-Down Application)

Not applicable

Report Launchpad for Optional or Alternative Application-Specific Drill-Down Applications

Role: UIHSFIN1

Instance: ANALYTICS

Application Alias: AnalyzeMargin