business process procedures - sap service …sapidp/... · web viewin particular, sap se or its...

54
SAP S/4HANA Dec 2016 English Technical Setup and Enablement for SAP S/4HANA Embedded Analytics (BGE) SAP SE Dietmar-Hopp-Allee 16 69190 Walldorf Building Block Configuration Guide

Upload: buinga

Post on 12-May-2018

339 views

Category:

Documents


9 download

TRANSCRIPT

Page 1: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP S/4HANA

Dec 2016

English

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics (BGE)

SAP SEDietmar-Hopp-Allee 1669190 WalldorfGermany

Building Block Configuration Guide

Page 2: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

Copyright

© 2016 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

© SAP SE Page 2 of

Page 3: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

Icons

Icon Meaning

Caution

Example

Note

Recommendation

Syntax

External Process

Typographic Conventions

Type Style Description

Example Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options.

Textual cross-references to other documents.

Example Emphasized words or expressions.

EXAMPLE Technical names of system objects. These include report names, program names, transaction codes, table names, and key concepts of a programming language when they are surrounded by body text, for example, SELECT and INCLUDE.

Example Output on the screen. This includes file and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools.

Example Exact user entry. These are words or characters that you enter in the system exactly as they appear in the documentation.

<Example> Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system.

EXAMPLE Keys on the keyboard, for example, F2 or ENTER .

© SAP SE Page 3 of

Page 4: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

Contents1. Purpose.................................................................................................................................. 6

2. Technical System Landscape.................................................................................................6

3. Prerequisite Configurations....................................................................................................7

3.1 SAP S/4HANA Fiori Foundation Configuration................................................................7

3.2 SAP S/4HANA Fiori Basic Network and Security Configuration......................................7

3.3 Launchpad Management.................................................................................................8

3.3.1 Creating an HTTP RFC Destination to Back-End Server.........................................8

3.3.2 Assignment of http Connection to All Apps in a Fiori Launchpad.............................8

3.3.3 Assignment of http Connection to a Single App in a Fiori Launchpad......................9

4. SAP S/4HANA Embedded Analytical Application Activation..................................................9

4.1 Analytical Fiori Applications...........................................................................................10

4.1.1 Get Technical Information......................................................................................10

4.1.2 Create and assign the Backend Role for a User....................................................11

4.1.3 Activate OData Service..........................................................................................12

4.1.4 Activate UI Services...............................................................................................14

4.1.5 Assign a User to the SAP Fiori Launchpad............................................................14

4.1.6 Additional App-Specific Configuration....................................................................14

4.2 Analytical Smart Business.............................................................................................15

4.3 Design Studio Template Application..............................................................................15

4.4 Analytical Web Dynpro Application................................................................................16

4.4.1 Check Required HTTP Connection........................................................................17

4.4.2 Back-End System: Activate Web Dynpro Application.............................................17

4.4.3 Back-End System: Assign the Backend Role for the User.....................................17

4.4.4 Gateway System: Assign a User to the SAP Fiori Launchpad...............................18

4.4.5 Additional App-Specific Configuration....................................................................18

5. Configure SAP S/4HANA Analytical Application in Launchpad............................................18

5.1 Common configuration for all Application......................................................................19

5.1.1 Creating and Assign Transport Request................................................................20

5.1.2 Creating a Sample Catalog....................................................................................21

5.1.3 Creating a Sample Group.......................................................................................22

5.1.4 PFCG Roles management.....................................................................................22

5.1.4.1 Creating a Sample PFCG Role and Assign to End Users...............................22

5.1.4.2 Copy SAP Delivered PFCG to Customer Name Space..................................23

5.1.5 Creating a Target Mapping (Optional)....................................................................24

5.1.6 Adding a Static Tile into the Sample Catalog and Group.......................................24

5.2 Additional Configuration Steps per Application..............................................................26

5.2.1 Smart Business......................................................................................................26

5.2.1.1 Checking Analytic App in KPI Modeler............................................................26

© SAP SE Page 4 of

Page 5: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics5.2.1.2 Checking Analytical App in Catalog................................................................27

5.2.1.3 Adding a KPI App Tile into Group...................................................................27

5.2.2 Web Dynpro Application.........................................................................................27

5.2.2.1 Creating a Webdynpro Target Mapping into Catalog......................................27

5.2.2.2 Adding a Webdynpro App Tile into Catalog and Group...................................27

6. Using Custom Analytical Queries.........................................................................................28

7. Using View Browser.............................................................................................................30

8. Smart Business Modeler Apps.............................................................................................31

8.1 Using Create KPI...........................................................................................................31

8.2 Using Create Evaluation................................................................................................32

8.3 Using Create Tile...........................................................................................................33

8.4 Using Configure Drill-Down...........................................................................................34

8.5 Add Tile to Home...........................................................................................................35

9. Creating Custom CDS View.................................................................................................36

9.1 Creation of Custom CDS View......................................................................................36

9.2 Register the Auto Generated Service............................................................................38

9.3 Data Preview with Analysis Path Framework (APF) Application...................................39

© SAP SE Page 5 of

Page 6: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

1. PurposeFollowing are the two purposes of this document

1. To describe the general configuration steps required to manually set up the prerequisite configuration within the system landscape to run SAP S/4HANA Analytics

2. For each analytical app within SAP S/4HANA, this guide provide the additional configurations steps to run specific analytic applications. The following analytic applications are included: SAP analytic Fiori Applications, Smart Business apps, Web Dynpro (Design Studio template in future).

2. Technical System LandscapeThe following system configurations are prerequisite activates before you start the implementation of this configuration guide.

It is possible to get a role-based insight into real-time operations of the business by collecting and displaying key figures directly in the browser through the SAP Analytical apps. To do this, the SAP Analytical apps combine the data and analytical power of SAP HANA with the integration and interface components of SAP Business Suite. With SAP Analytical apps, the customer's company is able to closely monitor their most important KPIs in real time and react immediately on changes in market conditions or operations. The figure below shows the related Analytical Apps based on SAP S/4HANA.

© SAP SE Page 6 of

Page 7: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

To set up above landscape, we recommend separating the front-end components with the UI layer from the back-end components that contain the business logic and the back-end data.

3. Prerequisite ConfigurationsBefore you start the configuration of technical setup of SAP S/4HANA embedded Analytics, you need to make sure following system configurations are finished.

Please note following configuration is the prerequisite, but not in our configuration scope.

3.1 SAP S/4HANA Fiori Foundation ConfigurationThis section includes the general configuration steps required to set up the system landscape.

Please make sure the following chapters were finished:

Setup of SAP Fiori System Landscape

Please refer to http://help.sap.com/fiori_implementation Configuration Information With SAP NetWeaver 7.5 (English) SAP Fiori: Setup and configuration Setup of SAP Fiori System Landscape.

Configuring SAP Web Dispatcher

If you want to deploy Fact Sheets or Analytical Apps in your system landscape, you must perform the installation of SAP Web Dispatcher. For more detail information regarding the installation of the SAP Web Dispatcher, please refer to http://help.sap.com/netweaver SAP NetWeaver 7.5 Function-Oriented View Application Server Application Server Infrastructure Components of SAP NetWeaver Application Server SAP Web Dispatcher.

Setting up the Fiori Launchpad and Launchpad Designer

Please refer to details in http://help.sap.com/netweaver SAP NetWeaver 7.5 UI Technologies in SAP NetWeaver with SAP_UI 750 (English) SAP Fiori Launchpad.

Generic Configuration for Analytical Application

Please refer to the attached document in SAP note 2289865 to finish Generic configuration for analytic application, including BW client and BW SICF service.

3.2 SAP S/4HANA Fiori Basic Network and Security Configuration

The purpose of following information is to describe the SAP Fiori related basic security configuration.

When running the SAP Business Suite system, make sure that the business needs supported by the data and processes do not allow unauthorized access to the critical information. User errors, negligence, or attempted manipulation of the system must not result in loss of information or processing time. These security requirements apply equally to SAP Fiori applications.

