SAP Fiori Implementation PDF
SAP Fiori Implementation PDF
Reading Sample
SAP Fiori provides three types of apps: transactional, fact sheet, and analytical.
Prior to developing and extending these apps, they must be implemented on a
database. Discover how to implement analytical apps on an SAP HANA database
both with and without the SAP Smart Business Modeler. This chapter will outline
the steps necessary to complete this process.
Contents
Index
The Author
Anil Bavaraju
SAP Fiori Implementation and Development
569 Pages, 2016, $79.95/79.95
ISBN 978-1-4932-1248-4
www.sap-press.com/3883
2016 by Rheinwerk Publishing, Inc. This reading sample may be distributed free of charge. In no way must the file be altered, or
individual pages be removed. The use for any commercial purpose other than promoting the book is strictly prohibited.
This chapter walks you through implementing analytical apps with and
Chapter 6
In Section 6.1, well begin with an overview of the standard analytical apps and
analytical apps that are created using SAP Smart Business Modeler, which are
enriched analytical apps with real-time key performance indicator (KPI) data that
are designed for specific business roles. Well include in our discussion the SAP
Fiori roles for different lines of business (LOBs). Well then look at the prerequi-
sites that need to be covered prior to the Days Sales Outstanding app implemen-
tation in Section 6.2, before diving into the KPI modeling steps.
In Section 6.3, well discuss the SAP Smart Business Modeler and model a KPI
using an example based on the Days Sales Outstanding app. In addition, well
cover the technical aspects of the SAP Smart Business Modeler and show you how
to leverage them in conjunction with an analytical app. Youll then learn how to
create a generic drilldown application using the SAP Smart Business Modeler. At
the end of this section, well show you how to create your own catalogs and
groups to enable the app.
In Section 6.4, well introduce you to analytical apps that dont require the SAP
Smart Business Modeler to implement them. Well use an example based on the
Profit Analysis app and provide high level steps on how to implement them. As
previously mentioned, these steps apply to most analytical apps that dont use the
SAP Smart Business Modeler.
213
6 Implementing Analytical Apps Implementation Prerequisites 6.2
6.1 Overview These apps provide real-time insight into your business. For example, Figure 6.1
shows your companys collection progress, days sales outstanding, and other
SAP Fiori analytical apps are the new user experience (UX) for SAP Business Suite KPIs. Youll be able to further drill down from this KPI or operational perfor-
powered by SAP HANA and are developed using SAPUI5. These apps allow real- mance indicators (OPIs) to a detailed analysis. In the next section, well show you
time insights into your business by displaying KPIs, allowing you to make faster, how to model a KPI or OPI and how to drill down from that KPI tile.
better decisions. In this chapter, well show you how to configure both analytical
app types with examples based on the Days Sales Outstanding app and the Profit What Are KPI and OPI?
Analysis app, respectively. Both KPIs and OPIs refer to the vital metrics of an aspect of your business from different
perspectives that are crucial to the success of your business. KPIs look at board catego-
There are two types of apps under the analytical umbrella:
ries such as the sales of a particular region, and OPIs focus on a specific measure of a
Analytical apps (non-smart apps) specific function or operation, for example, orders processed per shift.
These apps provide real-time information on large volumes of data.
Analytical apps designed using SAP Smart Business Modeler The following are some of the key benefits of analytical apps designed using the
These apps closely monitor the most important KPIs. SAP Smart Business apps SAP Smart Business Modeler (smart apps):
are analytical apps that offer drilldown capabilities based on the SAP Smart They offer role-based access to all relevant information, such as KPIs, OPIs,
Business framework. news feeds, specific tasks, trends, and alerts.
In Chapter 1, we discussed SAP Fiori roles for different LOBs. For example, under You can easily build your own KPI with the threshold values and color-coded
the SAP UX for Finance LOB, you have accounts payable, accountant, cash man- visualizations.
ager, GL accountant roles. Certain apps can be configured for each of these roles. You can create a drilldown from one application to another, to an SAP Lumira
Figure 6.1 shows an SAP Smart Business product called SAP Smart Business for storyboard, or to an SAP BusinessObjects Design Studio application.
SAP S/4HANA Finance (formerly SAP Smart Business for SAP Simple Finance).
They provide end-to-end insight into action scenarios, including simulation
These products contain one or more analytical apps. Similarly, for each LOB,
and forecasting.
there are different SAP Smart Business products.
Weve covered some of the basic concepts of analytical apps. Before you enable
SAP Smart Business for Accounts Receivable and implement these two types of analytical apps, lets review some of the pre-
requisites.
Overdue Days Sales Future Days Beyond
Receivables Outstanding Receivables Terms
214 215
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
The following is a quick checklist of components that should be installed and con- There are two ways to implement analytical apps, and the implementation differs
figured in your system: according to the type of app that you want to use:
Install the KPI framework on the ABAP frontend server Analytical apps launched using the KPI tile
Enable the KPI framework on the SAP HANA server For these types of apps, you can either model your KPI or use predefined KPIs
with the SAP Smart Business Modeler apps. In addition, you can even configure
Install SAP Gateway on the ABAP frontend server
a generic drilldown using a predefined template or a custom drilldown. Well
Install the central UI components cover this implementation method in Section 6.3.
Install the following SAP Smart Business products on the ABAP frontend Analytical app that uses the app launcher tile
server: App-specific content is provided for these types of apps. This content defines
SAP Smart Business for CRM 1.0 what to display and how to display it in SAP Fiori Launchpad. You cant adapt
SAP Smart Business for FCC 1.0 or configure the information displayed by these apps. Well cover this imple-
mentation method in Section 6.4.
SAP Smart Business for ERP 1.0
Well begin by implementing analytical apps using the SAP Smart Business Modeler.
SAP Smart Business for GRC 1.0
SAP Smart Business for EM 1.0
SAP Smart Business for TM 1.0 6.3 Analytical Apps with the SAP Smart Business Modeler
Configure the SAP Web Dispatcher
The SAP Smart Business Modeler is a tool delivered as part of the SAP Smart Busi-
Install the SAP HANA Application Lifecycle Manager (HALM)
ness suite. This tool allows you to model KPIs and report tiles that enable targeted
Enable SAP HANA authentication and single sign-on (SSO) monitoring of key business data using SAP Fiori Launchpad.
Assign the PFCG role /UI2/SAP_KPIMOD_TCR_S to your frontend user
You can define KPIs and reports in the SAP Smart Business Modeler to which you
Assign the role, sap.hba.r.sb.core.roles::SAP_SMART_BUSINESS_MODELER, can apply different evaluations so that you can respond to the ever-changing busi-
to your SAP HANA user to access the SAP Smart Business Modeler ness landscape. You can even add additional perspectives on the relevant data
with drilldown views that are accessed through the KPI tile.
Important!
Analytical apps using the SAP Smart Business Modeler are launched via KPI tiles.
You have to implement the SAP Notes that are required for every specific app. Refer to
The Days Sales Outstanding app allows users to filter and drill down by various
the app-specific online help at http://help.sap.com/fiori.
dimensions, and then check the days sales outstanding by customer country and
company code. As you did with the transactional and fact sheet apps chapters,
By now, you know that analytical apps run on an SAP HANA database that houses
refer to the SAP Fiori apps reference library for the app that youll be implement-
the KPI data. For the users to access the data from the SAP HANA database, you
ing in the next section.
need to provide access to SAP HANA from the ABAP frontend server. For that,
you need to enable user access to the KPI data (see Chapter 3, Section 3.2 and Sec- In the next sections, well show you how to create a Days Sales Outstanding ana-
tion 3.3). lytical app using the SAP Smart Business Modeler and how to add a drilldown
from the KPI tile with step-by-step instructions. The first step is to create a KPI.
216 217
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
6.3.1 Create the KPI Goal Type: This indicates which kind of KPI value is meaningful for the
The first task is to create a KPI by following these steps: application. Choose from three options:
Maximizing (Higher is better): Higher the better; for example, profit-
1. Log in to SAP Fiori Launchpad.
related KPI values are higher the better.
2. Click the Create KPI app under the KPI Modeler group (see Figure 6.2).
Minimizing (Lower is better): Lower the better; for example, cost-related
KPI values are lower the better.
Target (Closer to target is better): Closer value is to the target is better,
for example, attrition rate.
Here we chose Minimum (Lower is better).
Tags (optional): Enter these to more easily search for your KPI.
Owner Name (optional): Enter the name of the person responsible for exe-
cuting the KPI.
Owner ID And Email (optional): Enter the details of the owner.
If you dont see the KPI modeler group in SAP Fiori Launchpad, then refer Chapter 2,
Section 2.6.4, and grant user access to the KPI modeler.
3. In the next screen, you need to fill in the following mandatory details about the
KPI (see Figure 6.3):
ID: This has to be a unique ID for the KPI; you can either use the auto-gen-
erated ID or use a standard naming convention depending on your business.
For this, we chose sap.press.DaysSalesOutstanding.
Title: Enter a meaningful name because this appears in the tile header at
runtime. Here we entered Days Sales Outstanding (KPI).
Description (optional): Enter Total Days Sales Outstanding for the last 12
months.
Type: Choose Key Performance Indicator (KPI). Figure 6.3 KPI Parameters
218 219
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
4. Scroll down to the next section, and select the values by clicking (see Figure 6.3.2 Create Evaluations of the KPI
6.4). An evaluation defines what information about the KPI or report is visible to the
user at runtime. Its a combination of variant/filters, thresholds, parameters,
trends, and authorizations that are applied to a KPI or a report. You can create and
activate evaluations for the KPIs or OPIs. Several different evaluations can be
applied to a single KPI or report.
220 221
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
5. Next, you need to add the Target, Thresholds, and Trend values. The thresh-
olds defined for the KPI evaluation are determined by the Goal Type you
selected for the KPI earlier in Figure 6.3:
Critical: 100
Warning: 30
Figure 6.6 Evaluation Data Source
Target: 10
3. Next, you need to add variants/input parameters. A variant is a set of filter set- Critical, Warning, and Target values are the threshold values of a KPI. These
tings and input parameters that you define to achieve a particular perspective depend on the goal type selected previously. For example, if you select Lower
on a KPI or a report. Variants can be created without reference to a particular is Better, then your Critical and Warning values should be high. Therefore,
KPI or report because they are global in nature. when the KPI value is above 100, the KPI value color turns red, and when the
4. Scroll down to the Input Parameters and Filters section. Add the input KPI value is below 29, the KPI value color turns green. When the color is yel-
parameters that are expected in the calculation view (see Figure 6.7): low, this indicates that the KPI has a value between 30 and 99 (see Figure 6.8).
P_DisplayCurrency Equal to USD 6. Click Activate and Configure Tile.
P_ExchangeRateType Equal to M Youve now successfully created the KPI with the evaluation and activated the
P_RevnRollingAverageMonths Equal to 1 evaluation. In the next step, youll configure the KPI tile.
P_RblsRollingAverageMonths Equal to 1
222 223
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
Deviation tile
In this tile, data is displayed graphically in the form of a bullet chart that shows
the current value of the KPI in relation to the target value and its thresholds (see
Figure 6.10).
Trend Tile
For this title, data is displayed graphically in the form of a line chart showing
the trend over time. You must enter a time dimension representing a duration
to visualize this tile (see Figure 6.11).
224 225
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
Dual tile
This tile shows two tiles in one single tile. The left part of this tile always dis-
plays the numeric tile, and on the right side, you can select any chart that is sup-
ported (see Figure 6.14).
Lets now look at how to configure a KPI tile using the numeric tile as an example:
1. After clicking Activate and Configure Tile in the previous step, you should
see the screen shown in the Figure 6.15.
2. Select your evaluation, and click Add Tile.
3. Enter the following details as shown in Figure 6.16:
Tile Format: Select Numeric Tile from the dropdown list.
Title (KPI): Enter Days Sales Outstanding (KPI).
Subtitle (Evaluation): Enter Last 12 Months.
Drill-Down: Choose Generic drill-down.
Figure 6.16 Tile Parameters
226 227
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
4. Click Save and Activate. 4. Select the Customer Country from the Dimension list, and click OK (see Fig-
5. Now go back to the home screen by clicking . ure 6.19).
Thats it! Youve successfully created a KPI tile. Now users will see this KPI tile in
SAP Fiori Launchpad. The next step is to create a generic drilldown, so that when
users click on this tile it takes them to a detail level. A drilldown can be a generic
drilldown application, which well be covering in the next section, or it can even
be a drilldown to another application such as SAP Lumira or a custom application.
Create Views
Figure 6.18 Configuring the Drilldown
In this section, well show you how to create views using the dimensions and
measures from the KPI evaluation. Follow these steps:
1. From SAP Fiori Launchpad, click the Configure KPI Drill-Down app (see Fig-
ure 6.17).
228 229
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
You should now see the dimension and the measure that you selected, as
shown in Figure 6.20.
5. You can sort the dimensions by clicking the Sort Order dropdown list (see Fig-
Figure 6.22 Selecting a Visualization Type
ure 6.21).
230 231
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
Drilldown Application
You dont need to activate the drilldown application. Changes are available immediately
as soon as you save the application.
Weve successfully created the Last 12 Months by Customer Company view. You
can create several views and switch between different views during runtime.
Lets add one more view: Days Sales Outstanding by Company Code. Follow
these steps:
232 233
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
3. Enter the following details as shown in Figure 6.27: Follow these steps:
Visualization Type: Choose Column. 1. Click from the header section, as shown in Figure 6.28.
View ID: Enter sap.press.DaysSalesOutstanding.Last12Months.ByCom-
panyCode.
View Name: Enter Last 12 Months by Company Code.
4. Click Save View.
2. Select a Mini Chart; in this example, we selected Actual Vs Target (see Figure
6.29).
With these views, you can analyze data in several formats and with different
selection criteria to allow for better insight into the business processes from dif-
ferent perspectives.
234 235
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
Create Filters In Chapter 2, we gave you an overview of the SAP Fiori architecture with the SAP
The next available option is to create filters. You can specify up to five filters that HANA XS landscape. SAP HANA XS contains the SAP Fiori app content, KPI mod-
allow you to look at the drilldown data from different perspectives. Follow these eling framework, generic drilldown, and the VDM reuse content. SAP HANA XS
steps: reads data from the SAP HANA database. Using the OData services that require
authorizations (i.e., SAP HANA privileges), these privileges are grouped together
1. Click to add filters. in roles, and these roles are assigned to SAP HANA database users.
2. Select the Currency, Customer, and Customer Region filters (see Figure 6.30).
There are certain generic roles that must be assigned to all users. In Chapter 2, we
discussed these roles in greater detail. Besides generic roles, SAP delivers a role
for each analytical app, which includes all app-specific privileges as well. For the
users who need access to a specific app, you need to assign this app-specific role
to the user.
For more information on the SAP HANA role for a specific app, refer to the app-specific
documentation.
Figure 6.31 shows the Days Sales Outstanding app-specific role that has to be
assigned to the user for the user to read the KPI data from the SAP HANA system.
Youve now successfully created a numeric KPI tile with the evaluation and cre-
ated a drilldown with two views. The KPI tile is now ready to be made available
to users on SAP Fiori Launchpad.
236 237
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
To assign this role to a specific user in the SAP HANA system, follow these steps: 5. Search for and then select the sap.hba.r.sfin700.roles::SapSmartBusinessRe-
ceivablesManager role, and then click OK (see Figure 6.34).
1. Log in to SAP HANA Studio.
2. Under the SAP HANA system (HDB SYSTEM), choose Security Users.
3. Double-click the user name (see Figure 6.32).
Youve successfully enabled the user to access data from the SAP HANA database.
For every transactional app and fact sheet app, there is an app-specific SAPUI5
application that has to be activated on the frontend server. However, for analyti-
cal apps, there is just one service that needs to be activated. For all the generic
Figure 6.33 Granted Roles
238 239
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
drilldown applications, the ca_kpi service has to be activated on the frontend 2. Select the evaluation, and click Authorize Users and Roles (see Figure 6.37).
server. Figure 6.35 shows the application details from the online help page.
Note
This step is performed only once; you dont have to reactivate it every time you imple-
ment an analytical app.
6.3.7 Assigning Authorizations to Users 3. You can switch between users and roles by selecting the Users or Roles icons.
The next step is to assign authorization for users/roles to access the evaluations. Then select the User/Role by clicking the checkbox next to the role/user name
To do so, follow these steps: (see Figure 6.38).
4. Click Save.
1. From SAP Fiori Launchpad, click the Manage KPI Authorizations app (see
Figure 6.36).
240 241
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
6.3.8 Enable the App for Access in SAP Fiori Launchpad 2. Click the Tile Catalog button on the bottom left of the screen.
After the ICF service is activated, the next step is to assign authorizations to the 3. Select SAP: KPIs from the catalog dropdown list, as shown in Figure 6.40.
user to access the SAP KPIs catalog in SAP Fiori Launchpad. By now, you know
that SAP Fiori Launchpad is the entry point for SAP Fiori apps. For users, SAP Fiori
Launchpad displays the apps that have been assigned to the catalog designated for
a users role. So, users who have the role SAP_KPIFRW4_TCR_S assigned to their
user ID will have access to the KPIs catalog.
Using Transaction PFCG (Role Maintenance), you can grant access to a user to the
role SAP_KPIFRW4_TCR_S. This role allows the user to view all the analytical
apps that are activated using the SAP Smart Business Modeler. You may want to
refer Chapter 4, Section 4.3.3, on how to add roles to a user. Figure 6.39 shows
the role assigned to an end user using Transaction PFCG.
You should then see the app that you created and activated in previous steps
Figure 6.39 Adding a User to the Role
(see Figure 6.41).
Youve successfully assigned the SAP standard role to a user who now has access
to all the analytical apps. You created the Days Sales Outstanding app with the
SAP Smart Business Modeler, and all the analytical apps that are created using the
SAP Smart Business Modeler are automatically added to the predefined KPIs cat-
alog in SAP Fiori Launchpad. After you activate the app in the SAP Smart Business
Modeler, its automatically added to the KPI Catalog category.
1. Log in to SAP Fiori Launchpad with the Test ID you accessed in the previous Figure 6.41 Days Sales Outstanding Custom App
step (see Figure 6.39).
242 243
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
4. Click on the +, and add the app to your My Home group by checking the box,
and then click OK (see Figure 6.42).
Legend Zoom
hide/display out
Table Zoom
Figure 6.43 My Home Group view in
You should now understand the basics of creating an analytical app with the SAP
Smart Business Modeler and how to grant access to the users. In the next section,
well discuss a more advanced topic: assigning an app using a custom role.
244 245
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
In Chapter 4, Section 4.6, we discussed how to create a custom catalog and cus-
tom role for a transactional app. Youll be following a similar process for non-
smart analytical apps.
To enable your app with custom roles and catalog, you must complete the follow-
ing steps:
9. Click Save.
246 247
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
10. Log in to the SAP Fiori Launchpad designer at http://hostname:port/sap/bc/ semantic object, which allows you to analyze all the semantic objects in a stan-
ui5_ui5/sap/arsrvc_upb_admn/main.html20?sap-client=120&scope=CUST. dardized way.
11. Click Catalogs. Action
12. Create a new catalog by clicking + at the bottom of the screen. Defines which operations are performed on the semantic object, for example,
displaying a purchase order. Here, display is the action, and the purchase order
13. Enter the details shown in Figure 6.49.
is the semantic object.
In the next steps, youll define the target mapping, but before that, lets explore
some of the components of target mapping.
Figure 6.50 Intent and Target
An intent allows users to perform actions on semantic objects. In this example,
we choose *, which means we want to navigate to all the analytical apps and ana- 3. Click Save.
lyze all the details. The Intent area of the screen lets you perform actions without
4. Now create a new group by selecting the Group tab in the SAP Fiori Launchpad
worrying about the technical part of the navigational target.
designer.
Intent has the following components (see Figure 6.50): 5. Create a new group by clicking at the bottom of the screen.
Semantic Object 6. Enter the details shown in Figure 6.51, and click Save.
Represents business entities such as a product or sales order. You can bundle
apps that reflect a specific scenario. In this exercise, were specifying a generic
248 249
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
You should now see the new group created in the SAP Fiori Launchpad
designer.
7. Now add a tile by clicking on the tile with the + sign (see Figure 6.52).
10. Youll now see all the KPI tiles that have been modeled using the SAP Smart
Business Modeler. Select the Days Sales Outstanding (KPI) app by clicking +
at the bottom of the tile, as shown in Figure 6.54.
You should now see the Days Sales Outstanding app added to your group in
the SAP Fiori Launchpad designer.
250 251
6 Implementing Analytical Apps Analytical Apps with the SAP Smart Business Modeler 6.3
7. To search for your group, click on the Search button next to the Group ID.
8. Select the Z_GRP_CM1 group from the popup window (see Figure 6.59). Click
Execute.
5. Enter Z_CAT_U02 in the Catalog id field, and click Confirm (see Figure
Figure 6.59 Group ID
6.57). This is the catalog you created previously.
Youve successfully created the custom role. Your role should now show both the
category and group (see Figure 6.60).
252 253
6 Implementing Analytical Apps Analytical Apps without the SAP Smart Business Modeler 6.4
3. Log in to SAP Fiori Launchpad with the test ID, and you should see the Days
Sales Outstanding (KPI) app under the Sales Managers Group (see Figure
6.62)
The last step in this process is to assign the custom role to the user. Follow these
steps:
In this section, weve explored how to provide user access to analytical apps using
both an SAP standard role and a custom role. Youve successfully created a KPI
tile, completed the frontend tasks, and created user authorizations.
All users must to be assigned to the generic KPI framework role /UI2/SAP_KPIFRW5_
TCR_S. For more information, refer to Chapter 2, Section 2.6.4.
254 255
6 Implementing Analytical Apps Analytical Apps without the SAP Smart Business Modeler 6.4
In the sections that follow, well walk through the necessary tasks to complete
this implementation.
256 257
6 Implementing Analytical Apps Summary 6.5
6.4.3 Assign the App-Specific Catalog Role Sales Order Fulfillment App
The next step is to assign the app-specific PFCG role for the business catalog to the Typically, all SAP Smart Business apps drill down from one analytical app to another
user. After this is enabled, the user will have access to the catalog in SAP Fiori analytical app. However, there is one hybrid app, the Sales Order Fulfillment app, which
Launchpad. Assign the SAP_SFIN_BCR_SALESMANAGER business catalog role to drills down from an analytical app to a transactional app.
an end user (see Figure 6.66). Refer to Chapter 4, Section 4.3.3, for how to assign The Sales Order Fulfillment app is the only hybrid app that uses SAP Gateway (ABAP
roles to users. frontend server) and SAP HANA XS as well. It needs SAP Gateway because it sends
requests to the backend server. After you configure the Sales Order Fulfilment app, it
will be added as an analytical app tile in SAP Fiori Launchpad. When a user opens the
app, a transactional app is opened. Hence, this is the only hybrid app that has a tile of
an analytical app and launches with the features of a transactional app.
6.5 Summary
In this chapter, we provided the step-by-step instructions on how to create an
analytical app using the SAP Smart Business Modeler for the Days Sales Outstand-
ing app. We discussed everything from how to create a KPI to providing authori-
zation to the user to an app and its drilldown views. In addition, we showed you
Figure 6.66 Assigning a User how to enable an app with custom groups and catalogs. We then gave you an
overview of how to enable analytical apps that dont use a KPI tile to launch (non-
6.4.4 Add the App to SAP Fiori Launchpad smart analytical apps).
After youve completed all the preceding steps, the last step is to add the app to a In the next chapter, well explore OData services in depth. Understanding OData
group. Follow the same steps you performed in Chapter 4, Section 4.6.6, to add services is very important, as youll be using this concept a lot during the exten-
the Profit Analysis app to the Sales Manager group. Youll then see the Profit sion or creation of transactional, fact sheet, and analytical apps, which we cover
Analysis app under the Sales Manager group (see Figure 6.67). in the third part of this book.
258 259
Contents
Foreword ......................................................................................................... 13
Preface ............................................................................................................. 17
Acknowledgments ............................................................................................ 23
7
Contents Contents
8 9
Contents Contents
6.4.3 Assign the App-Specific Catalog Role ............................... 258 9.2.2 Extend the SAP Gateway Layer ......................................... 366
6.4.4 Add the App to SAP Fiori Launchpad ............................... 258 9.2.3 Extend the UI Layer .......................................................... 376
6.5 Summary ....................................................................................... 259 9.3 Summary ....................................................................................... 387
7 Creating OData Services with SAP Gateway ............................ 261 10 Creating and Extending Fact Sheet Apps ................................. 389
7.1 Introduction to OData ................................................................... 262 10.1 Enabling the Fact Sheet App Editor Plugin ..................................... 390
7.1.1 OData Service Basics ........................................................ 262 10.2 Creating Fact Sheet Apps ............................................................... 391
7.1.2 OData Service Queries ..................................................... 266 10.2.1 Create the Search Model .................................................. 392
7.2 SAP Gateway Service Builder ......................................................... 269 10.2.2 Create the UI Layer .......................................................... 398
7.3 Modeling an OData Service ........................................................... 274 10.2.3 Deploy the Fact Sheet App ............................................... 403
7.3.1 Importing OData Services ................................................. 276 10.3 Extending Fact Sheet Apps ............................................................ 407
7.3.2 Redefining OData Services ............................................... 295 10.3.1 Extend the Search Model ................................................. 408
7.3.3 Include Gateway OData Service ........................................ 308 10.3.2 Extend the UI Layer .......................................................... 419
7.4 Summary ....................................................................................... 309 10.3.3 Deploy the Fact Sheet App ............................................... 435
10.4 Summary ....................................................................................... 436
9.1 Creating Transactional Apps .......................................................... 347 12 Workflow and SAP Fiori ............................................................ 473
9.1.1 Create a New Project Using a Template ............................ 348
9.1.2 Test the App with Mock Data .......................................... 351 12.1 Workflow Basics ............................................................................ 473
9.1.3 Deploy the App to the ABAP Backend Server ................... 353 12.2 Creating Standard and Custom Workflows with the
9.1.4 Publish the App to SAP Fiori Launchpad ........................... 354 My Inbox App ............................................................................... 475
9.2 Extending Transactional Apps ........................................................ 358 12.2.1 Prerequisites .................................................................... 476
9.2.1 Extend the SAP Business Suite Layer ................................. 361
10 11
Contents
12
Index
559
Index Index
560 561
Index Index
562 563
Index Index
564 565
Index Index
SAP Gateway (Cont.) SAP Lumira Server, 515 sap.ui.viewExtensions, 384 Service
integration, 119 SAP Maintenance Planner, 92, 93, 94 sap.ui.viewModifications, 384 catalog, 293
layer, 71, 359 SAP Marketplace, 95 sap.ui.viewReplacements, 384 development, 274
SAP Business Suite, 71 SAP Mobile, 539 SAPUI5, 28, 53, 147, 239, 256, 315, 323, 547 document, 263, 264
SAP Gateway Service Builder, 261, 269, 366 SAP NetWeaver, 476 ABAP Repository, 326 generation, 274
SAP Governance, Risk and Compliance component, 86 application, 163 implementation, 272, 275
(SAP GRC), 104 version, 88 architecture, 54 maintenance, 273, 275, 291
SAP HANA, 51, 76, 78, 151, 153, 159, 236 SAP NetWeaver AS ABAP, 54 build app, 66 metadata document, 263
application development platform, 72 SAP NetWeaver AS Java, 54 component, 200 Share, 488
Application Lifecycle Manager, 216 SAP NetWeaver Enterprise Search, 408 control library, 161 dialog, 515
connection, 60 SAP Product Lifecycle Management (SAP create app, 61 Shop app, 325
data modeling, 442 PLM), 104 data binding, 56 Simple, 30
database, 31 SAP S/4HANA Finance, 104, 214 features, 53 Simulator, 337, 339
role, 257 SAP Screen Personas, 28 layer, 359 Single sign-on, 144
server, 103, 216 SAP Smart Business, 216 preview, 65 Skill matrix, 359
view, 220 app, 214 SAP Fiori Launchpad, 32 SNC, 146
SAP HANA Client, 442 component, 81 script, 64 connection, 146
SAP HANA Cloud Cockpit, 315, 326 framework, 131 sapUshellTileColor, 552 snc/enable, 145
SAP HANA Cloud Connector, 315, 320 products, 104 Scaling factor, 221 snc/gssapi_lib, 145
SAP HANA Cloud Platform, 34, 314, 317, 340 SAP S/4HANA Finance, 214 Scenario definition, 493 snc/identity/as, 145
SAP HANA Live, 72, 76, 81, 103, 437 SAP Smart Business Modeler, 128, 130, 213, Scenario-specific inbox, 488 snc/r3int_rfc_secure, 145
advantages, 441 242, 437 Schedule indexing, 415 Social media
extend view, 464 SAP Software Download Center, 96 Scope, 137 catalog, 507, 509, 512
extensibility tool, 464 SAP Transportation Management Search, 33, 38, 484, 543 tile, 508
package, 437 (SAP TM), 104 Search and Analytics Modeler, 390, 392, 393, Social Media Integration, 508
views, 105, 438, 442 SAP UX strategy, 28 395, 408 Social timeline, 514
SAP HANA Live Browser, 104, 439 SAP Web Dispatcher, 31, 40, 50, 78, 102, 139, Search connector, 159, 202, 393, 408 Software components, 392, 395
SAP HANA Studio, 129, 238, 442 141, 148, 216, 459 indexing, 207 customer-specific, 395
extensibility tool, 464 capabilities, 41 Search for Software, 96 Software-as-a-Service (SaaS), 34
SAP HANA XS, 31, 41, 43, 72, 75, 103, 139, uses, 41 Search help, 281, 283 sortBy, 481
147, 161, 437, 440 SAP Web IDE, 57, 313, 315, 347, 378, Search model, 202, 390 Sorting, 485
analytical apps, 72 420, 424 create, 392 Source code editor, 431
architecture, 79 advantages, 315 extend, 408 SSL encryption, 41
build apps, 72 connection, 60 software components, 392 SSO, 149, 155
engine, 54 create, 322, 323 Secure authentication, 153
project, 449 deployment, 340 network layer, 144 Standard view, 445
SAP Jam, 329, 475, 508 development, 321, 328 protocol, 146 Static tile, 191, 192
collaboration components, 514 environment, 314 Secure Network Communications, 140 Story, 521
tiles, 513 file, 58 Secure Sockets Layer (SSL), 140, 143 Subscription, 318
SAP logon ticket, 149, 153 folder, 59 Security, 41, 121, 137 Support package, 95
SAP Lumira, 515, 520 import an application, 326 session protection, 147 download, 98
configuration, 515 local version, 57 Security Assertion Markup Language, 151 upload, 98
configuration tile, 517 preview, 337 Self-service scenarios, 46 Support Package Manager, 95
KPI tile drilldown, 523 SAP HANA Cloud Platform, 316 Semantic, 248 System
stories, 516 SAP_ESH_LOCAL_ADMIN, 203 layer, 469 alias, 121, 122, 478
tiles, 519 SAP_ESH_SEARCH, 203 object, 220, 356, 529, 530 status, 87
SAP Lumira Cloud, 515 sap.ui.ControllerExtensions, 384 tracks, 93
566 567
Index Index
T Transaction (Cont.) UI Theme Designer, 33, 547, 548, 549 Virtual data model (VDM), 31, 72, 103, 213,
SE01, 187 options, 550 437, 438, 441
Table SE11 (ABAP Dictionary), 360 transaction code, 548 reuse content, 53
TADIR, 175 SE16, 108, 169 UI Theme Repository, 548 Visualization, 231
USOBHASH, 108 SE18, 496 Uniform Resource Identifier, 66
Target, 190, 460, 531 SE80 (ABAP Object Navigator), 360, 362, Union, 469
mapping, 189, 248, 356, 406, 407 393, 404, 436 Universal Work List (UWL), 474 W
Task, 134 SEGW (Gateway Service Builder), 269, URI, 262, 263, 295
consumption model, 475 283, 360 URL, 32 Web
decision, 494 SICF (Maintain Services), 110, 115, 125, 240, rewriting, 147 acceleration, 41
definition, 494 354, 479, 524 User, 254 browser, 139
list, 154 SM59, 119, 146 authentication, 149 Web application
processing, 479 SMT1, 121 authorization, 155, 156 firewalls, 41
quotation, 496 SPAM, 98 experience, 27 security, 41
Technical service name, 166 SPRO, 118, 494 maintenance, 115, 129 Web Dynpro, 32, 71, 128
Technology, 29 STC01 (ABAP Task Manager), 132, 206 management, 155 What You See is What You Get (WYSIWYG),
Template, 324, 400, 420, 421 STC02, 133 mapping, 153 328, 547
create project, 348 SU01, 115, 127, 181 preferences, 39 Windows, 30, 43
Theming, 53 UI5/THEME_DESIGNER, 548 role, 181 Workflow, 473
Threshold, 460 UI5/THEME_TOOL, 548, 554 USOBHASH, 169 basics, 473
Tiles, 32, 507 VA23, 375 UX, 27 builder, 489, 490
activate and configure, 460 Transactional app, 48, 103, 158, 347 benefits, 29 custom, 475
add, 36, 528 ABAP backend roles, 180 design principles, 29 fields, 492
All Items, 504 ABAP frontend roles, 170 design services, 28 ID, 495
All Stories, 519 architecture, 359 strategy, 28 scenarios, 493
catalog, 32, 35, 36, 243, 252, 512, 519 components, 49 standard, 478
configuration, 343 create, 347 template, 474, 488
format, 226 deploy, 353 V Workspace, 450
KPI Drilldown, 519 details, 353
new, 357 extend, 358, 359, 360 Value measure, 459
parameters, 227 OData services, 165 Values help view, 438 X
remove, 35 prerequisites, 161 Variant, 222
static, 519 publish, 354 Views, 56 X.509 certificate, 154
Track Sales Order app, 172 run, 181 create, 462 XML, 56
Transaction SAPUI5 component, 162 extend, 383 code, 435
/IWFND/MAINT_SERVICE, 106, 166, 262, template, 324 replace, 469 view, 383
292, 306, 373, 479 test, 351 XSL Transformation (XSLT), 435
ESH_COCKPIT, 202, 415 Transport Layer Security (TLS), 140
ESH_MODELER, 392 Transport request, 186, 394
ESH_SEARCH, 209, 417 Trend tile, 225
LPD_CUST, 183, 354
PFCG (Role Maintenance), 112, 123, 130,
158, 172, 178, 180, 195, 242, 252, 511, U
518, 531
RZ10, 145 UI
SAINT (SAP Add-On Installation Tool), 95 add-on, 77
SBWP, 483 control library, 53
development toolkit, 53
568 569
First-hand knowledge.
Anil Bavaraju
We hope you have enjoyed this reading sample. You may recommend
SAP Fiori Implementation and Development or pass it on to others, but only in its entirety, including all pages. This
reading sample and all its parts are protected by copyright law. All usage
569 Pages, 2016, $79.95/79.95
ISBN 978-1-4932-1248-4 and exploitation rights are reserved by the author and the publisher.
2016 by Rheinwerk Publishing, Inc. This reading sample may be distributed free of charge. In no way must the file be alte-
www.sap-press.com/3883 red, or individual pages be removed. The use for any commercial purpose other than promoting the book is strictly prohibited.