Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Wilson Wei
© 2018 SAP AG. All rights reserved.
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and
other Sybase products and services mentioned herein as well as their
respective logos are trademarks or registered trademarks of Sybase Inc.
Sybase is an SAP company.
Crossgate, m@gic EDDY, B2B 360°, and B2B 360° Services are registered
trademarks of Crossgate AG in Germany and other countries. Crossgate is an
SAP company.
All other product and service names mentioned are the trademarks of their
respective companies. Data contained in this document serves informational
purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are
provided by SAP AG and its affiliated companies ("SAP Group") for
informational purposes only, without representation or warranty of any
kind, and SAP Group shall not be liable for errors or omissions with respect
to the materials. The only warranties for SAP Group 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.
Document History
2
How to Setup Smart Business for SoH
www.sap.com
TABLE OF CONTENTS
4
Chapter 1
Installing Smart Business for SoH?
SAP Smart Business is a framework for exposing strategic (key) and operational performance
indicators (KPIs, OPIs) as Fiori applications without the need to write any code.
Smart Business is released in various flavors depending on the underlying technology platform.
Specifically, there are the following separate Smart Business shipments:
• Smart Business for Suite on Hana (SoH) delivery
• Smart Business for S/4Hana delivery
• Smart Business in SAP Cloud Platform as a service
This document only contains the installation and configuration about the Smart Business for SoH,
if you are using S/4 HANA system, please check the KBA: 2601847 - How to Set up a Smart
Business Tile.
5
• Side-by-Side Scenario
In this scenario, the ABAP back-end server with an underlying anyDB is connected with SAP HANA XS on
an SAP HANA database via data replication.
1.1 Installing SAP Smart Business Modeler Apps on the Front-End Server
6
2. Run transaction code SAINT in the Frontend system and load package from Front End
8
1.2 Installing SAP Smart Business Products on SAP HANA Server
1. Download the SAP ANALYTICS FOUNDATION 1.0 from SAP Support launchpad
10
Chapter 2
Installing and Configuring Web Dispatcher
2.1 Installing SAP Web Dispatcher
For Smart Business apps, the XS OData service requests are sent to the HANA XS system directly which will cause
Cross Origin issue as Frontend system and HANA XS have different domain. So, a reverse proxy is required for
Smart Business for SoH.
1. Download SAP Web Dispatcher based on the server OS from SAP Support Launchpad
#HANA
wdisp/system_2 = SID=S4D, XSSRV=https://testhanadb.sap.com:43<instance number>, SRCSRV=*:*,
SRCURL=/sap/hba/;/sap/hana, SSL_ENCRYPT=0
15. Open HANA Studio and set the parameter wdisp/filter_xs_internal_uri to "false"
14
2.3 Importing HANA XS server certificate to SAP Web Dispatcher
15
21. Open SAP Web Dispatcher admin page:
<protocol>://<host_name>:<port>/sap/wdisp/admin/public/default.html
22. Open SAPSSLC.pse in the PSE Management
23. Import the HANA server certificate
1. Run transaction code SU01 and assign the following two roles to the user:
• Role /UI2/SAP_KPIFRW5_TCR_S for SAP Smart Business runtime (to all users)
• Role /UI2/SAP_KPIMOD_TCR_S for KPI modeling (to key users, administrators)
2. Open HANA Studio and find the user in the Users tab
3. Click “+” sign in the Granted Roles tab
17
4. Assign the following two roles to the user:
• sap.hba.r.sb.core.roles::SAP_SMART_BUSINESS_MODELER for KPI modeling (to key users,
administrators)
• sap.hba.r.sb.core.roles::SAP_SMART_BUSINESS_RUNTIME for SAP Smart Business runtime (to
all users)
A calculation view can perform complex calculations joining different tables, standard views and even other
calculation views as sources. Smart Business for SoH consume calculation view through XS OData service. In this
chapter, I will create a simple XS OData service only for demo purpose to give you a whole image how smart
business works.
1. I created a custom schema KPIDEMO and twos tables. SALESDATA table contains the sales data for the
two employees, I will calculate the employee performance.
19
3. Create a package in the content folder
4. Right click the package to create a calculation view
20
7. Add two projection nodes by dragging and dropping Projection nodes from the Nodes lateral bar. These
nodes will be used to join the EMPLOYEE to SALESDATA
22
11. Add the properties to output for Projection_2
24
4.2 Creating XS OData service
18. Open the SAP HANA Development perspective in SAP HANA Studio
25
20. Give the project a name
27
24. Give a name for the XS OData service
28
26. Right click the XS OData service to run as a XS service
29
Chapter 5
Creating a KPI and a Tile in Fiori Launchpad
5.1 Creating a KPI
30
3. Select the data source and press Activate and Add Evaluation
31
5. Save and activate the tile then configure the KPI drill-down
32
7. Configure the visualization type then save
33
10. The app will display
34