Please refer to http://help.sap.com/fiori_implementation Security Information With SAP NetWeaver 7.5 (English)

© SAP SE Page 7 of

Page 8: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

3.3 Launchpad ManagementThe non-Fiori apps such as NWBC or Web Dynpro applications use http RFC connections to the respective back-end server and use transaction Overview of Launchpads (transaction code LPD_CUST). Since these are central settings for those types of apps, they are described centrally in this chapter. The described settings are required for NWBC and Web Dynpro applications. As for Fiori apps, you can ignore the configuration in this section.

3.3.1 Creating an HTTP RFC Destination to Back-End Server1. In Front-End Server, access the activity using the following navigation options:

Transaction Code SM59

2. On the Configuration of RFC Connections screen, choose Create.

3. On the RFC Destination screen, input RFC Destination like ERPCLNT180H (H to distinguish from the type 3 RFC dest.), and input Connection Type as H, and then choose Save (Ctrl+S).

4. Choose the Technical Settings tab, input Target Host as your Back-End Server hostname, and input Service No. as its HTTP/HTTPS port.

5. Choose the Logon & Security tab; choose Logon with User as Trust Relationship. If you're using HTTPS port, choose SSL as Active.

6. Choose Connection Test, choose Save if dialog box appears; ensure the Status HTTP Response is 404.

3.3.2 Assignment of http Connection to All Apps in a Fiori Launchpad

UseWithin the SAP S/4HANA delivery in the Overview of Launchpads (transaction code LPD_CUST) a huge number of non Fiori apps is being delivered (i.e. Launchpads for role UIAPFI70 and UICORE). For each single app a dummy record for the http destination is maintained. This section explains how to maintain the destination in a way so you maintain only one setting per Launchpad – and not changing the Launchpad for each single app.

Procedure1. Access the Overview of Launchpads (transaction code LPD_CUST) on your SAP Front

End Server.

2. Choose the Launchpad you want to assign the http connection created in the previous chapter.

3. Choose the System Alias Mapping button:

© SAP SE Page 8 of

Page 9: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

4. Maintain the http connection to your SAP S/4HANA Backend System you have created in the previous chapter in the upcoming dialog System Alias Mapping in the field New System Alias. See the following example:

ResultAll applications being part of the selected Launchpad use the http connection assigned in the System Alias Mapping.

3.3.3 Assignment of http Connection to a Single App in a Fiori Launchpad

UseBy default, system alias of a NWBC app is set as a pseudo name like SAP_ERP_SD. If the alias does not exist in SM59, the local system will be used. In the previous chapter, it is described how to assign the http connection to all apps in one Launchpad. However, you can change the destination for each single app as well. This is described in the following steps

Procedure1. Access the Overview of Launchpads (transaction code LPD_CUST) on your SAP Front

End Server.

2. On the Overview of Launchpads screen, double click on an entry with NWBC Transactions in it, like UICORE.

3. On the Change Launchpad - XXX screen, double click on a NWBC Transaction app, like Change Sales Order; change System Alias to the RFC destination you created in previous chapter, like ERPCLNT180H, and then choose Save (Ctrl+S).

4. Choose Back (F3) twice. On the Overview of Launchpads screen, ensure your change is made.

ResultYou have now changed the system connection for a single app within a Launchpad.

4. SAP S/4HANA Embedded Analytical Application Activation

4.1 Analytical Fiori ApplicationsThe purpose of this document is to describe the steps required to manually configure SAP Fiori apps.

© SAP SE Page 9 of

Page 10: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded AnalyticsIt also covers:

Additional app-specific configuration for analytical Apps

Summary of how to access the SAP Fiori Launchpad and the Launchpad Designer

Reference to troubleshooting resource

 We use the Fiori app Material Documents Overview as an example to go through following configuration steps.

Some of the following tasks can be also carried out automatically with task lists. In our following configuration, we will use manual configuration as example.

See the following summary of which steps are able to be covered by task lists and which ones have to be carried out manually:

All required Implementation Steps

Can be done by Task List as well?

Manual activity required

Analytical Apps

Create and assign the Backend Role for a User

No Yes – perform chapter manually

Yes

Activate OData Services

Yes Yes Yes

Activate UI Services Yes Yes Yes

Assign a User to the SAP Fiori Launchpad

No Yes – perform chapter manually

Yes

Additional App-Specific Configuration

No Yes – perform chapter manually

Yes

4.1.1 Get Technical Information

Purpose1. Access the SAP Fiori apps reference library.

The SAP Fiori apps reference library provides key information for each app. Access it via the following link:

Link http://www.sap.com/fiori-apps-library

2. Go to the information page for the Material Documents Overview app.

3. On the App Details view, choose Implementation Information Configuration.

4. Note down the following technical details you need for the configuration steps to come:

Section under Configuration Technical Detail

OData Services → OData Service MMIM_MATDOC_SRVMMIM_GR_CANCELLATION_SRV

SAPUI5 Application MANAGE_MATDOCS1

© SAP SE Page 10 of

Page 11: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

Technical Configuration → Business Role(s)

SAP_BR_WAREHOUSE_CLERK

Usually a large number of apps need to be configured in an SAP S/4HANA landscape. It is possible to download the required metadata for oData Services and UI Services (ICF Nodes) from the SAP Fiori Reference Library for the usage in the tasklists as described in the following chapters 'Activate OData Service' and 'Activate UI Services'.

The required steps are described here in brief to download those lists:

Access the SAP Fiori apps reference library.

Search for the apps you intend to configure. You can search for example by Product Version. In the displayed result list you can filter for example for 1610 and choose SAP Fiori for SAP S/4 HANA 1610 to get the list of apps for the On Premise version.

Choose the apps in scope either manually or use button Select All at the top of the list.

Choose Aggregate on the bottom of the list to get the aggregated information for your selection.

Scroll down in the Implementation Information screen and expand section Configuration. Then you will be able to find technical details info.

4.1.2 Create and assign the Backend Role for a User

UseThe user needs to have the appropriate authorization in the SAP S/4HANA system to execute his business tasks. The required authorization roles need to be assembled individually by the customer. SAP delivers for each app a Catalog on the front end server. Via an RFC connect you can select the appropriate catalog from the Front End Server and assign it to your business role. The required authorization objects for the oData Services and backend transactions are then being assigned automatically. The new PFCG role needs to be assigned then to the required users.

Procedure1. In the SAP backend system, access the activity using one of the following navigation

options:

© SAP SE Page 11 of

Page 12: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

IMG Menu Tools → Administration → User Maintenance → Role Administration → Roles

Transaction Code PFCG

2. On the Role Maintenance screen, create a new role. Enter the name for your role

3. Choose Single Role.

4. Enter a Description and Save your created role.

5. Choose Menu tab.

6. Choose the Insert Node button and select option Catalog.

7. Choose Remote Front-End Server in case you are using a hub solution for the Front-End Server

8. Choose the field Catalog ID and search for the required Fiori catalog using the F4 search.

9. Choose Continue to assign the selected catalog to your role. The assigned catalog has the required authorization objects assigned to it now. You can repeat this assignment steps until the role fits to your needs.

10. Choose the Authorizations tab and complete/generate a profile for this role.

11. Choose the User tab page and input the user ID as backend user.

12. Choose Save (Ctrl+S).

4.1.3 Activate OData Service

PurposeIn this chapter, you perform ABAP system configuration tasks to activate OData services for analytical Fiori Applications.

Procedure1. In the SAP Gateway system, access the activity using the following navigation options:

Transaction Code /IWFND/MAINT_SERVICE

IMG Menu SAP NetWeaver → SAP Gateway→ OData Channel → Administration → General Settings →Activate and Maintain Services

2. On the Service Catalog screen, choose Add Service.

3. On the Add Service screen, enter the System Alias that has been created when in the course of the configuration in the SAP Gateway system. You can also use F4 help.

4. Enter the OData service: MMIM_MATDOC_SRV and MMIM_GR_CANCELLATION_SRV.

5. Alternatively, you can also get a list of services available from the system. After step 3, you choose Get Services. A list of services is displayed. From the services listed choose the OData service: MMIM_MATDOC_SRV and MMIM_GR_CANCELLATION_SRV.

6. Choose Enter. 7. Select the service from the list.

8. Choose Add selected services.

© SAP SE Page 12 of

Page 13: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics9. In the Add Service pop-up, enter the name of the Package being used in the Package

Assignment field.

10. Select Standard Mode in the ICF Node section.

11. Select the Set current client as default client in ICF Node checkbox.

12. Choose Continue (Enter). Assign your workbench and customizing requests and confirm the displayed messages.

13. Confirm the information message that the metadata was loaded successfully.

14. Choose Back.

15. From the Service Catalog, select the record you have just created.

16. Choose Gateway Client.17. Choose Execute (F8). 18. The HTTP Response is displayed and an XML-File shows up in the lower right corner. This

indicates that the Web Service is configured properly.

For Web Service calls, you must maintain authorization object S_SERVICE. You then assign the Web Service operations to a role in transaction PFCG.

Find more information in this SAP Help Portal location.

In case an error message shows up indicating that the http request failed then check the following:

1. Does the trusted RFC connection work properly?

2. Check in the Trust Manager (transaction strust) if the SSL certificates are set up properly so the gateway system can communicate properly with the respective backend system.

You can double in transaction SICF if the service was activated. Perform the following steps:

19. In the SAP Gateway system, access the activity using the following navigation option:

Transaction Code SICF

20. Choose Execute (F8).21. Choose the following navigation path on the Maintain service screen:

Navigation Path default_host → sap → opu → odata → sap

22. The service MMIM_MATDOC_SRV and MMIM_GR_CANCELLATION_SRV are displayed and activated here.

© SAP SE Page 13 of

Page 14: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

4.1.4 Activate UI Services

PurposeIn this chapter, you activate UI services of Fiori Applications.

Procedure1. In the SAP Gateway system, access the activity using the following navigation option:

Transaction Code SICF

2. Choose Execute (F8).For activating the UI5 Service ( MANAGE_MATDOCS1), choose the following navigation path on the Maintain service screen:

Navigation Path default_host → sap → bc → ui5_ui5 → sap

3. Select the service MANAGE_MATDOCS1 from the list.

4. Right-click this service and choose Activate Service.

4.1.5 Assign a User to the SAP Fiori Launchpad

Procedure1. In the SAP Gateway system, access the activity using one of the following navigation

options:

IMG Menu Tools → Administration → User Maintenance → Role Administration → Roles

Transaction Code PFCG

2. On the Role Maintenance screen, enter the PFCG role for Business Catalog you noted down before in the Role field: SAP_BR_WAREHOUSE_CLERK

3. Choose Change.

4. On the Change Roles screen, choose the User tab page.

5. Insert the user ID/name in the user assignment area.

6. Choose Save (Ctrl+S).

In case you want to assemble your own role you may copy the SAP delivered to your customer name space and perform the user assignment in the copied role. You can then can change these roles according to your needs.

The modeling of KPIs of Analytical apps requires access to a number of modeling apps. Assign the role SAP_BR_ANALYTICS_SPECIALIST to your key users performing those tasks.

4.1.6 Additional App-Specific ConfigurationIt is absolutely mandatory to check the SAP Fiori Help Portal pages for the individual apps (http://help.sap.com/fiori) if there are additional configuration steps required besides about configurations.

© SAP SE Page 14 of

Page 15: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

4.2 Analytical Smart BusinessThe activation configurations (Role assignment, Activate UI Service, Activate Odata) for Smart Business is also the same as Fiori Applications, plus the following additional configurations:

1. On SAP Gateway system, activate the following two services required by the Smart Business apps:

smart_business_runtime_srv

smart_business_designtime_srv

Please following the same configuration steps as previous section Activate OData Service and make sure these OData services are active in your system.

2. On SAP Gateway system, the modeling of KPIs of Analytical apps requires access to a number of modeling apps. Assign the role SAP_BR_ANALYTICS_SPECIALIST to your key users performing those tasks. You can refer to previous section Assign a User to the SAP Fiori Launchpad section for the same configuration steps

3. It is absolutely mandatory to check the SAP Fiori Help Portal pages for the individual apps (http://help.sap.com/fiori) if there are additional configuration steps required besides about configurations.

4.3 Design Studio Template Application

PurposeThe following steps are necessary to enable the usage of the Design Studio template application

“0ANALYSIS” for multi-dimensional reporting in Fiori. The application is currently used for previewing of analytical queries within SAP S/4HANA Query Browser and Query Designer.

Procedure1. In the SAP Gateway system, access the activity using the following navigation option:

Transaction Code SICF

2. Choose Execute (F8).3. Locate the following services

/sap/bw/ina /sap/bw/Mime

4. Right-click this service and choose Activate Service.

5. access the activity using the following transaction Code:

Transaction Code /IWFND/MAINT_SERVICE

6. Locate the OData service RSAO_ODATA_SRV

7. Activate ICF Node

Result Services was activated.

Make sure that the newest version of 0ANALYSIS is active. This can be checked via tableRSAOOBJ (check if the content time stamp CONTTIMESTMP is the same for the A (active) andD (development) version of 0ANALYSIS).

© SAP SE Page 15 of

Page 16: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded AnalyticsIf necessary run transaction rstco_admin in order to activate the newest version.

4.4 Analytical Web Dynpro Application

PurposeIn this section, the configuration steps to activate a WebDynpro application are described. It consists of the SAP Fiori Launchpad configuration (such as the tiles and the navigation) and back-end components (such as the Web Dynpro application itself). The back-end and the front-end components are delivered in separate products and have to be installed in a system landscape that is enabled for SAP Fiori.

Refer to SAP Fiori apps reference library for the list of configurable Web Dynpro applications delivered via SAP products.

ProcedureSee the high-level configuration sequence summarized here:

1. Check the SAP Fiori apps reference library for the app’s technical information2. Check/create required HTTP Connection3. Backend system: Activate Web Dynpro Application (Transaction: SICF)4. Backend system: Assign the Backend Role for the User (Transaction: PFCG)5. Gateway system: Assign a User to the SAP Fiori Launchpad (Transaction: PFCG)

Here, we use the Web Dynpro app Trial Balance as an example.

6. Access the SAP Fiori apps reference library: http://www.sap.com/fiori-apps-library 7. In the top left search bar, enter application's name and choose the magnifying glass icon.

For example, enter 'Trial Balance' and the result is as following:

Same app maybe released in different products (such as Business Suite or SAP S/4HANA). Please select product as SAP S/4HANA in order to open the correct configuration implementation Information

8. Choose Implementation information and note down the technical details you need for the configuration steps to come (see also the screenshots below):

For example, the information for 'Trial Balance' is as follows:

© SAP SE Page 16 of

Page 17: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

# Section under Configuration Technical Detail

1 LPD_CUST Instance Eg: TRANSACTIONAL_FI

2 ICF Nodes for WebDynpro Applications → Authorization Role (PFCG)

Eg: SAP_SFIN_ACC_REPORTING

3 Technical Catalog Eg: SAP_TC_FIN_ACC_BE_APPS

4 Technical Configuration → Business Role(s)

Eg: SAP_BR_GL_ACCOUNTANT

5 ICF Nodes for WebDynpro Applications → Web Dynpro Application

/default_host/sap/bc/webdynpro/sap/

<WebDynpro Application>

Go to SAP Fiori apps reference library the application name Implementation Information Installation Read more in Implementation Documentation for detailed information.

4.4.1 Check Required HTTP Connection1. In the SAP Gateway system, access the activity using the following navigation option:

Transaction Code LPD_CUST

2. Choose the display icon in the instance value (e. g. Transactional_FI) as derived above in step 1.

3. Choose your Web Dynpro application, for example: Trial Balance.

4. A System Alias is displayed. This is the placeholder for a HTTP RFC Connection pointing to the target ECC System. In case you have not yet created HTTP connection to the SAP S/4HANA System create one as described in section Launchpad Management and check the assignments of the connection to your Launchpad.

4.4.2 Back-End System: Activate Web Dynpro Application1. In the SAP back-end system, access the activity using one of the following navigation

options:

IMG Menu n/aTransaction Code SICF

2. On the Maintain Services screen, for Hierarchy Type SERVICE, choose Execute.

On the Maintain service screen, go the service hierarchy type /default_host/sap/bc/webdynpro/sap, and confirm the services of Web Dynpro application are all activated.

4.4.3 Back-End System: Assign the Backend Role for the User 1. In the SAP back-end system, access the activity using one of the following navigation

options:

IMG Menu Tools → Administration → User Maintenance → Role Administration → Roles

Transaction Code PFCG

© SAP SE Page 17 of

Page 18: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics2. On the Role Maintenance screen, enter the Back-End Authorization Role you noted

down before in the Role field. For example: SAP_SFIN_ACC_REPORTING. This is the value ‘Back-End Authorization Role (PFCG)’ derived in the Fiori apps reference library and noted down in chapter Check App’s Technical Information.

3. Choose Change.

4. On the Change Roles screen, choose the User tab page, input the user ID as backend user.

5. Choose Save (Ctrl+S).

4.4.4 Gateway System: Assign a User to the SAP Fiori Launchpad

1. In the SAP Gateway system, access the activity using one of the following navigation options:

IMG Menu Tools → Administration → User Maintenance → Role Administration → Roles

Transaction Code PFCG

2. On the Role Maintenance screen, enter the PFCG role for Business Catalog you noted down before in the Role field: SAP_BR_GL_ACCOUNTANT. This is the value ‘Technical Configuration → PFCG role for Business Catalog’ derived in the Fiori apps reference library and noted down in chapter Get App’s Technical Information .

3. Choose Change.

4. On the Change Roles screen, choose the User tab page.

5. Insert the user ID/name in the user assignment area.

6. Choose Save (Ctrl+S).

4.4.5 Additional App-Specific ConfigurationIt is absolutely mandatory to check the SAP Fiori Help Portal pages for the individual apps (http://help.sap.com/fiori) if there are additional configuration steps required besides about configurations.

5. Configure SAP S/4HANA Analytical Application in Launchpad

The SAP Fiori Launchpad is the entry point to analytic apps on mobile or desktop devices, and The Launchpad Designer is the standard tool for configuring the Launchpad.

The following configuration provides the information you need to set up the SAP Fiori Launchpad and Launchpad Designer for your analytical applications.

© SAP SE Page 18 of

Page 19: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

5.1 Common configuration for all Application

UseThe Fiori Launchpad is the entry page to SAP Fiori apps on mobile or desktop devices. It can be configured via Launchpad Designer. There are important concepts for Launchpad Designer as below:

1. Scope: Launchpad Designer has 3 scopes: Configuration, Customizing, Personalization:

Configuration is system-wide settings. The content delivered by SAP is stored in the configuration scope. Can be accessed via http(s)://<FrontEndServer>:<Port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?scope=CONF.Changes should be attached to a Workbench Request.

You can access the Launchpad Designer using the following SAP Gui transaction:

Transaction Code /UI2/FLPD_CONF

Customizing is a client-specific setting. Content changes are valid only for the current client.

These settings override the configuration settings, but can be superseded by personalization settings. Can be accessed via http(s)://<FrontEndServer>:<Port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-client=<Client>(&scope=CUST).This is also the default in case no "scope" parameter provided. Changes should be attached to a Customizing Request.

You can access the Launchpad Designer using the following SAP Gui transaction:

Transaction Code /UI2/FLPD_CUST

Personalization is a user-specific setting; this setting overrides customizing and configuration settings. This functionality is already integrated into Launchpad, so end users can configure Launchpad by themselves.

2. Catalog: Contains both Tiles and Catalogs, SAP pre-delivered Catalogs can usually be mapped to a combination of LoB and archetype, like Catalog of MM Transactional Apps, or Catalog of CRM Fact Sheets.

3. Group: Contains Tiles from Catalogs, more oriented to a business role like Sales Representative or Cost Manager; end users can see Groups in Fiori Launchpad if the role for corresponding Groups is assigned.

4. Tile: Icons in the Launchpad, link to Target Mapping via Intent.

5. Target Mapping: Define Intent and link to LPD_CUST entries.

6. Intent: Semantic Object + Action + Semantic Object parameters.

Semantic Object Represents a business entity such as a customer, a sales order, or a product. Using semantic objects, you can bundle applications that reflect a specific scenario. They allow you to refer to objects in a standardized way, abstracting from concrete implementations of these objects.

You can either use semantic objects shipped by SAP, or create

© SAP SE Page 19 of

Page 20: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

new semantic objects.

Action Describes which operation (such as display or approvePurchaseOrders) is intended to be performed on a semantic object (such as Purchase Order or Product). The name of the action can be defined arbitrarily.

Semantic Object parameters

Define the instance of the semantic object (e.g. by specifying the employee ID).

7. Intents have the following pattern: #<SemanticObject>-<Action>?<SemanticObjectParameter>=<Value1>, then Fiori Apps can be accessed via Launchpad URL + Intent, for example http(s)://<FrontEndServer>:<Port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html#SalesOrder-change?SalesOrder=27

8. LPD_CUST: Transaction Code in ABAP Front-End Server; contains link to Fiori App's real URL, or NWBC App's transaction code.

5.1.1 Creating and Assign Transport Request

UseAll settings carried through in the Launchpad Designer can be recorded in the Front End Server using Transport Requests. A Workbench Request is needed for Configuration scope, and a Customizing Request is needed for Customizing scope.

Procedure1. Login to the ABAP Front-End Server.2. Access the activity using the following navigation options:

Transaction Code SE01

3. Choose Create.... The Create Request dialog box displays.

4. Select Customizing Request and then Choose Copy (Enter).5. Maintain the description and the Target parameter in the request details.

6. Choose Save.

7. Access the Launchpad Designer using one of the above described access methods. Choose the Settings button in the top right corner.

8. In the Assign Transport Request dialog box, select the Workbench/Customizing Request (or choose None (Local Object) if you don't want to record changes), and then choose OK.

© SAP SE Page 20 of

Page 21: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

5.1.2 Creating a Sample Catalog

UseIn this activity, a sample Catalog will be created to contain the Fiori apps of different archetypes.

Procedure1. In Launchpad Designer, choose the Catalogs tab. All catalogs are then loaded.2. Choose the big + button in the bottom left corner at the end of the catalog list.

3. In the Create Catalog dialog box, choose Standard, input Title and ID as Z_RDS_BC (as example), and then choose Save.

Remote Catalog is valid for SAP HANA catalogs. It is used for the KPI Modeler.

4. (Optional) Drag the Catalog Z_RDS_BC, you can Check or Copy or Delete it

© SAP SE Page 21 of

Page 22: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

5.1.3 Creating a Sample Group

UseIn this activity, a sample Group will be created to contain the Fiori apps of different archetypes.

Procedure1. In Launchpad Designer, choose the Groups tab. All groups are then loaded.2. Choose the big + button in the bottom left corner.

3. Input Title and ID as Z_RDS_BCG (as example), and then choose Save.

4. (Optional) Drag the Group Z_RDS_BCG, you can delete it.

5.1.4 PFCG Roles managementThis chapter describes in brief how the apps (i.e. Catalogs and Groups) are assigned to the users using PFCG Roles. The first section describes how to create your own pfcg Role – using as example the previously created catalog and group.

The second chapter describes how to copy SAP delivered PFCG-Roles to customer name space. Those roles can be adapted freely due to customer needs.

5.1.4.1Creating a Sample PFCG Role and Assign to End Users

UseAccess to Catalogs and Groups are controlled by PFCG roles in ABAP Front-End Server, accesses are granted to end users by assigning the roles to end users.

Procedure1. In the ABAP front-end server, access the activity using the following navigation option:

© SAP SE Page 22 of

Page 23: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

Transaction Code PFCG

2. On Role Maintenance screen, input Role as Z_RDS_BCR (as example) and choose Create Single Role.

3. On the Create Roles screen, choose the Menu tab.

4. Choose + and select SAP Fiori Tile Catalog.

5. On the Assign Catalog dialog box, choose Catalog Provider as Fiori Launchpad Catalogs, and then input Catalog ID as Z_RDS_BC, and then choose Continue (Enter).

6. Choose + again and select SAP Fiori Tile Group.

7. On the Assign Group dialog box, input Group ID as Z_RDS_BCG, and then choose Continue (Enter).

8. Choose the User tab, input User ID as End User IDs like FIORI_USER, and then choose User Comparison.

9. Close the Compare Role User Master Record dialog box, and then choose Save (Ctrl+S).

5.1.4.2 Copy SAP Delivered PFCG to Customer Name Space

UseOnce you want to use SAP delivered PFCG Roles it is mandatory to copy these PFCG roles to your customer name space. You can adapt those roles due to your needs, i.e. add or remove catalogs or groups.

Procedure1. In the ABAP front-end server, access the activity using the following navigation option:

Transaction Code PFCG

2. On Role Maintenance screen, click into the role field and choose F4 to get the search window opened.

© SAP SE Page 23 of

Page 24: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics3. Enter the name of the role you want to copy and choose Start search button.

4. Select the role in the displayed list and choose Copy.

5. You have now selected a role. Choose Copy role button.

6. Enter a name in to role field which fits to your naming conventions and used customer name space (example: Z_<original name of SAP delivered role>).

7. Choose Copy all button.

8. Choose the User tab, input User ID as End User IDs like FIORI_USER, and then choose User Comparison.

9. Close the Compare Role User Master Record dialog box, and then choose Save (Ctrl+S).

5.1.5 Creating a Target Mapping (Optional)

UseThe target mapping is the link to entries in Overview in the Launchpads transaction (transaction code LPD_CUST in Front-End Server), and also to a Fiori app URL directly. Since every SAP app has a Target Mapping in Catalog associated already (delivered via the UI Add-on On in SAP Frontend Server), you only need to create a Target Mapping when creating your own app.

Procedure1. In Launchpad Designer, choose a Catalog, and then choose Target Mappings icon tab

filter.2. Choose Create Target Mapping in the bottom.

3. In the Configure: 'Target Mapping' screen, in the Intent segment, choose Semantic Object and input Action as any value fits your business requirement.

4. In the Target segment, choose Source of the Navigation Target as Other SAP Fiori App, input Launchpad Role, Launchpad Instance and Application Alias as defined in transaction Overwiew of Launchpads (transaction code LPD_CUST) in the ABAP Front-End Server, and then choose Add.

5. Check if the Target Mapping is added.

5.1.6 Adding a Static Tile into the Sample Catalog and Group

UseThe configuration of a Tile consists out of a link to Target Mapping and the tile configuration itself. Most Fiori Apps use Static Tiles. Since this step will be repeated several times for every app, it is described centrally here for reference.

Procedure1. In Launchpad Designer, choose a Catalog to be used as a copy template for your purpose.2. Choose the icon tab filter Target Mappings.

3. Choose a line, and then choose Create Reference.

4. On the Select Catalog dialog box, choose Z_RDS_BC.

© SAP SE Page 24 of

Page 25: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics5. In Launchpad Designer, choose the Catalog Z_RDS_BC, check the Target Mapping is

added.On the right side panel, choose Tiles, and then choose the big + Add Tile.

6. On the Select a tile template screen, choose App Launcher - Static.

7. The Configure: 'App Launcher # Static' screen shows up. Enter Title and Subtitle as the Fiori app's name and description, and choose an Icon. It will be displayed in the Launchpad tile. Enter a Semantic Object and Action. They need to be related to the Semantic Object and Action in the Target Mapping. Choose Save, the screen will be automatically guide you back to the Catalog Z_RDS_BC.

8. Choose the Group Z_RDS_BCG, and then choose the big + Add Tile.

9. On the Add Tile to 'Z_RDS_BCG' screen, choose the input help button.

10. In the Catalogs dialog box, choose the Z_RDS_BC Catalog. All tiles of this Catalog will be displayed. Tiles with a green Check are already added to the group, tiles with a GREY plus are not yet part of the group.

© SAP SE Page 25 of

Page 26: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

11. Choose the GREY plus below the Tile, it will turn to the GREEN check, the Tile is added. Choose the back arrow, check the Tile is added to the Group.

5.2 Additional Configuration Steps per Application Please finish the following chapters according to your analytic application’s type.

5.2.1 Smart Business

UseSmart Business Analytical Apps use OData from CDS View, and in Front-End use KPI Tiles which are generated by KPI Modeler, below will use Order-to-Cash Performance Monitor to demonstrate how to get insight of Analytical Apps.

5.2.1.1Checking Analytic App in KPI Modeler

Procedure1. In Front-End Server, assign role SAP_BR_ANALYTICS_SPECIALIST using transaction code

PFCG (Display Roles) to your user.2. In Launchpad, choose tile KPI Workspace in group KPI Design.

3. Search and choose the KPI Order-to-Cash Performance, and then choose the Evaluation Order-to-Cash Performance, you can see detail information of the Evaluation.

4. In Launchpad, choose tile Create Tile in group KPI Design.

5. Search and choose the Evaluation Order-to-Cash Performance, and then choose the Tile Order-to-Cash Performance(Order-to-Cash Performance – Totals and Lead Times).

6. In the Add Tile screen, you can see detail information of the Tile

© SAP SE Page 26 of

Page 27: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

5.2.1.2 Checking Analytical App in Catalog

Procedure7. In Launchpad Designer, choose the Catalog SAP_SD_BC_SALES_PROC_PERF .8. In the second Tile tab, you can see the Tile configuration, since it’s generated by KPI

Framework, you can only see it’s a Comparison Tile and can’t be configured here.

9. In the Target Mapping tab, there’s only 1 line since all the Smart Business apps use the same Semantic Object * and Action analyzeSBKPIDetailsS4HANA.

5.2.1.3Adding a KPI App Tile into Group

Procedure1. In Launchpad Designer, choose the Group Z_RDS_BCG, and then choose the big + Add

Tile.2. On the Add Tile to 'Z_RDS_BCG' screen, choose the input help button.

3. In the Catalogs dialog box, choose the SAP_SD_BC_SALES_PROC_PERF Catalog; all the tiles in the Catalog will appear.

4. Add the KPI App Tile and then choose the back arrow, check the KPI App Tile is added into the Group Z_RDS_BCG.

5.2.2 Web Dynpro Application

UseWeb Dynpro for ABAP or Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web applications in the ABAP environment. Web Dynpro apps can also be accessed via the Fiori Launchpad.

The Application Type of Webdynpro applications in transaction LPD_CUST is Web Dynpro ABAP. The LPD_CUST entries are pre-delivered for all SAP delivered apps.

5.2.2.1 Creating a Webdynpro Target Mapping into Catalog

Procedure1. In Launchpad Designer, choose the referenced Catalog, and then choose the icon tab filter

Target Mappings in the right panel.2. Choose the referenced Target mapping line, and then choose Create Reference.

3. In the Select Catalog dialog box, choose Catalog name, eg: Z_RDS_BC.

4. Check the Target Mapping that is added into the Catalog eg: Z_RDS_BC.

5.2.2.2 Adding a Webdynpro App Tile into Catalog and Group

ProcedurePlease refer to chapter "Adding a Static Tile into Catalog and Group" for above Target Mapping.

You can copy the SAP delivered Tile information to your Catalog in the same way.

© SAP SE Page 27 of

Page 28: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

6. Using Custom Analytical QueriesUseThe purpose of this section is to describe how to use Custom Analytical Queries app to create Analytical Queries based on CDS view. A sample content will be created in this section.

Custom Analytical Queries app is only available for SAP S/4HANA Cloud Edition.

We use the Material Stock calculation (CDS view) as an example to go through following configuration steps.

Procedure 1. Log on to the SAP Fiori Launchpad.

2. Access the APP

Choose the tile Custom Analytical Queries from the Query Design group.

3. The Custom Analytical Queries screen displays, and top 50 queries are listed.

4. Choose New to create a new query.

5. In the New Query dialog, enter a name for Query in the Query Name field, for example MaterialStockActual.

6. In the Data View field, enter a Data View name like I_MATERIALSTOCK.

You can also click icon to search the Data View for which the Query would be defined. Typically, the Data View is the whitelisted View released by SAP.

7. Click on OK to create Query.

8. The General Tab shows the basic information of the Query. Enter a more meaningful name for the Query in Label field, for example Material Stock Actual Query.

9. Tap on the Field Selection tab, the Field Selection tab should show 2 sections. The Available Fields list all the fields from the Data Source. The Selected Fields list all the field added into the Query from Data Source.

10. Check the Selection check box of each field to add the field from Data Source into the Query. Select the following fields.

Type Lable Name

Dimension Stock Material Material

Dimension Stor.Location SID StorageLocation

Dimension Batch SID Batch

Dimension Supplier SID Supplier

Dimension Sales order SDDocument

Dimension Sales order item SDDocumentItem

Dimension WBS Element WBSElementInternalID

© SAP SE Page 28 of

Page 29: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

Dimension Customer SID. Customer

Dimension Stock Type InventoryStockType

Dimension Special Stock InventorySpecialStockType

Dimension Company Code CompanyCode

Dimension Base Unit of Measure MaterialBaseUnit

Dimension Plant Plant

Measure Net Amount NetAmountDisplayCurrency

By default, these dimension objects are automatically added as free fields, and those measure objects are automatically added as column fields. They all could also be used in the filters. You can click the remove icon or uncheck the check box to remove the field from the Query.

It is possible that the Data View defines User Input Filters. Custom Analytical Queries automatically inherits the same user Input Filters into the Analytical Query. These user input filters behaves in the same way as the Query user filters, but they cannot be removed from the Query.

11. Tap on Display tab, the Display tab should show 2 sections.

· Left: Display Fields: Current Analytical Query

· Right: Properties Section

12. When select a Field in Analytic Query, the properties of the selected field should be shown in the Properties Section.

13. In Properties section, enter a new label for following fields in Override Label field.

Type Label Override Label

Dimension Stor.Location SID. Storage Location

Dimension Supplier SID Supplier

Dimension Customer SID. Customer

14. Select the line item of free object Plant.

15. Click on Up several times until Plant move to section Row.

16. Tap on Filters tab, the Filters tab should show 2 sections.

· Left: Filter Fields Section: Current Analytical Query.

· Right: Filters Section: Filters of the selected field in the analytical query.

17. Select Company Code in Filter Fields section.

18. Choose the User Input Values radio button to define a User Input Filter for the Query.

19. Make the following entries.

Field Value

Selection Type SingleMultiple Selection Check

Mandatory Uncheck

Default Value Leave empty

© SAP SE Page 29 of

Page 30: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics20. Click Save and Activate.

ResultThe Analytical Query (ZZ1_MaterialStockActual) is created. This is just a simple content, you can create Analytical Queries according to your own business scenarios.

7. Using View Browser UseThe purpose of this section is to describe the process of using View Browser to create Analytical Reports. The View Browser is a Fiori application using which you can quickly and easily search, browse, and tag the analytical queries. This application displays all the analytical queries to which the user has access. 

View Browser app is available for both SAP S/4HANA Cloud Edition and On-Premise Edition.

We use the 'Total actual stock quantity' (CDS view C_MATERIALSTOCKACTUAL) as an example to go through following configuration steps. Business Role SAP_BR_INVENTORY_MANAGER - Inventory Manager is also required.

Procedure 1. Log on to the SAP Fiori Launchpad.

2. Access the APP.

Click the Tile Catalog and choose View Browser from the Query Design group.

3. The View Browser screen displays. All the Analytical Queries which the user has right to use are listed.

4. Search for the Analytical Query, like C_MATERIALSTOCKACTUAL.

5. In the Views list, select the line item of a View to jump to the View Details screen.

6. In View Details screen, you can see more detailed information, such as DEFINITION, ANNOTATION and CROSS REFERENCE.

7. Click Manage Tags to create or delete tags for the View.

8. In Manage Tags dialog, input for example Material Stock.

9. Click on OK.10. You can click icon to add or mark the View as your favorite.

11. Click on Show Content to open the Analytical Query in the Design Studio Fiori application for analysis.

Only a user with authorizations for a view can launch a CDS view in the Design Studio.

12. The Total actual stock quantity screen displays, in the left side of the screen, you can find the Dimensions panel which shows all available measures and dimensions, and the navigation panel.

© SAP SE Page 30 of

Page 31: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics13. Drag and drop measures and dimensions to Navigation panel.

14. By default, all measures are listed in the COLUMNS, and dimensions usually are selected as row objects. You can click Settings -> Swap Axes to exchange their order.

In the initial default mode, data refresh will be down directly after each interaction. If you want to process multiple navigation steps without requesting new data, only when you click the Refresh button, new data will be fetched. You can click on Pause button on the top corner of Navigation Panel to turn off auto update. When you click on Pause, you can see that the Pause button will turn to Refresh button.

15. Click Settings -> Totals.

16. In Totals dialog, choose Hide All With Only One Member in Show Totals section.

17. Choose Above in Total Position section.

18. Click OK.

19. You can click the three icons to switch the display from table to chart and to a combined table chart display. Click to switch the display from table to a combined table chart display.

20. Click on OK.

21. Click Actions in the bottom right corner.

22. Select Save as Tile.

23. In Save as Tile dialog, make the following entries.

· Title: for example Stock Analysis

· Subtitle: for example Query Sample

24. Click OK.

25. Back to Home page.

26. You can see the tile Stock Analysis displays in My Home group.

Result The Analytics Report (Stock Analysis – Query Sample) is created. This is just a simple content, Analytical reports are using a generic approach that enables you to analyze your data and visualize your results.

8. Smart Business Modeler Apps

8.1 Using Create KPIUse

© SAP SE Page 31 of

Dimension panel

Field Description Type

COLUMNS Measures Measure object

ROWS Plant Dimension object

Stock Type Dimension object

Page 32: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded AnalyticsThe purpose of this section is to describe how to use Create KPI app to create KPI based on CDS view.

We use the 'Purchase Order Value Help' (CDS view C_PURCHASEORDERVALUE) as an example to go through following configuration steps. Business Role SAP_BR_BUYER - Strategic Buyer is also required.

Procedure 1. Log on to the SAP Fiori Launchpad.

2. Access the APP

Click the Tile Catalog and choose Create KPI from the KPI Design group.

3. The Create KPI screen displays. This screen should show 2 sections, Parameters and Data Source.

4. In Parameters section, make the following entries.

· *Title: for example Purchase Order Value - PA

· Description: for example Purchase Order Value - PA

· Goal Type: select Minimizing(Lower is better)5. In Data Source section, make the following entries.

· CDS View: select C_PURCHASEORDERVALUE· Select OData Service: select

/sap/opu/odata/sap/C_PURCHASEORDERVALUE_CDS· Entity Set: select C_PurchaseOrderValueResults· Value Measure: select PurOrdNetAmountInDisplayCrcy

6. Click Activate or Activate and Add Evaluation.

7. If display Save Transport dialog, click Local Object button.

When you click on Activate, the KPI will be saved first and then activated. If you click on Save, the KPI will only be saved and not activated. Has not been activated KPI can’t be used for subsequent configuration. You can activate a KPI in the KPI Workspace app.

ResultThe KPI (Purchase Order Value - PA) is created. But now the KPI is just a shell, you need to add some content to it. This is what the next step will describe.

8.2 Using Create Evaluation

UseThe purpose of this section is to describe the process of using Create Evaluation app to add evaluations to the KPI that is created in the section7.1.

Procedure 1. Log on to the SAP Fiori Launchpad.

2. Access the APP.

© SAP SE Page 32 of

Page 33: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded AnalyticsClick the Tile Catalog and choose Create Evaluation from the KPI Design group.

3. The Add Evaluation screen displays. This screen should show 3 sections, Parameters, Data Source and Input Parameters and Filters.

4. In Parameter section, search and select the KPI created above, Purchase Order Value – PA in *Selected KPI field.

When you select a KPI in *Selected KPI field, there will be a new section appears at the end of the page, Target, Thresholds, and Trend.

If you choose Activate and Add Evaluation in step 6 in section 7.1, you can ignore step1- step 4.

5. In Parameter section, enter a meaningful name for the Evaluation in *Evaluation field, like Last 1 Year – PA.

6. In Data Source section, keep the default settings.

7. In Input Parameters and Filters section, make the following entries for Input Parameters.

· Display Currency Equal to(=): for example EUR

· Evaluation Period Equal to(=): for example 365

8. In Target, Thresholds, and Trend section, make the following entries.

· Value Type: select Fixed Value· (3) Critical: for example 500000

· (2) Warning: for example 400000

· (3) Target: for example 300000

9. Click Activate or Activate and Configure Tile.

When you click on Activate, the Evaluation will be saved first and then activated. If you click on Save, the KPI will only be saved and not activated. Has not been activated Evaluation can’t be used for subsequent configuration. You can activate a Evaluation in the KPI Workspace app.

Result The Evaluation (Last 1 Year - PA) is created.

8.3 Using Create Tile

UseThe purpose of this section is to describe the process of using Create Tile app to create a tile to assign the KPIs.

Procedure 1. Log on to the SAP Fiori Launchpad.

2. Access the APP.

Click the Tile Catalog and choose Create Tile from the KPI Design group.

3. The Configure KPI Tiles Web page displays. This page should show 2 main section, All Active Evaluations and Configured Tiles.

4. In All Active Evaluations section, select the Evaluation created above, Last 1 Year - PA.

© SAP SE Page 33 of

Page 34: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

You can see the Configured Tiles section displays “No tiles have been created yet”.5. Click on Add Tile in the lower right corner of the page.

6. The Add Tile screen displays.

If you choose Activate and Configure Tile in step 9 in section 7.2, you can ignore step1- step 5.

7. In Tile Configuration section, make the following entries.

· Tile Format: for example, select Numeric Tile· Title: keep default setting or enter another meaningful name, for example Purchase

Order Analysis.

· Subtitle: keep default setting or enter another meaningful name, for example KPI Sample.

· Keywords: leave empty

· Catalog: select a relevant catalog to assign the Tile

8. Click Save or Save and Configure Drill-Down.

Result The Tile (Purchase Order Analysis – KPI Sample) is created.

8.4 Using Configure Drill-Down

UseThe purpose of this section is to describe the process of using Configure Drill-Down app to configure charts for the Evaluation created in section 7.2.

Procedure 1. Log on to the SAP Fiori Launchpad.

2. Access the APP.

Click the Tile Catalog and choose Configure Drill-Down from the KPI Design group.

3. The Configure KPI Drill-Down Web page displays. This page should show 2 main section, All Active Evaluations and Drill-Down Configuration Details.

4. In All Active Evaluations section, select the Evaluation created above, Last 1 Year - PA.

You can see the Drill-Down Configuration Details section displays “No drill-down has been configured yet”.5. Click on Configure in the lower right corner of the page.

6. The Select dialog displays.

If you choose Save and Configure Drill-Down in step 8 in section 7.3, you can ignore step1- step 4.

© SAP SE Page 34 of

Page 35: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics7. In Dimension tab, select Calendar Month.

8. Tap on the Measure tab, select PO Net Amount(Main Measure).9. Click OK.

10. The Drill-Down Chart Configuration screen displays.

11. Select Column in Chart Type field.

12. In *View Title field, enter a meaningful name for the chart for example PO Net Amount by Month.

13. Click OK.

14. The SAP Smart Business Generic Drill-Down screen displays.

15. Keep the default setting in this screen.

16. Click Save Configuration.

17. Back to the Drill-Down Configuration Details section, the configured view PO Net Amount by Month displays in the section.

Result The View (PO Net Amount by Month) is configured.

8.5 Add Tile to Home

UseThe purpose of this section is to describe the process of adding the tile to the My Home group.

Procedure 1. Log on to the SAP Fiori Launchpad.

2. Click icon in the higher left corner of the page.

3. Click icon

4. Click plus icon in My Home group.

5. The App Finder – Personalize Group screen displays.

6. In Search in tile catalog field, enter the name of the Tile you have created, for example Purchase Order Analysis.

7. Press ENTER .

8. Click the icon at the bottom of the Tile.

9. Click icon back to Home Page.

10. You can see the Tile Purchase Order Analysis – KPI Sample displays in My Home group.

11. Click Done button.

Result The Tile (Purchase Order Analysis – KPI Sample) is added to My Home group.

© SAP SE Page 35 of

Page 36: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

For more information about SAP Smart Business, you could find more information in http://help.sap.com/saphelp_uiaddon10/helpdata/en/cd/d9028a5ffd48be8b03b7d61228d788/frameset.htm

9. Creating Custom CDS View

9.1 Creation of Custom CDS View UseThe purpose of this section is to describe how to customize CDS Views (consumption views) from ABAP Perspective in SAP HANA Studio. A sample content will be created in this section.

Since it’s an advanced enhancement, ABAP coding experience and data dictionary knowledge are required for this chapter as IT users.

Procedure 1. Log into SAP HANA Studio choosing the following navigation option:

Windows Start Menu Start -> All Programs -> SAP HANA -> SAP HANA Studio

2. In menu bar, select Window -> Open Perspective -> Other…3. In Open Perspective dialog box, select ABAP.

4. Click OK.

5. In Project Explorer View, right click the blank.

6. Select New -> ABAP Project….

7. In New ABAP Project dialog box, provide the System Details.

8. Choose Select connection from SAP Logon radio button.

9. Click Browse….

10. Select the relevant system connection in Select Existing System dialog box, for example QE4.

11. Click on OK.

12. Click Next >.

13. Enter logon details.

Parameters ValueClient <Client>

For example, 225User <User>

Your SAP S/4HANA userPassword <Password>

Your password

14. Click Finish.

15. The System (QE4) ABAP Repository Details will now be shown in Project Explorer tab.

16. Right-click on the relevant package, like $TMP.

© SAP SE Page 36 of

Page 37: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics17. Select New -> Other ABAP Repository Object.18. In New ABAP Repository Object dialog box, extend Core Data Services.

19. Click DDL Source.

20. Click Next >.

21. In New DDL Source dialog box, please enter a name in Name:* box which follow a meaningful naming convention, as per your requirements. for example ZC_MATBYDATE_N1

22. Enter description in Description:* box, for example Material Stock at posting date.

23. Click Next >.

24. Provide a meaningful Transport Request .If transport number is not available, create your own request.

25. Click Next >.

26. Provide a Meaningful Template to start with .Here we are using Define View template.

On selection of a particular template, the sample code is displayed. 27. Click Finish.

The Following sample code related to the selected template would be appearing in the code editor. @AbapCatalog.sqlViewName: 'ZCMATBYKDATE_N1' @ClientDependent: [email protected]: [email protected]: #CHECK @EndUserText.label: 'Material Stock at posting date' define view ZC_MATBYDATE_N1 as select from data_source_name { }

28. Enter relevant codes in the code editor.

Sample code used in this script is displayed below:

@AbapCatalog.sqlViewName: 'ZCMATBYKDATE_N1'@EndUserText.label: 'Material Stock at posting date'@AbapCatalog.compiler.compareFilter: [email protected]:#[email protected]: #[email protected]: #[email protected]:#[email protected]: #[email protected]:[email protected]: #[email protected] : true@Analytics:{dataExtraction.enabled:true}@OData.publish: truedefine view ZC_MATBYDATE_N1  with parameters    @Consumption.hidden: true    @Environment.systemField: #SYSTEM_LANGUAGE    P_Language : sylangu,    @Environment.systemField: #SYSTEM_DATE    P_KeyDate  : vdm_v_key_date  as select from I_MaterialStock{

© SAP SE Page 37 of

Page 38: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics  // Stock Identifier  @ObjectModel.text.element: ['MaterialName']  Material,  @ObjectModel.text.element: ['PlantName']  @AnalyticsDetails.query.axis: #ROWS  Plant,  @ObjectModel.text.element: ['StorageLocationName']  StorageLocation,  Batch,  @ObjectModel.text.element: ['InventoryStockTypeName']  InventoryStockType,  @ObjectModel.text.element: ['InventorySpecialStockTypeName']  InventorySpecialStockType,  // Further Stock Groups  CompanyCode,  // Quantity and Unit  MaterialBaseUnit,  @AnalyticsDetails.query.axis: #COLUMNS  MatlWrhsStkQtyInMatlBaseUnit,  // Names and descriptions  _Material._Text[1: Language=$parameters.P_Language].MaterialName,  _CompanyCode.CompanyCodeName,  _Plant.PlantName,  _StorageLocation.StorageLocationName,  _InventoryStockType._Text[1: Language=$parameters.P_Language].InventoryStockTypeName,  _InventorySpecialStockType._Text[1: Language=$parameters.P_Language].InventorySpecialStockTypeName}where  MatlDocLatestPostgDate <= $parameters.P_KeyDate

The code displayed is a sample one exclusively for this demo. For your custom requirements, please add the related code and ensure that the proper annotations are maintained.

29. Click Check ABAP Development Object (Ctrl+F2) to check code syntax.

30. Click Activate (Ctrl+F3) to activate the code.

You can see the activation process running. After CDS activation, you can see the objects have been activated.

ResultIn this sample, we can see a Data Definition object named ZC_MATBYDATE_N1, and a Dictionary View object named ZCMATBYKDATE_N1.

9.2 Register the Auto Generated Service

UseThe purpose of this section is to describe the steps of registering the auto generated Service in the Gateway System.

© SAP SE Page 38 of

Page 39: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

We will use the ‘Material Stock at posting date' (CDS view ZC_MATBYDATE_N1) which is just created in former session as an example to go through following configuration steps.

Procedure 1. Login to SAP Gateway System.2. Access the activity using the following navigation options:

Transaction Code /n/IWFND/MAINT_SERVICE

3. In Activate and Maintain Services screen, click Add Service.4. In Add Selected Services screen, Enter SAP S/4HANA backend system into System

Alias fields, for example QE4CLNT225.5. Enter the service name generated against your CDS View into Technical Service Name

fields, in this case the services name is ZC_MATBYDATE _N1_CDS.6. Click Get Services.7. You can see the service in Select Backend Services section. 8. Select the particular service technical name.9. In Add Service dialog, provide a Package where you defined your CDS View.10. In Creation Information section, enter the Package name in Package Assignment box.11. Click Continue (Enter).12. In Prompt for transportable Workbench request pop-up dialogue box, click Create

Request to create a new Transport request.13. In Create Request pop-up dialogue box, provide a meaningful description for the transport

number in Short Description box, for example Transportation for CDS.

14. Click Save .15. In Information pop-up dialogue box, an information message stating that the service is

created and metadata is loaded successfully is displayed.16. Click Continue .

17. Click on Back button to back to Activate and Maintain Services screen.18. Select the service line item just created in Service Catalog section.19. Click SAP Gateway Client to check the service.20. In SAP Gateway Client screen, you can see the Request URI in Request URI box, in this

case the Request URI is /sap/opu/odata/sap/ZC_MATBYDATE _N1_CDS/?$format=xml .

21. Click Execute.22. In HTTP Response section, you can see the xml format with Status Code 200.

Status Code 200 here means that the related service is working fine.

Result The OData Service ZC_MATBYDATE _N1_CDS is created and metadata loaded successfully. Like other standard OData service offered by SAP, this service could be consumed by further front end embedded SAP S/4HANA analytics apps, like Query Browser or Smart Business Modeler Apps.

9.3 Data Preview with Analysis Path Framework (APF) Application

© SAP SE Page 39 of

Page 40: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded Analytics

UseThe purpose of this section is to describe the steps how to preview the custom CDS view Data with an APF application which is consuming OData service.

The steps will be described with example ‘Material Stock at posting date' (OData service /sap/opu/odata/sap/ZC_MATBYDATE_N1_CDS/) which is just created in former session.

Procedure 1. Login to SAP Fiori Launchpad2. In Analysis Path Framework group, click on tile APF Configuration Modeler.3. The APF Configuration Modeler screen displays. 4. To add an application, click the + icon.5. In New Application dialog, enter the following.

Field Explanation*Description For example, Material Stock AnalysisSemantic Object Keep the default setting: FioriApplication

6. Click Save.7. You can see the application in Applications list.8. Select the application, we will jump to New Configuration page.9. Enter a name for the new Configuration in *Configuration Title: box, for example

Material Stock Analysis.10. Click on Save.11. Click Add -> New Category.12. Enter a name for the new Category in *Category Title: box, for example Plant.13. Click on Save.14. Click Add -> Step -> New Step.15. Enter the followings.

Field Explanation*Step Title: For example Material Stock By Plant*Category Assignments:

Select Plant

*Service: Enter your Odata Service, in this case is /sap/opu/odata/sap/ZC_MATBYDATE_N1_CDS/

*Entity Set: Select an entity set, in this case select ZC_MATBYDATE_N1

*Properties: Select Plant, PlantName, MatlWrhsStkQtyInMatlBaseUnit

Selectable Property Select Plant

16. Click on Save.17. Click Add -> New Representation.18. Select the followings.

Field ExplanationType: Select Column Chart

© SAP SE Page 40 of

Page 41: Business Process Procedures - SAP Service …sapidp/... · Web viewIn particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in

SAP Best Practices

Technical Setup and Enablement for SAP S/4HANA Embedded AnalyticsSorting Field Select PlantNameDirection Select Descending

19. Click on Save.20. Click Add -> New Category.21. Enter a name for the new Category in *Category Title: box, for example Material.22. Click on Save.23. Click Add -> Step -> New Step.24. Enter the followings.

Field Explanation*Step Title: For example Top 10 Material value*Category Assignments:

Select Material

*Service: Enter your Odata Service, in this case enter /sap/opu/odata/sap/ZC_MATBYDATE_N1_CDS/

*Entity Set: Select an entity set, in this case select ZC_MATBYDATE_N1

*Properties: Select Material, MaterialName, MatlWrhsStkQtyInMatlBaseUnit

Data Reduction Type:

Select Top N

*Number Of Records:

10

Sorting Field Select MatlWrhsStkQtyInMatlBaseUnitDirection Select Descending

25. Click on Save.26. Click Add -> New Representation.27. Select the followings.

Field ExplanationType: Select Column Chart

28. Click on Save.29. Click on Execute to test the application.

ResultThe Data could be previewed in APF execution mode.

© SAP SE Page 41 of