SAP CARAB Common Installation Guide
SAP CARAB Common Installation Guide
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
2 PUBLIC Content
6 Set Up the Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
6.1 SAP Customer Activity Repository. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Core (Mandatory for All Applications). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Advanced (Optional). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
6.2 SAP Merchandise Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Perform Core Steps for SAP Customer Activity Repository. . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Configure SAP Merchandise Planning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183
Verify the Connection Between the SAP Merchandise Planning System and SAP Analysis for
Microsoft Office. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
Activate SAP Merchandise Planning Omnichannel BI Planning Framework Content. . . . . . . . . . 188
Configure Data Replication Steps. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Create Market Hierarchy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .233
Specify Analysis Workbook Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
6.3 SAP Assortment Planning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Perform Core Steps for SAP Customer Activity Repository. . . . . . . . . . . . . . . . . . . . . . . . . . . .236
Configure Assortment Planning. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .236
Maintain Fiscal Year Variant for Retail Week. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Maintain Fiscal Year Variant for Month. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Generate Time Data - Fiscal Calendar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .241
Activate Planning Framework Content (SAP Assortment Planning). . . . . . . . . . . . . . . . . . . . . . 242
Configure Data Replication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Run the Validation Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Configure Front-End. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Additional Information for Retail SAP BW Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
6.4 SAP Promotion Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
Perform Core Steps for SAP Customer Activity Repository. . . . . . . . . . . . . . . . . . . . . . . . . . . .262
Activate Internet Communication Framework (ICF) Services. . . . . . . . . . . . . . . . . . . . . . . . . . 262
6.5 SAP Allocation Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Perform Core Steps for SAP Customer Activity Repository. . . . . . . . . . . . . . . . . . . . . . . . . . . .263
Activate SAP Allocation Management SAP HANA Content. . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Check Procedure Associated with Function GENIOS_SOLVE Is Active. . . . . . . . . . . . . . . . . . . . 267
Preselect Product Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .268
Configure SAP Allocation Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Configure Data Replication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Configure Front End. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
6.6 Configure Access to Documentation Provided on SAP Help Portal (Optional for All Applications)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Content PUBLIC 3
1 How to Use this Common Installation
Guide
This guide describes how to install and set up the applications delivered with SAP Customer Activity Repository
applications bundle 4.0 FPS02.
Caution
If you already have an existing installation of any of these applications, you must perform a software
upgrade rather than a new installation. In this case, see the Common Upgrade Guide at https://
help.sap.com/viewer/p/CARAB under <Version> Installation and Upgrade .
SAP Customer Activity Repository applications bundle 4.0 FPS02 includes the following applications:
Note
You can find the product documentation for all of these applications on SAP Help Portal for SAP Customer
Activity Repository applications bundle at https://help.sap.com/viewer/p/CARAB.
If you wish to connect your system to consume documentation directly from the SAP Help Portal, see
section Configure Access to Documentation Provided on SAP Help Portal (Optional for All Applications)
[page 274] for more information.
What to Install
Technically, SAP Customer Activity Repository applications bundle 4.0 FPS02 is delivered in the form of two
installable product versions: one for the back-end and one for the front-end.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
4 PUBLIC How to Use this Common Installation Guide
Product Versions for this Release Description
SAP FIORI FOR SAP CARAB 4.0 FPS02 Front-end product version
Tip
If you need more information about a product version, log on to the SAP ONE Support Launchpad at
https://launchpad.support.sap.com/#/productsearch and search for SAP CARAB or SAP FIORI FOR
SAP CARAB. You will find download information, SAP Knowledge Base articles, guided answers, and more.
Installation at a Glance
1. First you prepare the installation. For example, you ensure that the technical prerequisites are installed.
You also implement mandatory corrections, verify authorizations, and do other preparatory tasks. These
steps are described in sections Install the Prerequisites [page 17] and Prepare the Installation [page
26].
2. Then you install the back-end product version and the front-end product version. These steps are
described in section Install the Software [page 50]. You must do these steps regardless of the application
that you want to set up later on.
3. Once you have installed the product versions, you set up the desired applications. These steps are
described in section Set Up the Applications [page 73]. First you do the general setup steps in section
Core (Mandatory for All Applications) [page 73]. You must do the core steps regardless of the application
that you want to set up. After the core setup, you only need to do the steps that are required for your
application. You do not need to read sections that do not apply to your application.
Tip
This guide references several SAP Notes that are regularly updated with new information. If you want to be
informed of such updates because a particular note is relevant for your scenario, you can easily set up
email notifications for it. For information on how to do this, see SAP Note 2478289 (How to get
notifications for SAP Notes or KBAs).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
How to Use this Common Installation Guide PUBLIC 5
1.1 Naming Conventions
Learn about important terms and variables used throughout this guide.
Terminology
Term Definition
Common Installation Guide Common guides for the applications included in SAP Customer Activity Repository
applications bundle.
Common Upgrade Guide
You can find the guides on SAP Help Portal at https://help.sap.com/viewer/p/CARAB under
consuming application An application designed to consume and utilize data obtained from the SAP Customer
Activity Repository platform.
Example
● SAP Allocation Management
● SAP Assortment Planning
● SAP Merchandise Planning
● SAP Promotion Management
back-end server / system The SAP NetWeaver-based ABAP back-end server on which the back-end product version
of SAP Customer Activity Repository applications bundle (that is, SAP Customer Activity
Repository and its consuming applications) is installed.
front-end server / system The SAP NetWeaver-based ABAP front-end server on which the SAP Gateway, central SAP
Fiori UI component with the SAP Fiori launchpad, and the product-specific SAP Fiori com
ponent (front-end product version including the SAP Fiori apps for SAP Customer Activity
Repository applications bundle) are installed.
source master data system SAP Customer Activity Repository applications bundle must be deployed alongside an SAP
ERP (SAP Retail, SAP Fashion Management) or SAP S/4HANA (SAP S/4HANA Retail) cen
tral component as the single source of truth for all master data.
Whenever this guide refers to a source master data system, it refers to the SAP ERP or SAP
S/4HANA central component that you choose for your implementation.
For more information, see Integration with Source Master Data Systems [page 15].
SAP ERP Unless otherwise specified, references in this guide to SAP ERP are comprehensive. That is,
they apply to SAP Retail and SAP Fashion Management.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
6 PUBLIC How to Use this Common Installation Guide
Naming Differences
Due to naming differences between the underlying technical objects, the following terms are used
interchangeably in this guide:
SAP Customer Unified Demand SAP Assortment SAP Promotion SAP Retail or SAP
Activity Forecast (UDF) Planning / SAP Management S/4HANA
Repository (all and Demand Data Merchandise
modules except Foundation (DDF) Planning SAP Allocation
for UDF and DDF) Management
material
article variant product variant product variant product variant product variant or article variant
product/color/size
Variables
The variables are used as placeholders in the guides for objects that are user defined. When this variable is
used in an instruction, you are expected to substitute your customer defined name for the object. For example,
on the back-end application server where you have installed CARAB database objects, you have named your
schema ABC01. An instruction states to verify the list of packages in your SAP<SID>. You would look for
packages in the ABC01 schema.
To find the name of your SAP<SID>, sign on to your target system using SAP Logon. Use the file menu
System Status . In the lower right section titled Database Data the name of your Schema is shown. This
same schema is also listed as an object in your HANA catalog.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
How to Use this Common Installation Guide PUBLIC 7
Variables Used Across All Guides
Variable Description
Note
In this guide your physical schema is referred to as SAP<SID> and is
your database system ID. This name is customer-defined.
To find the name of your SAP<SID>, log on to your target system using
Information on prerequisite platforms, applications, and other components as well as quick links to SAP sites
Installing SAP HANA http://help.sap.com/viewer/p/ SAP HANA Server Installation and Up
SAP_HANA_PLATFORM date Guide
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
8 PUBLIC How to Use this Common Installation Guide
Information On Path Title
Installing SAP HANA database clients http://help.sap.com/viewer/p/ SAP HANA Client Installation and Up
SAP_HANA_PLATFORM date Guide
Installing SAP HANA studio http://help.sap.com/viewer/p/ SAP HANA Studio Installation and Up
SAP_HANA_PLATFORM date Guide
Upgrade
Using the SAP HANA development http://help.sap.com/viewer/p/ SAP HANA Developer Guide
tools to create comprehensive analyti SAP_HANA_PLATFORM
cal models and to build applications
<Version> Development SAP
with SAP HANA interfaces and inte
HANA Developer Guide (For SAP HANA
grated development
Studio)
(for developers)
Defining data models for use in SAP http://help.sap.com/viewer/p/ SAP HANA Modeling Guide
HANA SAP_HANA_PLATFORM
Studio)
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
How to Use this Common Installation Guide PUBLIC 9
Information On Path Title
Installation Guide
Installing SAP Enhancement Package 2 http://help.sap.com/viewer/p/ Installation Guide, SAP Customer Rela
for SAP CRM 7.0 or SAP Enhancement SAP_CUSTOMER_RELATION tionship Management 7.0 Including En
Package 2 for SAP CRM 7.0, Version for SHIP_MANAGEMENT Version 7.0 hancement Package 2 Java and ABAP
SAP HANA or higher
EHP2 Installation and Upgrade Administrator's Guide, SAP Enhance
ment Package 2 for SAP CRM 7.0, Ver
Installation Guide
sion for SAP HANA
http://help.sap.com/crm_hana
SAP HANA
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
10 PUBLIC How to Use this Common Installation Guide
SAP Site Path
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
How to Use this Common Installation Guide PUBLIC 11
2 Plan your System
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
12 PUBLIC Plan your System
2.1 System Landscape
System landscape diagram for SAP Customer Activity Repository applications bundle
System Landscape
The applications included in SAP Customer Activity Repository applications bundle require a layered system
landscape, as illustrated in the following diagram:
For information about the components not specific to SAP Customer Activity Repository applications bundle,
see https://help.sap.com/viewer/p/FIORI_IMPLEMENTATION <Version> Installation and Upgrade SAP
Fiori: Setup and Configuration Setup of SAP Fiori System Landscape .
● For information on the versions required for this release, see Install the Prerequisites [page 17].
● For information on the supported interoperability scenarios between the back-end product version and the
front-end product version, see SAP Note 2815026 (Back-end and front-end interoperability in SAP
Customer Activity Repository applications bundle 4.0).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Plan your System PUBLIC 13
2.2 Central Hub Deployment (Recommended)
Central hub deployment is the recommended deployment option for the applications in SAP Customer Activity
Repository applications bundle.
With central hub deployment, the back-end product version is installed in the back-end system, while the front-
end product version and the SAP Fiori front-end server are installed in a separate front-end system.
As a result, the SAP Fiori apps are deployed in separate systems (UIs in the front-end system, related OData
services in the back-end system).
Note
In general, when an SAP solution includes SAP Fiori apps, you could alternatively choose the “embedded
deployment” option. Here you would use the same SAP NetWeaver server for back-end and front-end
components. The advantage of this option is that you do not require a separate SAP NetWeaver front-end
server.
For the applications described in this guide, however, we recommend central hub deployment because of
the advantages listed below.
This guide is therefore based entirely on the “central hub deployment” option.
Advantages
Central hub deployment decouples the lifecycle of the SAP Fiori apps from the back-end components
(separate shipments). This option has the following advantages:
More Information
● For interoperability information, see SAP Note 2815026 (Back-end and front-end interoperability in SAP
Customer Activity Repository applications bundle 4.0).
● For more information on deployment options for SAP Fiori, see the following:
○ https://help.sap.com/viewer/p/FIORI_IMPLEMENTATION <Version> Installation and Upgrade
SAP Fiori: Getting Started SAP Fiori Deployment Options Deployment of SAP Fiori Front-End
Server
○ SAP Fiori Deployment Options and System Landscape Recommendations
○ https://help.sap.com/viewer/p/SAP_GATEWAY Installation and Upgrade Master Guide SAP
Gateway Master Guide Deployment Options as well as Embedded Versus Hub Deployment
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
14 PUBLIC Plan your System
2.3 Integration with Source Master Data Systems
Overview of the source master data systems for deployment scenarios of SAP Customer Activity Repository
applications bundle
Overview
You can deploy your SAP Customer Activity Repository applications bundle solution in parallel with one of the
following source master data systems:
Retail
Note
Unless otherwise specified, the following terms are used in this guide:
● References to the source master data system are comprehensive; that is, they apply to SAP ERP
(including SAP ECC) and SAP S/4HANA Retail.
● References to SAP ERP are comprehensive; that is, they apply to SAP Retail and SAP Fashion
Management.
Prerequisites
For information on what versions of the source master data systems are required for this release, see Install the
Prerequisites [page 17].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Plan your System PUBLIC 15
More Information
If a migration to SAP S/4HANA is in scope for your business, see the following information for guidance:
● SAP Note 1661202 - Support multiple applications one SAP HANA database / tenant DB: Support and
special considerations for multiple applications on a single SAP HANA database or, in the case of MDC, on
a single tenant DB
● SAP Note 1826100 - Multiple applications SAP Business Suite powered by SAP HANA: Support and
special considerations for multiple applications on a single SAP HANA database within SAP Business Suite
powered by SAP HANA
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
16 PUBLIC Plan your System
3 Install the Prerequisites
This section lists all the prerequisite platforms, applications, and components that must be installed and
configured to prepare the system landscape for a new installation of this release.
Note
If you are upgrading from a previous release, you must not follow this Common Installation Guide and
rather proceed with the Common Upgrade Guide, available at https://help.sap.com/viewer/p/CARAB under
Installation and Upgrade .
For your convenience, the prerequisites are presented to you in two categories:
● Common Prerequisites, which must be installed regardless of the business scenario you are planning to
implement
● Application-Specific Prerequisites, which are only relevant for specific applications under specific
conditions
Caution
The prerequisites should be installed and configured by an experienced SAP Basis administrator.
Note
Should there be important updates to the prerequisites after the publication of this guide, we will
communicate this information in the Important Notice document, which you can find on SAP Help Portal.
Navigate to https://help.sap.com/viewer/p/CARAB and see under Installation and Upgrade.
Tip
This chapter references several SAP Notes that are regularly updated with new information. If you want to
be informed of such updates because a particular note is relevant for your scenario, you can easily set up
email notifications for it. For information on how to do this, see SAP Note 2478289 (How to get
notifications for SAP Notes or KBAs).
Common Prerequisites
Caution
You must install the foundation prior to installing other back-end components.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Prerequisites PUBLIC 17
The minimum requirement for this release is as follows, regardless of the business scenario you are
planning to implement:
1709 ABAP FND 1709 ON HANA SPS ○ SAP Note 2534199 (ABAP FND 1709 ON HANA: Re
02 (05/2018) (foundation 1709 lease Information Note)
on SAP NetWeaver AS for ABAP ○ Master Guide for SAP NetWeaver under https://
7.52, version for SAP HANA) help.sap.com/viewer/p/SAP_NETWEA
Upgrade
Caution
Before installing or upgrading the foundation in your system landscape, always check for the latest
support information at https://help.sap.com/viewer/p/CARAB. Select your version at the top and see
under Installation and Upgrade Important Notice .
This is also where you will find support information on higher releases of the foundation.
Caution
If you wish to use a higher revision, we recommend that you select one of the “maintenance
revisions”. See SAP Note 2378962 (SAP HANA 2.0 Revision and Maintenance Strategy) and
consult the information under Last Released Revision or Maintenance Revision.
Use this same strategy also, should the minimum revision no longer be available for download from
the Software Download Center. This situation might occur depending on when you perform the
actual installation and how long ago the revision was released.
If you wish to use the latest SAP HANA support package stack, be aware that there are no
maintenance revisions for it. In this case, we recommend the following:
1. To avoid incompatibilities, first consult SAP Note 2818378 (Which releases of SAP HANA
Platform are supported for which releases of SAP Customer Activity Repository applications
bundle (SAP CARAB)?).
Select a supported combination of releases. This applies not only during a new installation or
an upgrade, but is equally relevant if you decide to upgrade your SAP HANA Platform to a
higher revision or even support package stack later on
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
18 PUBLIC Install the Prerequisites
2. Install the latest SAP HANA support package stack in your test system. Test it carefully to
evaluate its impact on your customer system landscape. Only roll it out to your productive
system when you are sure that it integrates well with your day-to-day business processes.
Tip
(Optional) To get the latest technical recommendations related to your SAP HANA landscape, you can
activate the SAP EarlyWatch Alert (EWA) in your SAP HANA environment. For more information, see
SAP Note 1958910 .
Caution
SAP RTL AFL FOR SAP HANA is a back-end software component of SAP Customer Activity
Repository applications bundle. However, you must always install it together with the SAP HANA
Platform. You must do this before installing the SAP CARAB back-end product version. This guide leads
you through the correct steps.
The minimum requirement for this release is the SAP RTL AFL FOR SAP HANA revision that is
compatible with the selected SAP HANA database revision, regardless of the business scenario you are
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Prerequisites PUBLIC 19
planning to implement. When you download an AFL revision from the SAP Support Portal, the compatible
SAP HANA database revision is always indicated.
Note
The component contains back-end functionality for two modules of SAP Customer Activity Repository:
Unified Demand Forecast (UDF) and On-Shelf Availability (OSA).
You must always install the component, regardless of the scenario you are planning to implement.
You only need to set up and configure UDF and/or OSA if you wish to use the functionality in your
scenario.
Note
If your source master data system is SAP S/4HANA 1909, be aware that as of that release, the SAP LT
Replication Server is no longer available as a standalone component. Instead, SAP S/4HANA 1909
includes an embedded SAP LT Replication Server by default.
To set up the data replication from an SAP S/4HANA 1909 system, you need to do some preparatory
steps. This guide leads you through the correct procedure in the data replication section (Create/
Replicate Source Master Data System Tables [page 81]). The preparatory steps have the added
advantage that they give you the option to still use a standalone SAP LT Replication Server.
For installation information and possible dependencies to other components, see the following:
○ Installation Guide (Replicating Data to SAP HANA) under https://help.sap.com/viewer/p/
SAP_LANDSCAPE_TRANSFORMATION_REPLICATION_SERVER <Version> Installation and
Upgrade
○ SAP Fiori Deployment Options and System Landscape Recommendations .
If your source master data system is SAP S/4HANA, see especially the minimum requirements in
section SAP S/4HANA with standalone SAP Fiori Front-End Server.
○ SAP Note 1605140 (SAP Landscape Transformation Replication Server (SLT)): This is the central
note for enabling trigger-based data replication (functional overview, download, installation, upgrade,
corrections, implementation).
○ SAP Note 2014562 (FAQ: SAP HANA LT Replication Server (SLT))
5. SAP Fiori
SAP Fiori front-end server is an add-on product version for SAP NetWeaver AS ABAP and defines the front-
end software components required to run SAP Fiori apps.
The minimum requirement for this release is SAP FIORI FRONT-END SERVER 4.0 - SAP FRONTEND
SERVER 7.52, regardless of the business scenario you are planning to implement. The minimum SAPUI5
version is 1.52.4.
For installation and implementation information, see the following:
○ SAP Fiori Implementation Information
○ Overview of SAP Fiori front-end server components and versions
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
20 PUBLIC Install the Prerequisites
○ For planning information and a helpful version overview (front-end server, application server ABAP,
SAP Gateway, SAPUI5), see SAP Note 2217489 (Maintenance and Update Strategy for SAP Fiori
Front-End Server).
○ 2484979 (SAP-Fiori-Frontend-Server 4.0 - General Information)
○ 2524632 (General Information: FIORI UI Infrastructure Components for products on SAP Frontend
Server 4.0 (S4H))
For information on possible dependencies to other components or if you are planning to use a higher
version, see the following:
○ SAP Note 2590653 (SAP Fiori front-end server deployment for SAP S/4HANA)
○ SAP Note 2618605 (SAP-Fiori-Frontend-Server 5.0 - General Information)
○ SAP Note 2775163 (SAP-Fiori-Frontend-Server 6.0 - General Information)
6. Source master data system
○ Either SAP ERP or SAP S/4HANA must be installed.
Note
Unless otherwise specified, references in this guide to SAP ERP are comprehensive. That is, they
apply to SAP Retail and SAP Fashion Management. For more information, see Naming Conventions
[page 6].
○ The minimum requirements for this release are as follows, regardless of the business scenario you are
planning to implement:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Prerequisites PUBLIC 21
Source Master Data Sys
tem Minimum Requirement Installation Information
Tip
If you are planning to convert from SAP ERP to SAP S/4HANA, you can use the SAP Readiness
Check to check the readiness of your SAP ERP system. For more information, see SAP Note
2758146 (SAP Readiness Check 2.0 & Next Generation SAP Business Scenario
Recommendation).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
22 PUBLIC Install the Prerequisites
Application-Specific Prerequisites
SAP Smart Business SAP Smart Business founda Optional, depending on SAP Note 2018360
tion component 1.0, most re whether or not you choose to
cent SPS implement the SAP Smart
Business for Multichannel
Sales Analytics dashboard
within SAP Customer Activity
Repository.
SAP Marketing (formerly, SAP Marketing 1.10 or higher Optional, depending on https://help.sap.com/
SAP Hybris Marketing) whether or not you choose to viewer/product/
implement customer deter SAP_HYBRIS_MARKETING/
mination with SAP 1702%20YMKT/en-US
Marketing. <your version>
Guide
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Prerequisites PUBLIC 23
Prerequisite Minimum Requirement Mandatory/Optional Installation Information
SAP Commerce, integration SAP Commerce, integration Optional, depending on See the Administration Guide
package for SAP for Retail package for SAP for Retail whether or not you choose to delivered with the software
(formerly, SAP Hybris Com 1811 or higher implement Omnichannel Ar package or from https://
merce, integration package ticle Availability and Sourc help.sap.com/viewer/p/IPR.
for SAP for Retail) ing (OAA) or Omnichannel
Promotion Pricing (OPP)
within SAP Customer Activity
Repository.
SAP Analytics Cloud Content Innovation 12 Optional, depending on System Requirements and
whether or not you choose to Technical Prerequisites
implement Omnichannel Ar
ticle Availability and Sourc
ing (OAA) within SAP
Customer Activity
Repository.
Guides>
SAP HANA Dynamic Tiering SAP HANA Dynamic Tiering Optional, depending on https://help.sap.com/
is delivered with the SAP whether or not you choose to viewer/p/
HANA Platform. See the use the Table Content Aging SAP_HANA_DYNAMIC_TIER
Common Prerequisites sec report to move data from ING <your version>
tion above. SAP Customer Activity
Installation and Upgrade
Repository to extended stor
SAP HANA Dynamic Tiering:
age using SAP HANA Dy
Installation and Update
namic Tiering.
Guide
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
24 PUBLIC Install the Prerequisites
Prerequisite Minimum Requirement Mandatory/Optional Installation Information
SAP HANA extended applica SAP HANA XSA, version Optional, depending on https://help.sap.com/
tion services, advanced 1.0.88 or higher whether or not you choose to viewer/p/SAP_HANA_PLAT
model (XSA) use Omnichannel Promo FORM <your version>
We recommend that you use
tion Pricing (OPP) within
the highest version available. Installation and Upgrade
SAP Customer Activity
SAP HANA Server Installation
Repository.
and Upgrade Installing an
Runtime
Administrator Guide
Administrator Guide
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Prerequisites PUBLIC 25
4 Prepare the Installation
Before you start with the actual installation of SAP Customer Activity Repository applications bundle 4.0
FPS02, you must first perform several preparatory tasks.
This section lists SAP Notes (corrections) that you must read and — when appropriate — implement at
different points in the installation process. The section also points you to the release-specific back-end RIN
and front-end RIN, where you can find the very latest corrections.
Note
Make sure that you have the up-to-date version of each SAP Note, which you can always find on the SAP
Support Portal at http://support.sap.com/notes .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
26 PUBLIC Prepare the Installation
Release Information Notes (RINs) with Latest Corrections for all
Applications
After the publication of this guide, additional corrections might have become available. You can find these
additional corrections in the RINs for this release:
Caution
Always consult the table for SAP Customer Activity Repository, regardless of your scenario. Notes listed
here are often common corrections, applicable to all applications.
Prior to the installa Back-end 2548843 Mandatory correction for all the applications of SAP Customer
tion Activity Repository applications bundle.
DD: data ele
ment changes
from DEC to
CURR, error for
dependent
views
During the installa Back-end 2298340 Troubleshooting information for error messages during the “move
tion nametabs” phase.
SAP HANA DB:
CDS views with
external views
as base ob
jects cannot be
created in the
DB
During the installa Back-end 2340418 Troubleshooting information for error messages during the
tion RUTDDLSCREATE phase.
SAP HANA DB:
RUTDDL
SCREATE re
turns errors for
CDS views with
external views
as base object
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 27
Implement Area SAP Note Description
During the installa Back-end 2377525 Troubleshooting information for error messages during the
tion CREATE VIEW phase.
External view
in view hierar
chy
During the installa Back-end 2330184 Troubleshooting information for error messages during various
tion RSDB02CK-related phases (SUM only). For example, 2EETG002
Appearance of
View "/AMR/C_P_A_L_C" does not exist in the database or
Non-Exis
2EETG002 View "/AMR/V_APITSLOC" does not exist in the data
tence/Activa
base.
tion Errors of
Views/DDL
Sources within
installation of
CARAB 1.0
FP03 and
CARAB 2.0
After the installation Back-end 2845868 Mandatory correction for the Demand Data Foundation (DDF)
module. Relevant for all the applications of SAP Customer
Dump during
Activity Repository applications bundle.
Import of Time
Series
After the installation Front-end 2183947 Information on how to install add-on object UISAFND1 100 when
installing the SAP Smart Business Modeler Apps Framework with
Smart Busi
User Interface Add-On 2.0 for SAP NetWeaver.
ness for SoH
(Suite on
Hana) delivery
After the installation Back-end 1778607 Optional (only relevant if you choose to implement SAP HANA
Live for SAP Business Suite). Release information and implemen
SAP HANA
tation considerations.
Live for SAP
Business Suite
After the installation Back-end 2623953 Mandatory if you are using omnichannel article availability and
sourcing (OAA) and using the functionality in sales channel mode.
SADL GW: Ex
Not required for functions other than OAA. Not required if you are
posure for An
using OAA in OAA profile mode.
notations on
Entity Con
tainer with
namespace
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
28 PUBLIC Prepare the Installation
Implement Area SAP Note Description
After the installation Back-end 2625428 Mandatory if you are using omnichannel article availability and
sourcing (OAA) and using the functionality in sales channel mode.
SADL GW: Ex
Not required for functions other than OAA. Not required if you are
posure for An
using OAA in OAA profile mode.
notations on
Entity Con
tainer with
namespace
After the installation Front-end 2547022 Only required if your front-end server is version SAP NetWeaver
7.50 or lower:
Service cannot
be consumed Mandatory if you are using omnichannel article availability and
in SDK IOS due sourcing (OAA) and using the functionality in sales channel mode.
to invalid char Not required for functions other than OAA. Not required if you are
acter '.' in Enti using OAA in OAA profile mode.
tyContainer
namespace
After the installation Back-end 2853038 Mandatory if you are using omnichannel article availability and
sourcing (OAA) and using the functionality in sales channel mode,
"Context" field
with an SAP Retail source system (ERP scenario).
used for DC
stock separa Not required for functions other than OAA.
tion is not hid
Not required if you are using OAA in OAA profile mode.
den in ERP
scenario Not required if you are using OAA in sales channel mode with an
SAP S/4HANA source system.
After the installation Back-end 2849052 Mandatory if you are using omnichannel article availability and
sourcing (OAA) and using the functionality in sales channel mode,
CARAB 4.0
with an SAP S/4HANA 1709 or 1809 source system.
FPS02 HANA
Content Acti Note
vation Issue for
Implement this SAP Note before activating the SAP HANA
OAA
content.
Not required if you are using OAA in sales channel mode with an
SAP S/4HANA 1909 source system.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 29
Implement Area SAP Note Description
After the installation SAP S/4HANA 2835297 Only required if your ERP version is SAP S/4HANA 1909.
1909 back-end
Missing OAA Mandatory if you are using omnichannel article availability and
ATP Change sourcing (OAA), for both sales channel mode and OAA profile
Indicator en mode. Not required for functions other than OAA and ERP ver
tries for S/ sions other than SAP S/4HANA 1909.
4HANA 1909
After the installation Back-end 2576497 Note for errors produced when the material number is longer that
SQL Error 18 characters.
Code 274: in
serted value
too large for
column
After the installation Back-end 2777415 Mandatory correction for all the applications of SAP Customer
Activity Repository applications bundle. Implement this note re
SAP Allocation
gardless of the scenario that you wish to set up.
Management:
Activating /AM
R/* views ends
in Error
After the installation Front-end 2845197 Note listing all the corrections for Analyze Forecast, Adjust
Forecast, and Manage Demand Influencing Factors that you need
Corrections for
for this release.
the Analyze
Forecast, Ad
just Forecast
and Manage
Demand Influ-
encing Factors
apps in SAP
Customer Ac
tivity Reposi
tory 4.0 FPS02
After the installation Front-end and 2859379 This note is a collection of corrections for all layers of Demand
Back-end Planning for CARAB 4.0 FPS02
Demand Plan
ning CARAB
4.0 FPS02 -
Collective Note
after ECC
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
30 PUBLIC Prepare the Installation
Implement Area SAP Note Description
After the installation Front-end 2842109 Mandatory if you are using omnichannel promotion pricing.
After the installation Back-end 2857334 Mandatory if your source master data system is SAP S/4HANA
1909. In that case, the note is required for all the scenarios.
Unsupported
data type DEC
FLOAT34 /
D34N when
replicating
from an SAP
S/4HANA
1909 on prem
ise system
Note
Always consult the table for SAP Customer Activity Repository, regardless of your scenario. Notes listed
there are often common corrections, applicable to all consuming applications.
After the installation Back-end 1919631 Embedded BW-IP features explicitly needs the NW BPC10.1 li
cense along with the PAK.
Activating the
BPC imbedded
is necessary
After the installation Back-end 2600370 The time-independent navigation attribute table of the character
istic (X table) is fully or partially empty.
The input help
for time char
acteristics
used as navi
gation attrib
utes does not
return any data
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 31
Implement Area SAP Note Description
After the installation Back-end 2667189 In the BW Query monitor (transaction RSRT or RSRT2) a dynamic
RSRT: Error filter is set on a structure, which is part of a hierarchical axis.
when filter on
UDH Axis
After the installation Back-end 2724048 A BW-IP planning scenario runs in PAK and fails with an error
BW-IP:col message "column store error: fail to create scenario." The error
umn store er message mentions 0REQTSN or 0REQTSN_KEY.
ror: fail to cre
ate scenario
(0REQTSN
0REQTSN_KEY
)
After the installation Back-end 2726582 A planning scenario running in PAK dumps with an error
BW-IP: GETWA_NOT_ASSIGNED class CL_RSDRC_TREX_QUERY_LAYER,
GETWA_NOT_A method IS_LAYER_POSSIBLE_FOR_CHANM.
SSIGNED in
CL_RSDRC_TR
EX_QUERY_LA
YER
IS_LAYER_PO
SSIBLE_FOR_
CHANM
After the installation Back-end 2673356 You are executing a planning enabled query using a client that
ABAP BICS: makes use of the ABAP BICS API as BW provider like RSRT BICS
missing values (transaction RSRT/RSRT2 in mode ABAP BICS).
when planning
single values
and Universal
Display Hierar
chy
After the installation Back-end 2671629 You are executing a planning enabled query using a client that
ABAP BICS: makes use of the ABAP BICS API as BW provider like RSRT BICS
Dump on plan (transaction RSRT/RSRT2 in mode ABAP BICS).
ning single val
ues and Uni
versal Display
Hierarchy
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
32 PUBLIC Prepare the Installation
Implement Area SAP Note Description
After the installation Back-end 2750861 The extended program check and CVA terminate with the short
Termination dump ASSERTION_FAILED in the class
ASSERTION_F CL_SLIN_FLOW_IR_COMPILER.
AILED in ex
tended pro
gram check
and CVA
After the installation Back-end 2716617 A query aborts with error EXTRACT_RGC_INDEXES-01- in class
Error CL_RSR_RRK0_NORM_CONTEXT.
EXTRACT_RGC
_INDEXES-01
- in
CL_RSR_RRK0
_NORM_CONTE
XT
After the installation Back-end 2860688 When executing the top down planning function in the 1.3 work
Invalid version book, the user may receive an error "/RAP/VERSN:M5R is not in
returned in 1.3 cluded in the selection".
Top Down
Note
Always consult the table for SAP Customer Activity Repository, regardless of your scenario. Notes listed
there are often common corrections, applicable to all consuming applications.
Prior to the installa SAP Retail sys 2196351 Corrections to SAP Retail data elements.
tion tem
Pre-requisite
for SAP Note
#2196323
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 33
Implement Area SAP Note Description
Prior to the installa SAP Retail sys 2196323 Article Hierarchy Transfer replication will transfer all node and ar
tion tem ticle assignments irrespective of the validity.
DRFOUT: Only
valid current
node assign
ments and ar
ticle assign
ments are
transferred
during Article
Hierarchy Rep
lication
Prior to the installa SAP Retail sys 2209621 Functionality on the SAP Retail side to enable PIR integration with
tion tem SAP Assortment Planning.
Assortment
Listing API:
List by DC fix
Prior to the installa Back-end 1656983 Information on changing the default ResultSetSizeLimit set
tion ting.
Result Set Size
Limit Exceeded
Message
After the installation Back-end 2706022 This note is relevant if you use the Retail SAP BW Structure. This
note contains instructions for solving a BW issue in the Plan
When Current Products by Week worksheet of the Plan Assortment workbook.
Member is ac
tivated on
0FISCYEAR,
the calculation
was not possi
ble
After the installation Back-end 2768113 This note includes instructions to avoid creating corrupt data in
database tables and issues with the Match Placeholders and My
PHP Number Assortment Lists apps.
Range Config-
uration Infor
mation
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
34 PUBLIC Prepare the Installation
Implement Area SAP Note Description
After the installation Back-end 2856695 This mandatory note for the My Assortment Lists app includes
corrections regarding market hierarchy nodes issues.
CARAB 4.0 As
sortment List -
Market hierar
chy node is
sues
After the installation Front-end This mandatory note for the My Assortment Lists app includes the
2772899
following:
Assortment
List 4.0 - Sta ● Stable ids to be able to assign hotspots for Web Assistant
ble ids for UI ● Bug fixes for the Manage Products screen
elements
After the installation Front-end This mandatory note for the Manage Option Plans app includes
2767553
several bug fixes.
APR 4.0 FP01 -
Manage Option
Plans UI OP
TION PLAN
NING - UI Fixes
After Both 2857864 Mandatory. Location Hierarchy Nodes aren't showing up in the
Option Plan Application display mode even though they are as
signed to the Option Plan
Note
Always consult the table for SAP Customer Activity Repository, regardless of your scenario. Notes listed
there are often common corrections, applicable to all consuming applications.
After the installation Front-End Mandatory. Fiori - Latest version of Manage Promotional Offers
2756450
Promotional
Offers CARAB
4.0
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 35
SAP Notes for SAP Allocation Management
Note
Always consult the SAP Notes for SAP Customer Activity Repository, regardless of your scenario. Notes
listed there are common corrections, applicable to all consuming applications.
After the installation Back-end 2841488 This note comprises all back-end corrections of SAP Allocation
Management up to the RTC date of 4.0 FPS02.
SAP Allocation
Management
4.0 FPS02 -
Back End Cor
rections until
RTC
After the installation Front-end 2842371 This note comprises all front-end corrections of SAP Allocation
Management up to the RTC date of 4.0 FPS02.
SAP Allocation
Management
4.0 FPS02 -
Front End Cor
rections until
RTC
After the installation Follow-On Sys 2618509 Implement the correction to facilitate the creation of allocation ta
tem bles from SAP Allocation Management in the SAP S/4HANA fol
Blacklisted
low-on system.
RFC for Crea
tion of Alloca
tion Table in
S4H System
After the installation Back-end 2631613 Follow the instructions to create a valid business scenario ID.
SAP Allocation
Management -
Customizing -
Define Busi
ness Scenarios
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
36 PUBLIC Prepare the Installation
Implement Area SAP Note Description
After the installation Back-end 2632881 This note contains corrections regarding the SAP HANA database.
SHDB: Low
and High Val
ues are clipped
during conver
sion of Selec
tionTables into
WHERE
clauses
After the installation Back-end 2502917 This note is only relevant if the back-end component SAP_GWFND
752 is below SP 2.
Unable to reg
ister the serv
ice /AMR/
OD_WORKLOAD
_SRV with
namespace
After the installation Back-end 2474287 This note resolves inconsistent maintenance of units of measure
between SAP ECC and SAP Customer Activity Repository.
Handling of
units of meas
ure inside SAP
Allocation
Management
After the installation SAP S/4HANA 2522603 This note can be implemented for calling ATP (available-to-prom
Retail for mer ise) for multiple products in the target SAP S/4HANA or ECC sys
Wrapper RFC
chandise man tem. This note is intended to increase the performance of the ATP
for ATP via
agement call to the target system
Controller
After the installation Back-end 2641286 This note is relevant for SADL implementation services based on
CDS views for back-end software component SAP_GWFND 752
Internal server
error This note is mandatory.
LCX_MISS
ING_PARAME
TER in
CL_SADL_ABQ
I
After the installation Back-end 2636746 This note is mandatory for OData services based on CDS views
with parameters relevant for GW_FND version ABAP 7.52 and
OData Naviga
above.
tion not work
ing
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 37
Implement Area SAP Note Description
After the installation Back-end 2441184 The manual instructions in the note must be implemented for the
successful activation of SAP Allocation Management applications.
Static ABAP
generation er This note is mandatory.
ror of
classes /AMR/
CL... when in
stalling CARAB
1.0 FP03,
CARAB 2.0,
and CARAB
4.0
SAP Allocation
Management :
Activating /AM
R/* views ends
in Error
After the installation Follow-on sys 2416853 Enhanced functionality for the transfer of allocation data to an
tem ECC system.
RFC function
module to cre
ate allocation
table for SAP
Allocation
Management
After the installation Follow-on sys 2524857 Creation of an allocation table from SAP Allocation Management
tem in SAP S/4HANA system for the transfer of allocation plans.
RFC function
module to cre
ate allocation
table for SAP
Allocation
Management
in S4H system
After the installation Back-end 2850366 This note is mandatory if your source system is SAP S/4HANA
1909; otherwise, it is optional. It is highly recommended that it be
HANA Content
installed to ensure the correctness of SAP Allocation
helper report
Management code.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
38 PUBLIC Prepare the Installation
Implement Area SAP Note Description
After the installation Back-end 2850296 This note is mandatory for distribution curve functionality.
Support for
S/4H 1909
source system
in
report /DMF/
CRE
ATE_SLT_TA
BLES
SAP Customer Activity Repository applications bundle is installed in a multi-level system landscape (SAP
HANA database, ABAP back-end server, ABAP front-end server with SAP Gateway and SAP Fiori apps). Each
level requires specific users and privileges. In this procedure, you set up the users and privileges for the SAP
HANA database (level 1 below).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 39
Overview
The following figure shows the three levels of the system landscape and explains the authorizations that must
be set up in each level:
Caution
Level 1: You must set up the users and privileges for the SAP HANA database before installing SAP
Customer Activity Repository applications bundle on the ABAP back-end server and the ABAP front-end
server. This procedure is described below.
Note
Level 2 and Level 3: You can only set up these authorizations after the installation.
● Level 2: Generally, the back-end users and roles only need to be set up in a new installation scenario. In
an upgrade scenario, they should already be available. The setup is described in section Verify Back-
End Users and Roles.
● Level 3: The required front-end authorizations depend on the application and SAP Fiori apps that you
wish to set up. See the following sections, for example:
Assign Roles, Catalogs, and Groups in SAP Fiori Launchpad (SAP Assortment Planning), Assign Roles,
Catalogs, and Groups in SAP Fiori Launchpad (SAP Allocation Management), or Set Up SAP Fiori Apps
for SAP Customer Activity Repository [page 116]
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
40 PUBLIC Prepare the Installation
Procedure
To set up the authorizations for level 1 (SAP HANA database), follow these steps:
Caution
Users marked * must be identical on all three levels: that is, on the SAP HANA database level, on the
back-end server, and on the front-end server.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 41
Users Privileges / Roles
_SYS_REPO ○ Privilege SELECT, with option Grantable to others, on the following physical
database schemas:
○ Physical database schema of your back-end system, this is referred to
as SAP<SID> in this guide
○ Physical database schema that contains the SAP Retail or SAP S/
4HANA tables
○ Physical database schema that contains the SAP CRM tables
○ Physical database schema that contains the SAP Marketing tables
○ Authoring schema SAP_ECC (required if your source master data sys
tem is SAP Retail)
○ Authoring schema SAP_S4H (required if your source master data sys
tem is SAP S/4HANA)
You can use the following example SQL statement to grant the privilege:
GRANT SELECT ON SCHEMA <Your schema name> TO
_SYS_REPO WITH GRANT OPTION;
○ Role UDF_DEPLOY_SYS_REPO. For information about the privileges auto
matically assigned via this role, see Set Up Authorizations for Unified De
mand Forecast (UDF) [page 78].
○ For SAP Allocation Management, you need the following additional privi
leges:
○ Privilege CREATE ANY
○ Privilege CREATE SCHEMA
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
42 PUBLIC Prepare the Installation
Parent topic: Prepare the Installation [page 26]
In SAP HANA studio, verify that all “authoring schemas” of SAP Customer Activity Repository applications
bundle are mapped to the correct “physical schema” of your customer back-end system. If necessary, create
any mappings that are missing. This procedure is mandatory for all the applications.
Context
You must map multiple authoring schemas to the same physical schema:
● The authoring schema is the logical database schema with which the SAP HANA objects were originally
created in the SAP source system. The authoring schema is listed in each object's properties in SAP HANA
studio. Different objects can have different authoring schemas.
● The logical database schema of your customer back-end system is the physical schema. When you
replicate tables from the source master data system later on, this back-end system with its physical
schema is the target system. This is why all authoring schemas must be mapped to this one physical
schema of your customer system (n:1 relationship).
In this guide, your physical schema is referred to as SAP<SID>. This is your customer-defined database system
ID.
Substitute this schema name whenever the SAP<SID> variable is used in this guide.
If you don't know the SAP<SID> name for your system, there are two easy ways to find it:
● Log on to your ABAP back-end system using SAP Logon. Choose System Status . In the lower right-
hand section titled Database data, see the name for Schema.
● In SAP HANA studio, the schema name is listed as an object under Catalog.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 43
● Schema mapping allows you to transport SAP HANA objects from the source system to the target system.
For example, from the SAP delivery system to your test system, and from your test system to your
production system. After schema mapping, you can access and deploy the transported objects.
● Schema mapping is a prerequisite for activating the SAP HANA content.
● Schema mapping is also a prerequisite for replicating the required SLT tables from the source master data
system to your SAP Customer Activity Repository back-end system.
Authoring Schemas
SAP_DDF SAP HANA objects for Demand Data Foundation and Unified
Demand Forecast
Prerequisites
You have set up the authorizations as described in Verify SAP HANA Users and Privileges [page 39].
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
44 PUBLIC Prepare the Installation
4. Select the system and choose Add.
5. Enter the authoring schema and physical schema that need to be mapped.
○ Map all authoring schemas from table 1 to the same physical schema (SAP<SID>) in your customer
system. If necessary, add new mappings.
○ Map each authoring schema from table 2 to the physical schema for the respective source master
data system in your customer system. If necessary, add new mappings.
6. Choose OK.
Note
If you are using an SAP HANA system with multiple isolated tenant databases to perform cross
database access between tenants, you must provide the authoring database name and the physical
database name in the schema mapping definition.
Use
Execute this procedure to generate time data for the calendar type Gregorian. This setting is required for
several SAP Fiori apps in SAP Customer Activity Repository applications bundle, for example.
Note
Specific scenarios of SAP Customer Activity Repository applications bundle might require you to select the
Fiscal calendar type (instead of the Gregorian). If so, this will be indicated later in the guide, when you get to
the setup procedures for the different consuming applications (under Set Up the Applications [page 73]).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 45
Prerequisites
Read the following calendar information for SAP HANA Platform: Navigate to https://help.sap.com/viewer/p/
SAP_HANA_PLATFORM and select your version at the top. Under Development, choose the SAP HANA
Modeling Guide (for SAP HANA Studio). See the Generate Time Data section and its subsections.
Procedure
Note
The range of years should include all the years of data that you plan to store in SAP Customer Activity
Repository.
Example
If you plan to start using SAP Customer Activity Repository on January 1, 2019, enter 2019 as your
starting year. But if you plan to access sales documents created in SAP Retail that date back to January
2017, enter 2017 as your starting year.
Note
Day is the minimum granularity required by SAP Customer Activity Repository. You can choose a finer
level of granularity, for example Hour, if necessary.
8. Choose Finish.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
46 PUBLIC Prepare the Installation
4.5 Configure AFL Usage
Perform configuration tasks to enable the usage of application function libraries (such as the PAL and the OFL)
for the applications SAP Assortment Planning and SAP Allocation Management.
To enable the usage of the PAL algorithm for SAP Assortment Planning, perform the required setup steps.
Use
The installation of SAP HANA Platform includes the installation of the PAL algorithm, a prerequisite for SAP
Assortment Planning.
To enable the usage of the PAL algorithm, as required by SAP Assortment Planning, perform the following
procedure.
Note
Procedure
1. To confirm that the PAL functions were installed successfully, you can run SELECT statements in the three
relevant public views as follows:
○ SELECT * FROM SYS.AFL_AREAS WHERE AREA_NAME = 'AFLPAL';
In the case of a successful installation, the statement should return 1 row.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 47
○ SELECT * FROM SYS.AFL_PACKAGES WHERE AREA_NAME = 'AFLPAL';
In the case of a successful installation, the statement should return 1 row.
○ SELECT * FROM SYS.AFL_FUNCTIONS WHERE AREA_NAME = 'AFLPAL';
In the case of a successful installation, the statement should return many rows. Verify that the function
KMEANS is part of the list.
More Information
● Section Install the Prerequisites [page 17] Common Prerequisites SAP HANA Platform
● http://help.sap.com/hana_platform <Version> Reference SAP HANA Predictive Analysis Library
(PAL)
Confirm that the OFL algorithm was installed successfully as prerequisite for SAP Assortment Planning and
SAP Allocation Management.
Use
The installation of SAP HANA Platform includes the installation of the OFL algorithm, a prerequisite for SAP
Assortment Planning.
Procedure
1. To confirm that the OFL was installed successfully, you can run SELECT statements in the three relevant
public views as follows:
○ SELECT * FROM SYS.AFL_AREAS WHERE AREA_NAME = 'OFL_AREA';
In the case of a successful installation, the statement should return 1 row.
○ SELECT * FROM SYS.AFL_PACKAGES WHERE AREA_NAME = 'OFL_AREA';
In the case of a successful installation, the statement should return 1 row.
○ SELECT * FROM SYS.AFL_FUNCTIONS WHERE AREA_NAME = 'OFL_AREA';
In the case of a successful installation, the statement should return 4 rows. Verify that the function
GENIOS_SOLVE is part of the list.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
48 PUBLIC Prepare the Installation
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Prepare the Installation PUBLIC 49
5 Install the Software
For a correct installation, you must first install the required prerequisites and pre-installation SAP Notes. Then
you install the back-end components and the front-end components. Lastly, you check for SAP Notes that
must be implemented after the installation.
Ensure that the required prerequisites and SAP Notes have been implemented in your system landscape.
1. Verify that you have installed and configured the required prerequisites for your scenario. See Install the
Prerequisites [page 17] under Common Prerequisites and Application-Specific Prerequisites.
2. Verify that all SAP Notes that must be applied before the installation and that are required for your
scenario have been implemented.
See Implement SAP Notes for the Installation [page 26].
Note
Always consult the table for SAP Customer Activity Repository, regardless of your scenario. Notes
listed there are often common corrections, applicable to all consuming applications.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
50 PUBLIC Install the Software
5.2 Install ABAP Back-End Server
Install the SAP RTL AFL FOR SAP HANA component in the SAP HANA database. In your back-end system,
then install the back-end product version of SAP Customer Activity Repository applications bundle and set up
an SAP client.
Context
The ABAP back-end server is based on SAP NetWeaver. It contains the products that provide the business logic
and the back-end data, including users, roles, and authorizations.
Note
1. Download and Install the Application Function Library (SAP RTL AFL FOR SAP HANA) [page 51]
Install compatible revisions of the SAP RTL AFL FOR SAP HANA component, the SAP HANA AFL
component, and the SAP HANA database. You must do this before you install the back-end product
version of SAP Customer Activity Repository applications bundle.
2. Install SAP Customer Activity Repository applications bundle (Back-End Product Version) [page 54]
Install the SAP CARAB 4.0 FPS02 back-end product version of SAP Customer Activity Repository
applications bundle 4.0 FPS02 in your back-end system. First create a stack XML file with Maintenance
Planner. Then install this file with Software Update Manager (transaction SUM).
3. Set Up SAP Client [page 57]
Set up an SAP client on your back-end system. The steps to follow depend on whether your scenario
uses the Demand Data Foundation (DDF) module in SAP Customer Activity Repository or not.
Install compatible revisions of the SAP RTL AFL FOR SAP HANA component, the SAP HANA AFL component,
and the SAP HANA database. You must do this before you install the back-end product version of SAP
Customer Activity Repository applications bundle.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 51
Overview
There is one software component in SAP Customer Activity Repository applications bundle that you must
always install first: SAP RTL AFL FOR SAP HANA.
You must download compatible revisions of SAP RTL AFL FOR SAP HANA, SAP HANA AFL, and SAP HANA
DATABASE, and install them together. For this, you need to be aware of the following dependencies.
Even though SAP RTL AFL FOR SAP HANA is part of SAP Customer Activity Repository applications bundle,
the component is released independently.
The reason is that AFL components (such as SAP RTL AFL FOR SAP HANA and SAP HANA AFL) follow the
release cycle of the SAP HANA database. The releases are called “revisions”. Whenever a new revision of the
SAP HANA database is released, a new revision of each AFL is released. As a result, there are always multiple
revisions of each component available for download.
Caution
Compatible Revisions
For each revision of an AFL component, there is only one compatible revision of the SAP HANA database.
Whenever you upgrade the AFL components to a new revision, you must also upgrade the database.
Whenever you upgrade the database to a new revision, you must also upgrade the AFL components.
This applies not only during a new installation or an upgrade, but is equally relevant if you decide to
upgrade your SAP HANA Platform to a higher revision or even support package stack later on.
Patches
Within the same revision, however, you can still upgrade an AFL component to a newer patch. Example:
● Your current revision of SAP RTL AFL FOR SAP HANA is:
Revision 37.200 for SAP HANA Platform 2.0 SPS03 Revision 37.02
● A new patch of SAP RTL AFL FOR SAP HANA might be:
Revision 37.201 for SAP HANA Platform 2.0 SPS03 Revision 37.02
Note
When you download an AFL from the SAP Support Portal, the compatible revision of the SAP HANA
database is always indicated.
1. Determine which revision of the SAP HANA database and the AFL components you wish to install.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
52 PUBLIC Install the Software
To select the best revision for your scenario, see the Common Prerequisites in section Install the
Prerequisites [page 17]. Carefully read the information under SAP HANA Platform 2.0 and SAP RTL AFL
FOR SAP HANA:
○ Note the minimum revision of the SAP HANA database and the AFL components. You need at least
this revision for the current release.
○ Note what you need to do if you wish to select a higher revision than the minimum revision.
Once you have selected a revision, this gives you the compatible revisions of the other components.
2. Download the compatible revisions from the SAP Support Portal at http://support.sap.com Download
Software :
Tip
Alternatively, you can log in to the SAP ONE Support Launchpad at https://
launchpad.support.sap.com/#/softwarecenter/ and follow the navigation from there.
Note
When downloading SAP RTL AFL FOR SAP HANA, you might also see another AFL component
called SAP XRP AFL. You can ignore this component and don't need to download nor install it.
Tip
If you encounter issues during the installation, see the Troubleshooting [page 166] section for possible
solutions.
Result
You have successfully installed the SAP RTL AFL FOR SAP HANA component.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 53
Remember
For future updates of your system landscape, remember that the dependencies between the AFL
components and the SAP HANA database still apply.
For example, should you later decide to upgrade your SAP Customer Activity Repository applications
bundle scenario to a higher release requiring a higher AFL revision, you will also need to upgrade the
database.
Vice versa, should you decide to upgrade your SAP HANA database to a higher revision (for example, to use
new features in SAP HANA), you will also need to upgrade all AFL components to the compatible revision.
Next: Install SAP Customer Activity Repository applications bundle (Back-End Product Version) [page 54]
Install the SAP CARAB 4.0 FPS02 back-end product version of SAP Customer Activity Repository
applications bundle 4.0 FPS02 in your back-end system. First create a stack XML file with Maintenance
Planner. Then install this file with Software Update Manager (transaction SUM).
Prerequisites
● You have completed all of the procedures described in the previous sections of this guide. In particular, see
section Prepare the Installation [page 26].
● You have installed compatible revisions of the SAP HANA database, the SAP HANA AFL component, and
the SAP RTL AFL FOR SAP HANA component. If you need information on the required revisions, see
Install the Prerequisites [page 17].
● (Optional) For information on the supported interoperability scenarios between the back-end product
version and the front-end product version, see SAP Note 2815026 (Back-end and front-end
interoperability in SAP Customer Activity Repository applications bundle 4.0).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
54 PUBLIC Install the Software
Overview
Maintenance Planner Plan your system landscape and create a stack XML file
based on the required product versions.
More information: https://help.sap.com/viewer/p/MAINTE
NANCE_PLANNER
Software Update Manager (SUM) Install or upgrade components using the stack XML file.
Note
It may be possible to install or upgrade components using the SAP Add-On Installation Tool (transaction
SAINT) or the Support Package Manager (transaction SPAM), but these alternative procedures are not
described in this guide. For information on whether they are possible for your implementation scenario and
on how to proceed, see SAP Note 1803986 .
Note
If you encounter issues with Maintenance Planner, see the following SAP Notes for possible solutions:
● 2596901 : NetWeaver 7.51 and 7.52 targets are not available when selecting the option "Update SAP
NetWeaver" in Maintenance Planner
● 2535751 : Can not select the higher release for Netweaver in Maintenance Planner
● 2314463 : Required file K-XXXxxxxxxxx.SAR is not visible for your user Sxxxxxxx
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 55
9. Choose Install or Maintain an Add-On.
10. Select the back-end product version SAP CARAB 4.0 and the support package stack FPS02 (11/2019).
11. Select the instance CAR Retail Application Bundle.
12. Choose Confirm Selection.
13. Choose Next.
14. Select the operating system and database for your scenario.
15. Choose Confirm Selection.
16. Review the details of your stack dependent and independent files, then choose Next.
17. Choose Download Stack XML.
You have now created the stack XML file.
Install the Stack XML File Using Software Update Manager (SUM)
Result
Note
With this installation, the SAP HANA content for Unified Demand Forecast (UDF) has already been
activated automatically. This saves you a manual activation step later on.
Previous: Download and Install the Application Function Library (SAP RTL AFL FOR SAP HANA) [page 51]
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
56 PUBLIC Install the Software
5.2.3 Set Up SAP Client
Set up an SAP client on your back-end system. The steps to follow depend on whether your scenario uses the
Demand Data Foundation (DDF) module in SAP Customer Activity Repository or not.
● You want to model and forecast demand using the UDF module in SAP Customer Activity Repository.
● You want to use the Omnichannel Promotion Pricing (OPP) module in SAP Customer Activity Repository.
● You want to use SAP Allocation Management.
● You want to use SAP Assortment Planning.
● You want to use SAP Merchandise Planning.
● You want to use SAP Promotion Management.
Caution
If you are performing a client copy, only do this after you have successfully imported all related
software components. Also, only import or transfer Customizing tables after the client copy is
complete. For instructions, see SAP Note 337623 (Customizing after installation or upgrade).
Note
If you have multiple source master data systems and/or clients, you must define a logical system for
each system/client.
Carefully read the activity documentation and verify that your settings are correct.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 57
Follow these steps:
Caution
If you are performing a client copy, only do this after you have successfully imported all related
software components. Also, only import or transfer Customizing tables after the client copy is
complete. For instructions, see SAP Note 337623 (Customizing after installation or upgrade).
Using the same client number might not be possible due to the specifics of your implementation and client
setup rules. In this case, you must use SLT transformation rules before replicating data to transform the
source SAP Retail or SAP S/4HANA, and optionally, the source SAP CRM or SAP Marketing clients to
match the client on your back-end system.
Example
If SAP Retail and SAP CRM (or SAP Marketing) are set up on client 100 in your implementation, you
should also set up your installation on client 100. If, for any reason, you are unable to do so, you can
transform the source client to 100 using SLT transformation rules.
Cross-system information is client-dependent. As a result, the SAP Client (MANDT) attribute must be used
as one of the join attributes in the SAP HANA views to combine cross-system sales and master data. All
data (whether created or replicated) must be affiliated with the same client number.
3. If required, enable the support of multiple source master data systems and do the client mapping for each
of these systems.
In Customizing, choose SAP Customer Activity Repository General Settings Client Mapping For
Multiple ERP Systems and make the required settings.
More Information
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
58 PUBLIC Install the Software
Previous: Install SAP Customer Activity Repository applications bundle (Back-End Product Version) [page 54]
Install the complete UI layer in the front-end system. This UI layer consists of SAP Gateway, the central SAP
Fiori UI component (SAP Fiori front-end server), and the product-specific SAP Fiori UI component (front-end
product version of SAP Customer Activity Repository applications bundle).
Context
The ABAP front-end server contains all the infrastructure components to generate an SAP Fiori app-specific
UI for the client and to communicate with the back-end systems. The UI components and SAP Gateway are
based on SAP NetWeaver.
The central SAP Fiori UI component is a framework that provides the common infrastructure for all SAP Fiori
apps: The SAP Fiori launchpad is the basis of all SAP Fiori UIs, and provides fundamental functions for SAP
Fiori apps (such as logon, surface sizing, navigation between apps, and role- based app catalogs). End-users
access the SAP Fiori apps from the SAP Fiori launchpad.
Note
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 59
Next: Install Alternate Storage (Optional) [page 63]
SAP Gateway (SAP_GWFND) is a component in SAP NetWeaver. In this procedure, you ensure that the required
SAP NetWeaver version is installed on your ABAP front-end server.
Context
SAP Gateway (sometimes called SAP Gateway Foundation) handles the communication between the ABAP
back-end server and the client on the front-end. It establishes a connection between SAP Business Suite or
application data and target clients, platforms, and programming framework.
Note
With the recommended central hub deployment option, you use separate servers for the back-end and the
front-end components. For a landscape diagram and more information about deployment options, see
System Landscape [page 13].
Procedure
1. Ensure that the required SAP NetWeaver version is installed on your front-end server. For more
information, see the following:
○ For the required version, see Install the Prerequisites [page 17] and consult the information under
Common Prerequisites Foundation on SAP NetWeaver AS for ABAP, version for SAP HANA and
SAP Fiori.
○ For installation and upgrade information for SAP Fiori, see https://help.sap.com/viewer/p/
FIORI_IMPLEMENTATION <Version> Installation and Upgrade SAP Fiori: Setup and
Configuration Setup of SAP Fiori System Landscape , including the Installation subsection.
The central SAP Fiori UI component includes the SAPUI5 control library and the SAP Fiori launchpad. It is
delivered as part of the SAP Fiori front-end server. Verify that the required version of the SAP Fiori front-end
server is installed in your front-end system.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
60 PUBLIC Install the Software
Context
The add-on product SAP Fiori front-end server contains the technology software components that are required
to run SAP Fiori scenarios on an ABAP front-end server.
Procedure
1. Verify what version of SAP Fiori front-end server is required for this release.
See Install the Prerequisites [page 17] under Common Prerequisites SAP Fiori . The section also
points you to the installation information.
2. Ensure that the required version is installed on your front-end server.
Previous: Install SAP Gateway on the ABAP Front-End Server [page 60]
Next: Install Product-Specific SAP Fiori UI Component (Front-End Product Version) [page 61]
Install the SAP FIORI FOR SAP CARAB 4.0 FPS02 front-end product version in your front-end system. The
product version contains the SAP Fiori apps for SAP Customer Activity Repository applications bundle. First
create a stack XML file with Maintenance Planner and then install the stack XML file with Software Update
Manager (transaction SUM).
Prerequisites
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 61
Overview
Maintenance Planner Plan your system landscape and create a stack XML file
based on the required product versions.
More information: https://help.sap.com/viewer/p/MAINTE
NANCE_PLANNER
Software Update Manager (SUM) Install or upgrade components using the stack XML file.
Note
It may be possible to install or upgrade components using the SAP Add-On Installation Tool (transaction
SAINT) or the Support Package Manager (transaction SPAM), but these alternative procedures are not
described in this guide. For information on whether they are possible for your implementation scenario and
on how to proceed, see SAP Note 1803986 .
Note
If you encounter issues with Maintenance Planner, see the following SAP Notes for possible solutions:
● 2596901 : NetWeaver 7.51 and 7.52 targets are not available when selecting the option "Update SAP
NetWeaver" in Maintenance Planner
● 2535751 : Can not select the higher release for Netweaver in Maintenance Planner
● 2314463 : Required file K-XXXxxxxxxxx.SAR is not visible for your user Sxxxxxxx
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
62 PUBLIC Install the Software
11. Select a valid front-end server instance.
12. Choose Confirm Selection.
13. Choose Next.
14. Select the operating system and database for your implementation scenario.
15. Choose Confirm Selection.
16. Review the details of your stack-dependent and stack-independent files, then choose Next.
17. Choose Download Stack XML.
Install the Stack XML File Using Software Update Manager (SUM)
Result
You have successfully installed the front-end product version for this release.
You only need to implement this procedure if you plan on using the Table Content Aging report delivered with
SAP Customer Activity Repository. This report allows you to copy your transaction log (TLOG) data and its
extensions from your SAP HANA database to an alternate storage technology (such as SAP IQ or Apache
Hadoop), thereby reducing your total cost of hardware ownership.
Use
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 63
Note
If your scenario includes demand modeling and forecasting with the Unified Demand Forecast (UDF)
module, we recommend retaining the historical sales data in memory.
Process Flow
In order to successfully install alternate storage, you must execute the following procedures:
You use these procedures to install and set up SAP IQ to support the Table Content Aging report
(transaction /CAR/TABLE_AGING) delivered with SAP Customer Activity Repository.
The SAP HANA database points to your SAP IQ database using SAP HANA smart data access (SDA), which
exposes data from SAP IQ remote sources as virtual tables.
For more information, see SAP Help Portal at https://help.sap.com/viewer/p/CARAB <your release>
Application Help SAP Customer Activity Repository POS Data Transfer and Audit Implementing a POS
Transaction Data Storage Strategy Using the Table Content Aging Report .
Install SAP IQ
For more information, see SAP Help Portal at https://help.sap.com/viewer/p/SAP_IQ Installation and
Upgrade SAP IQ Installation and Update Guide for <your operating system> .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
64 PUBLIC Install the Software
Configure SAP IQ
Note
The default DBSpaces provided during installation are intended to be used for SAP IQ system
management. You should create your own DBSpace under the Main store with a DB File that is large
enough to satisfy your sizing requirements.
Note
3. Create a database under the content created at the beginning of this procedure.
Note
Note
These tables should have the same structure as the tables in your SAP HANA system. One possible
way is to export the table structure via Export SQL on the SAP HANA side, and import it on the SAP IQ
side using the SQL console.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 65
○ Renaming of NVARCHAR to VARCHAR.
○ Removing references to CS_* (for example, CS_FIXED).
Example
Example
Install and configure the ODBC database drivers required to connect to the remote source.
Note
Each data source driver setup is described in its own section. The prerequisites are given as a simple guide;
you will need to consult the original driver documentation provided by the driver manufacturer for more
detailed information.
You use these procedures to install and set up Apache Hadoop to support the Table Content Aging report
(transaction /CAR/TABLE_AGING) delivered with SAP Customer Activity Repository.
The SAP HANA database points to your Hadoop cluster using SAP HANA smart data access (SDA), which
exposes data from Hadoop remote sources as virtual tables.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
66 PUBLIC Install the Software
Process Flow
To successfully install and set up integration with Apache Hadoop, you must execute the following procedures:
According to the SAP HANA Administration Guide for SAP HANA Platform, SAP HANA smart data access is
supported by Hortonworks Distribution for Apache Hadoop: version 2.3 (supported on Intel-based hardware
platforms only).
For more information on integration between SAP HANA and Apache Hadoop, see SAP Help Portal at http://
help.sap.com/viewer/p/SAP_HANA_PLATFORM Administration SAP HANA Administration Guide for
SAP HANA Platform Data Access SAP HANA Smart Data Access .
For more information on installing Apache Hadoop, see http://docs.hortonworks.com All HDP 2.3
HDP 2.3.0 (GA) .
Note
Integration between SAP HANA and Apache Hadoop requires either an Apache Hive ODBC driver or an
SAP HANA Spark controller.
Implement this procedure only if you wish to integrate SAP HANA with Apache Hadoop via the Apache Hive
ODBC driver.
1. According to the SAP HANA Administration Guide for SAP HANA Platform, SAP HANA smart data access is
supported by Hortonworks Distribution for Apache Hadoop: version 2.3 (This includes Apache Hadoop
version 1.0.3 and Apache Hive 0.9.0; supported on Intel-based hardware platforms only).
For more information on integration between SAP HANA and Apache Hadoop, see SAP Help Portal at
http://help.sap.com/viewer/p/SAP_HANA_PLATFORM Administration SAP HANA Administration
Guide for SAP HANA Platform Data Access SAP HANA Smart Data Access .
For more information on installing the Apache Hive ODBC driver, see http://docs.hortonworks.com All
HDP 2.3 HDP 2.3.0 (GA) .
2. Set up the driver as described in the SAP HANA Administration Guide for SAP HANA Platform at http://
help.sap.com/viewer/p/SAP_HANA_PLATFORM Administration SAP HANA Administration Guide for
SAP HANA Platform Data Access SAP HANA Hadoop Integration .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 67
Install and Set Up the SAP HANA Spark Controller
Note
Integration between SAP HANA and Apache Hadoop requires either an Apache Hive ODBC driver or an
SAP HANA Spark controller.
Implement this procedure only if you wish to integrate SAP HANA with Apache Hadoop via the SAP HANA
Spark controller.
1. Confirm the right combination of versions required between SAP HANA, Apache Spark, and the SAP HANA
Spark controller. Use the SAP HANA Spark Controller Compatibility Matrix to do this. This document is
available under https://help.sap.com/viewer/p/SAP_HANA_SPARK_CONTROLLER. Navigate to
Additional Information SAP HANA Spark Controller Compatibility Matrix .
2. Install and set up the SAP HANA Spark controller as described in SAP Note 2273047 .
For more information on installing and setting up the SAP HANA Spark controller, see SAP Help Portal at
http://help.sap.com/viewer/p/SAP_HANA_PLATFORM Administration SAP HANA Administration Guide
for SAP HANA Platform Data Access SAP HANA Hadoop Integration .
Create the SAP schema, tables, and table partitions as described in SAP Note 2317597 .
The TLOG data and its extensions are copied from your SAP HANA database to Hadoop using the HDFS NFS
Gateway on your Hadoop system. To enable this you must create a mount point on your SAP NetWeaver
system for the data files to be created directly in the Hadoop File System (HDFS).
Note
The following steps are only guidelines which provide an example of how to mount Network File System
(NFS) on an SAP NetWeaver Linux-based client.
1. Make sure the NFS client is installed based on the examples provided:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
68 PUBLIC Install the Software
Operating System Command
Note
You must ensure that the folder paths share the same naming conventions, as follows:
On your HDFS, the different tables are stored under a folder using the following convention:
<data directory>/<schema>/<table>/<businessdaydate=partition_value>/{files}
On the SAP NetWeaver file system, the Hadoop files are stored under a physical path and file name that is
derived from a customer-definable logical path or file name. The configuration is provided via the FILE
transaction. Inside the FILE transaction, you also need to make use of parameters PARAM_1 and PARAM_2.
PARAM_1 will be populated during runtime by the program (generated file name) and PARAM_2 will be
populated by the program during runtime <schema>/<table>/<businessdaydate=partition_value>.
You create the following logical path in the FILE transaction as follows:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 69
You create the following logical file in the FILE transaction as follows:
Application area IS
/tmp/tct_csv_out/data/hdp/apps/hive/warehouse/On top of the Hadoop data files, you also need to provide
a temporary directory in which the program will populate script files and also temporarily store data files to be
compressed.
If the temporary files are stored in Unix/Linux folder /tmp/tct_csv_out/temp/{files}, you create the
following logical path in the FILE transaction as follows:
You create the following logical file in the FILE transaction as follows:
Data format
Application area IS
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
70 PUBLIC Install the Software
5.4.3 Install and Set Up Integration with SAP HANA Dynamic
Tiering
You use these procedures to install and set up SAP HANA Dynamic Tiering to support the Table Content Aging
report (transaction /CAR/TABLE_AGING) delivered with SAP Customer Activity Repository.
SAP HANA Dynamic Tiering adds the SAP HANA dynamic tiering service to your SAP HANA system. You use
this service to create the extended store and extended tables. Extended tables behave like all other SAP HANA
tables, but their data resides in the disk-based extended store.
For more information, see SAP Help Portal at http://help.sap.com/viewer/p/CARAB <your release>
Application Help SAP Customer Activity Repository POS Data Transfer and Audit Implementing a POS
Transaction Data Storage Strategy Using the Table Content Aging Report .
A detailed procedure is described in the SAP HANA Dynamic Tiering: Installation and Update Guide.
For more information, see SAP Help Portal at http://help.sap.com/hana_options_dt Installation and
Upgrade .
A detailed procedure is described in the SAP HANA Dynamic Tiering: Administration Guide.
For more information, see SAP Help Portal at http://help.sap.com/hana_options_dt Administration SAP
HANA Dynamic Tiering: Administration Guide and consult the following subsections:
Note
This step is not applicable if you are integrating the alternate storage feature with SAP HANA Dynamic
Tiering.
Create a remote source by selecting the appropriate adapter and configuring the connection properties and
user credentials.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Install the Software PUBLIC 71
A detailed procedure is described in the SAP HANA Administration Guide for SAP HANA Platform.
Create the following virtual tables to access the data stored in remote tables:
VT_TLOGF_NLS /POSDW/TLOGF
VT_TLOGF_X_NLS /POSDW/TLOGF_X
VT_TLOGF_EXT_NLS /POSDW/TLOGF_EXT
VT_PLOGF_NLS /POSDW/PLOGF
A detailed procedure is described in the SAP HANA Administration Guide for SAP HANA Platform.
This deploys package sap.is.retail.car.nls for ECC mode SAP ERP, or sap.is.retail.car_s4h.nls
for ECC mode S/4HANA. Each package contains views that combine TLOG data from SAP HANA with TLOG
data from the alternate storage system.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
72 PUBLIC Install the Software
6 Set Up the Applications
You have installed the back-end components and front-end components of SAP Customer Activity Repository
applications bundle. Now you must first do the setup steps under SAP Customer Activity Repository Core
(Mandatory for All Applications) . These steps are required for all the applications. Then you either continue
with the setup steps under SAP Customer Activity Repository Advanced (Optional) or do the setup steps
for your application.
For SAP Allocation Management, first consult the information in section SAP Allocation Management. Then
do the setup steps under SAP Customer Activity Repository Core (Mandatory for All Applications) .
First do the setup steps under SAP Customer Activity Repository Core (Mandatory for All Applications) .
Then you can continue with the setup steps under SAP Customer Activity Repository Advanced
(Optional) or do the setup steps for your application.
Perform the core steps to set up SAP Customer Activity Repository as the common platform. The core steps
are mandatory for SAP Customer Activity Repository and for all the consuming applications.
Caution
Always do the core steps first. Then you can continue with the Advanced (Optional) steps for SAP
Customer Activity Repository or with the setup steps for your application.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 73
There are notes that can only be implemented after you have installed the back-end product version
and the front-end product version. You must therefore do this additional check and implement the
required notes, before you do the next steps.
2. Verify Back-End Users and Roles [page 75]
Ensure that the required users on the SAP HANA database level and on the back-end application level
have the privileges, roles, and authorizations required for your scenario.
3. Set Up Authorizations for On-Shelf Availability (OSA) [page 77]
In SAP HANA studio, grant the AFL__SYS_AFL_POSDM_AREA_EXECUTE role to the SAP<SID> user in
your back-end system. This short procedure is mandatory for all the applications, because it is
required for the successful activation of the SAP HANA content later on.
4. Set Up Authorizations for Unified Demand Forecast (UDF) [page 78]
In SAP HANA studio, create three roles for UDF, grant the required privileges, and assign two roles to
the SAP<SID> user and one role to the _SYS_REPO user. This procedure is mandatory for all the
applications because the authorizations are needed for the successful activation of the SAP HANA
content later on.
5. Create/Replicate Source Master Data System Tables [page 81]
Create the tables in SAP Customer Activity Repository that are required for replicating data from your
source master data system. Then do the actual replication of the tables. You need SAP HANA studio
and the SAP Landscape Transformation Replication Server (SLT) for this procedure. For reference, you
can download a spreadsheet that lists the required tables for each source master data system (SAP
Retail, SAP S/4HANA).
6. Activate SAP HANA Content [page 85]
Activate the SAP HANA content for your scenario by running the /CAR/ACTIVATE_HTA report in the
back-end system. You can run this report as many times as required. For example, if you choose to
extend your scenario at a later point in time, you run the report again to activate the SAP HANA content
for the added options.
7. Activate SAP HANA Content for Distribution Curves [page 87]
If your scenario includes the calculation of distribution curves, do the additional steps described here
to activate the required SAP HANA content.
8. Activate SAP HANA Script Server [page 89]
Activate the script server for the SAP HANA database. This step is mandatory for all the applications.
9. Configure Demand Data Foundation [page 90]
Configure the DDF module in SAP Customer Activity Repository as required for your scenario.
10. Configure SAP Gateway [page 95]
Perform several configuration steps for SAP Gateway and the OData services. The steps to follow
depend on the SAP NetWeaver version on your front-end server.
11. Configure SAP Fiori Launchpad [page 102]
Perform the general configuration of the SAP Fiori launchpad. You must do this procedure before you
can set up SAP Fiori apps for any of the applications.
12. Calculate SAPUI5 Application Index for SAP Fiori Apps [page 103]
Configure and run the /UI5/APP_INDEX_CALCULATE (Calculation of SAPUI5 Application Index for
SAPUI5 Repositories) report in your front-end system. The report updates the SAPUI5 application
index. If the index is up-to-date, the system can find data related to SAP Fiori apps significantly faster.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
74 PUBLIC Set Up the Applications
6.1.1.1 Check SAP Notes and RINs
There are notes that can only be implemented after you have installed the back-end product version and the
front-end product version. You must therefore do this additional check and implement the required notes,
before you do the next steps.
Prerequisites
Make sure that you have the up-to-date version of each note, which you can find on the SAP Support Portal at
http://support.sap.com/notes .
The release information notes (RINs) in particular are continuously updated, as new corrections for the current
release of SAP Customer Activity Repository applications bundle become available.
Procedure
See the Implement SAP Notes for the Installation [page 26] section. Check whether there are SAP Notes that
can only be implementedafter the installation. Make sure to implement all the required notes.
a. Always see the table for SAP Customer Activity Repository. Notes listed there are often common
corrections, applicable to all consuming applications.
b. Then see the table for your application.
c. For the latest back-end corrections, see the back-end RIN.
d. For the latest front-end corrections, see the front-end RIN.
Ensure that the required users on the SAP HANA database level and on the back-end application level have
the privileges, roles, and authorizations required for your scenario.
Prerequisites
● You are aware that the names of the front-end application users must be the same as those in the SAP
HANA database and the back-end application.
● You have read and performed the steps in section Verify SAP HANA User and Privileges [page 39].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 75
Procedure
Ensure that your back-end application user has the following roles/authorizations.
Using the SAP HANA Database Data Modeling When Using a SAP HANA
Mixed Modeling (SAP BW and SAP HANA) Generating SAP HANA Views
Parameter Value
RSPLS_HDB_PE_TRACE Y
More Information
● For SAP Assortment Planning: Assign Roles, Catalogs, and Groups in SAP Fiori Launchpad [page 256]
● For SAP Allocation Management: Assign Roles, Catalogs, and Groups in SAP Fiori Launchpad [page 273]
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
76 PUBLIC Set Up the Applications
6.1.1.3 Set Up Authorizations for On-Shelf Availability
(OSA)
In SAP HANA studio, grant the AFL__SYS_AFL_POSDM_AREA_EXECUTE role to the SAP<SID> user in your
back-end system. This short procedure is mandatory for all the applications, because it is required for the
successful activation of the SAP HANA content later on.
Context
The AFL__SYS_AFL_POSDM_AREA_EXECUTE role enables the SAP<SID> user to call the OSA application
function library (part of the SAP RTL AFL FOR SAP HANA component) in the SAP HANA database.
Prerequisites
● You have installed the SAP RTL AFL FOR SAP HANA component as described in Download and Install the
Application Function Library (SAP RTL AFL FOR SAP HANA) [page 51].
● You have an SAP<SID> user and an SAP<SID> physical schema in your SAP HANA database. The names
must be identical. If you need more information on database users and schema mapping, see Verify Back-
End Users and Roles [page 75] and Verify Correct Schema Mapping [page 43].
● You know what the name of the SAP<SID> user is in your system landscape. For information on how to find
this name, see Verify Correct Schema Mapping [page 43].
● You have database administrator rights so that you can grant roles to users.
Procedure
Tip
● If you encounter issues related to authorization or authentication, see the Security-Related Issues
section of the SAP HANA Troubleshooting and Performance Analysis Guide, which you can find under
https://help.sap.com/viewer/p/SAP_HANA_PLATFORM <Version> Administration .
● We have provided an example SQL statement below that you can adapt as needed for your system
landscape.
1. In SAP HANA studio, access your back-end system and open the SAP HANA Administration Console.
2. Choose Security Users .
3. Select your SAP<SID> user and open the user details (or double-click the user).
4. On the Granted Roles tab, choose the plus icon and select AFL__SYS_AFL_POSDM_AREA_EXECUTE as the
role name.
SQL example: grant AFL__SYS_AFL_POSDM_AREA_EXECUTE to SAP<SID>;
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 77
5. Save your changes by choosing the Deploy (F8) icon at the top right.
Result
Next: Set Up Authorizations for Unified Demand Forecast (UDF) [page 78]
In SAP HANA studio, create three roles for UDF, grant the required privileges, and assign two roles to the
SAP<SID> user and one role to the _SYS_REPO user. This procedure is mandatory for all the applications
because the authorizations are needed for the successful activation of the SAP HANA content later on.
Context
Role Purpose
UDF_EXECUTE Required to execute UDF. Enables the SAP<SID> user to call the UDF applica
tion function library (AFL) in the SAP HANA database.
UDF_DEPLOY Required to activate the SAP HANA content for UDF. Enables the SAP<SID>
user to deploy the SAP HANA content for UDF.
UDF_DEPLOY_SYS_REPO Required to activate the SAP HANA content. Defines additional privileges for
the _SYS_REPO standard user.
Prerequisites
● You have installed the SAP RTL AFL FOR SAP HANA component as described in Download and Install the
Application Function Library (SAP RTL AFL FOR SAP HANA) [page 51]. This component contains the
application function library for UDF.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
78 PUBLIC Set Up the Applications
● You have mapped authoring schemas to physical schemas as described in Verify Back-End Users and
Roles [page 75].
● You know what the name of the SAP<SID> schema/user is in your system landscape. For information on
how to find this name, see Verify Correct Schema Mapping [page 43].
● You have database administrator rights so that you can create roles, grant privileges, and assign roles to
users.
Procedure
Tip
● If you encounter issues related to authorization or authentication, see the Security-Related Issues
section of the SAP HANA Troubleshooting and Performance Analysis Guide. You can find this guide at
https://help.sap.com/viewer/p/SAP_HANA_PLATFORM, select your version at the top right, and see
under Administration.
● We have also provided example SQL statements below that you can adapt as needed for your system
landscape.
1. In SAP HANA studio, log on to your back-end system and open the SAP HANA Administration Console.
2. Navigate to Security Roles and select New Role from the context menu.
3. In the Role Name field, specify UDF_EXECUTE.
SQL example: create role UDF_EXECUTE;
4. Make the following settings for this role:
○ On the Granted Roles tab: Choose the plus icon and select the
AFL__SYS_AFL_UDFCORE_AREA_EXECUTE role from the list.
SQL example: grant AFL__SYS_AFL_UDFCORE_AREA_EXECUTE to UDF_EXECUTE;
○ On the Object Privileges tab: Add the following catalog objects and grant them the following privileges:
○ Catalog object (schema name) SAP<SID>: privileges SELECT, INSERT, UPDATE, DELETE
SQL example: grant SELECT, INSERT, UPDATE, DELETE on schema SAP<SID> to
UDF_EXECUTE;
○ Catalog object (schema name) _SYS_BIC: privileges SELECT, EXECUTE
SQL example: grant SELECT, EXECUTE on schema _SYS_BIC to UDF_EXECUTE;
○ On the Analytic Privileges tab: Add the _SYS_BI_CP_ALL privilege.
SQL example: call
GRANT_ACTIVATED_ANALYTICAL_PRIVILEGE('_SYS_BI_CP_ALL','UDF_EXECUTE');
5. Save your changes by choosing the Deploy (F8) icon at the top right.
6. Navigate to Security Users .
7. Select the SAP<SID> user from the list and open the details screen (or double-click the user).
8. On the Granted Roles tab, add the UDF_EXECUTE role.
SQL example: grant UDF_EXECUTE to SAP<SID>
9. Save your changes by choosing the Deploy (F8) icon at the top right.
Note
You have created the first role with the required privileges and granted the role to the SAP<SID> user.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 79
10. Now create the second role. Navigate again to Security Roles and select New Role from the context
menu.
11. In the Role Name field, specify UDF_DEPLOY.
SQL example: create role UDF_DEPLOY;
12. Make the following settings for this role:
○ On the Granted Roles tab: Choose the plus icon and select the CONTENT_ADMIN role from the list.
SQL example: grant CONTENT_ADMIN to UDF_DEPLOY;
○ On the System Privileges tab: Add the CATALOG READ privilege.
SQL example: grant CATALOG READ to UDF DEPLOY;
13. Save your changes by choosing the Deploy (F8) icon at the top right.
14. Navigate again to Security Users .
15. Select the SAP<SID> user from the list and open the details screen (or double-click the user).
16. On the Granted Roles tab, add the UDF_DEPLOY role.
SQL example: grant UDF_DEPLOY to SAP<SID>;
17. Save your changes by choosing the Deploy (F8) icon at the top right.
Note
You have created the second role and granted the role to the SAP<SID> user.
18. Now create the third role. Navigate again to Security Roles and select New Role from the context
menu.
19. In the Role Name field, specify UDF_DEPLOY_SYS_REPO.
SQL example: create role UDF_DEPLOY_SYS_REPO;
20.On the Object Privileges tab, make these settings:
Add catalog object (schema name) SAP<SID> and grant the privileges SELECT, INSERT, UPDATE, and
DELETE.
SQL example: grant SELECT, INSERT, UPDATE, DELETE on schema SAP<SID> to
UDF_DEPLOY_SYS_REPO;
21. Save your changes by choosing the Deploy (F8) icon at the top right.
22. Navigate again to Security Users .
23. Select the _SYS_REPO user from the list and open the details screen (or double-click the user).
24. On the Granted Roles tab, add the UDF_DEPLOY_SYS_REPO role.
SQL example: grant UDF_DEPLOY_SYS_REPO to _SYS_REPO;
25. Save your changes by choosing the Deploy (F8) icon at the top right.
Note
You have created the third role with the required privileges and granted the role to the _SYS_REPO user.
Result
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
80 PUBLIC Set Up the Applications
Previous: Set Up Authorizations for On-Shelf Availability (OSA) [page 77]
Next task: Create/Replicate Source Master Data System Tables [page 81]
Create the tables in SAP Customer Activity Repository that are required for replicating data from your source
master data system. Then do the actual replication of the tables. You need SAP HANA studio and the SAP
Landscape Transformation Replication Server (SLT) for this procedure. For reference, you can download a
spreadsheet that lists the required tables for each source master data system (SAP Retail, SAP S/4HANA).
Prerequisites
Note
If your source master data system is SAP S/4HANA 1909, be aware that as of that release, the SAP LT
Replication Server is no longer available as a standalone component. Instead, SAP S/4HANA 1909
includes an embedded SAP LT Replication Server by default.
To be able to replicate the data from an SAP S/4HANA 1909 system, you first need to prepare the
replication. This preparation has the added advantage that it gives you the option to still use a
standalone SAP LT Replication Server. Follow the steps in SAP S/4HANA 1909 Only - Prepare Data
Replication with SAP Landscape Transformation Replication Server [page 84]. Then return to this
procedure here.
Context
SAP Customer Activity Repository applications bundle can use data originating from a single or multiple source
master data systems.
The list of tables to create and replicate depends on your leading source master data system:
In this procedure, you first create and then replicate the required tables.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 81
Note
Procedure
1. Download the spreadsheet with the SLT tables for your version of SAP Customer Activity Repository
applications bundle:
a. Navigate to SAP Help Portal at https://help.sap.com/viewer/p/CARAB and select your version at the
top.
b. Download the archive SLT Tables for SAP Customer Activity Repository applications bundle 4.0 (all
versions) from under Installation and Upgrade.
c. Extract the spreadsheet and see the tables listed for your source master data system.
2. Caution
You must always create and replicate all the tables listed for your source master data system in the
spreadsheet. This is necessary not only for the data replication itself but also for the successful
activation of the SAP HANA content later on.
Note
To be able to activate the SAP HANA content for SAP Allocation Management, you must replicate
both the SAP Retail tables and the SAP Fashion Management tables. The replication of the SAP Fashion
Management tables is mandatory, even if you do not use SAP Fashion Management.
Create all the tables listed for your source master data system.
a. Configure access from the SAP Landscape Transformation Replication Server to the source SAP Retail
or SAP S/4HANA Retail system (RFC connection) and from the SAP Landscape Transformation
Replication Server to the target SAP HANA database of your SAP Customer Activity Repository back-
end system.
For more information, see section Technical Prerequisites and Authorization Aspects and section
Accessing the Configuration and Monitoring Dashboard under https://help.sap.com/viewer/p/
SAP_LANDSCAPE_TRANSFORMATION_REPLICATION_SERVER <Version> Operations
Application Operations Guide (Replicating Data to SAP HANA) .
b. Ensure that your SAP Customer Activity Repository back-end system is connected to SAP HANA
studio.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
82 PUBLIC Set Up the Applications
c. Ensure that the database schemas are created on the SAP HANA database of your back-end system.
These are the schemas on your SAP HANA database to which the SAP Retail and/or SAP S/4HANA
data will be replicated.
Note
For more information, see the Create a Schema section of the SAP HANA Developer Guide.
d. Create all the tables for your source master data system.
1. Log on to the SAP Landscape Transformation Replication Server.
2. Execute transaction LTRC (SAP LT Replication Server Cockpit)).
3. Define and select your replication configuration.
See https://help.sap.com/viewer/p/
SAP_LANDSCAPE_TRANSFORMATION_REPLICATION_SERVER <Version> Operations
Application Operations Guide (Replicating Data to SAP HANA) and search for Creating a
Configuration.
4. Choose Execute (F8) . A screen opens that shows the details of this replication configuration.
5. Select the table overview tab. On top, the data provisioning function will get visible.
6. Execute the table overview function. On the subsequent pop-up, select the function for table
creation.
7. Choose the multiple selection push-button next to the table name field.
8. In the next screen, you can either enter table names manually or upload a text file with the table
names (recommended):
Create this text file from the spreadsheet that you downloaded before. Make sure that the text file
contains only the table names and no other data. Then upload the text file.
9. Choose Copy (F8) to return to the previous screen.
10. Choose Execute (F8) to trigger the creation of the tables.
You have successfully created the tables in your SAP Customer Activity Repository back-end system.
3. Replicate all the tables listed for your source master data system.
Note
If your SAP Retail or SAP S/4HANA Retail system and your back-end SAP Customer Activity
Repository system are co-deployed on the same SAP HANA database, you do not need to replicate the
tables.
a. Save a CSV file of the required tables. You will later load the tables from this file.
b. In SAP HANA studio, choose Window Perspective Open Perspective and open the SAP HANA
Modeler perspective.
c. In the Quick View panel, choose Data Provisioning to open the Data Provisioning Editor for your system.
If the Quick View panel is not displayed, choose Help Quick View .
d. In the Data Provisioning Editor, make any necessary adjustments: remove or add tables, select the
appropriate source system, and select the target schema for replication.
e. Choose Replicate to open the Replicate Request screen.
f. Choose Load from file, browse to the location where you saved the CSV file and select it.
g. The tables in the file are added to the Selected column on the right-hand side. Choose Finish.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 83
In the Data Provisioning Editor, you can monitor the action status of the tables using Data Load
Management.
You have successfully replicated the tables from your source master data system into your SAP Customer
Activity Repository back-end system. Continue with the next section.
Previous: Set Up Authorizations for Unified Demand Forecast (UDF) [page 78]
Only perform this procedure if your source master data system is SAP S/4HANA 1909. If so, you must do the
steps described here before doing the actual replication.
Context
If your source master data system is SAP S/4HANA 1909, be aware that the SAP LT Replication Server is no
longer available as a standalone component. Instead, SAP S/4HANA 1909 includes an embedded SAP LT
Replication Server by default.
To be able to replicate data from SAP S/4HANA 1909 into SAP Customer Activity Repository, you first need to
prepare the replication as described below.
This preparation has the added advantage that it gives you the option to still use a standalone SAP LT
Replication Server.
Procedure
Prepare data replication from SAP S/4HANA 1909 to SAP Customer Activity Repository, using an embedded or
a standalone SAP LT Transformation Server:
1. Pause your current SLT replication routine with the SAP LT Replication Server.
2. Upgrade your source master data system to SAP S/4HANA 1909 as described in the corresponding
product documentation. For more information, see SAP Help Portal for SAP S/4HANA 1909.
3. Implement SAP Note 2857334 (Unsupported data type DECFLOAT34 / D34N when replicating from a
S/4 HANA OP1909 system) in your SAP S/4HANA 1909 system.
4. Adjust your SLT configuration as described in the note.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
84 PUBLIC Set Up the Applications
5. Now you can resume the data replication. Return to section Create/Replicate Source Master Data System
Tables [page 81] and follow the instructions.
Activate the SAP HANA content for your scenario by running the /CAR/ACTIVATE_HTA report in the back-end
system. You can run this report as many times as required. For example, if you choose to extend your scenario
at a later point in time, you run the report again to activate the SAP HANA content for the added options.
Prerequisites
You have successfully completed all the previous procedures in this guide.
Context
The /CAR/ACTIVATE_HTA report activates the SAP HANA Transport for ABAP (HTA) objects for your scenario.
Tip
If you encounter issues during the activation, see the Troubleshooting [page 166] section for possible
solutions.
Procedure
Note
If the SAP HANA content is already active for an option, you can see this directly on the screen.
SAP Allocation Management Follow the instructions in Activate SAP Allocation Management SAP HANA
Content [page 263].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 85
You want to activate the SAP HANA
content for... Select at least these options...
Distribution Curves (without SAP Follow the instructions in Activate SAP HANA Content for Distribution
Allocation Management) Curves [page 87].
SAP Assortment Planning ○ ECC Mode: Select your source master data system. If you use Fashion
Management, select it.
○ Business Scenarios Activation: Select Assortment Planning.
On-Shelf Availability ○ ECC Mode: Select your source master data system.
○ Business Scenarios Activation: Select On-Shelf Availability and
Customer Activity Repository.
Omnichannel Article Availability and ○ ECC Mode: Select your source master data system.
SAP Merchandise Planning Follow the instructions in Activate SAP HANA Content for SAP Merchan
dise Planning [page 189].
Results
You have successfully activated the SAP HANA content for your scenario. Continue with the next section.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
86 PUBLIC Set Up the Applications
Previous task: Create/Replicate Source Master Data System Tables [page 81]
Next: Activate SAP HANA Content for Distribution Curves [page 87]
If your scenario includes the calculation of distribution curves, do the additional steps described here to
activate the required SAP HANA content.
Run the Report for Creating the Dummy Schema and Dummy Tables
The report checks for a missing physical schema and creates this physical schema and the corresponding
dummy tables in the schema if necessary. The successful completion of this step is a prerequisite for activating
the SAP HANA content for distribution curves.
Prerequisites
● To be able to run the report, you need an SAP HANA database user in the ABAP back-end system with the
authorization to create the dummy schema. See section Verify SAP HANA Users and Privileges [page 39]
and search for create.
● Ensure that you have implemented SAP Note 2850296 (Support for S/4H 1909 source system in
report /DMF/CREATE_SLT_TABLES).
Procedure
1. In your ABAP back-end system, start transaction SE38. Enter /DMF/CREATE_SLT_TABLES (Create SLT
Tables) as the program and choose Execute.
2. Select your source master data system. For S/4HANA, select also the version.
3. Enter the name of the physical source and the name of the dummy schema. For the Physical Source
Schema, enter the physical schema name into which your SLT tables should be replicated. For the Physical
Dummy Schema, enter the name for the schema to be created. If the physical source schema already
exists in the SAP HANA database, then only the dummy tables in this schema are created when you
execute the report.
4. Select the simulation mode for a test run. After the simulation run, check for errors in the application log.
Check the names you use for your physical schema. If you are using the default names below, no further action
is required:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 87
If you have chosen names for your physical schema that are different from the names above, you must do the
following:
1. Maintain a schema mapping in your SAP HANA database where your customer-specific names are used as
authoring schemas for the physical schema. For instructions, see Verify Correct Schema Mapping [page
43].
A precondition for activating SAP HANA Transport for ABAP (HTA) objects is that the PREWORK_DONE indicator
is set for all packages with activation mode P – prework needed.
Note
You must set this indicator for all Demand Data Foundation (DDF) packages that are relevant for calculating
distribution curves:
● sap.is.ddf.ecc
● sap.is.ddf.fms
● sap.is.ddf.fms_s4h
● sap.is.ddf.cross.ecc
● sap.is.ddf.cross.fms
● sap.is.ddf.cross.fms_s4h
● sap.is.ddf.cross
1. Call transaction SE16 (Data Browser) and display the contents of table CTS_HOT_PREWORK (HANA
Transport for ABAP: Prework for SAP HANA Deployment).
2. Enter the ABAP_HANA_PACKAGE_ID for all DDF packages listed above.
You can obtain the ABAP_HANA_PACKAGE_ID for the HANA_PACKAGE_ID from table CTS_HOT_PACKAGE.
3. Check if the indicator PREWORK_DONE is set to X for all the DDF packages listed above. If not, set the
indicator to X.
Based on your scenario, there can be inactive packages in DDF, even though you have already activated the
content via the report /CAR/ACTIVATE_HTA (Activate SAP HANA Content for SAP CARAB), as described in
section Activate SAP HANA Content [page 85].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
88 PUBLIC Set Up the Applications
Make sure that all the DDF packages are activated:
1. Call transaction SCTS_HTA_DEPLOY (SAP HANA Transport for ABAP - Deployment) to check and, if
necessary, deploy each of the following packages:
Caution
Do this in exactly the same order in which the packages are listed here.
○ sap.is.ddf.ecc
○ sap.is.ddf.fms
○ sap.is.ddf.fms_s4h
○ sap.is.ddf.cross.ecc
○ sap.is.ddf.cross.fms
○ sap.is.ddf.cross.fms_s4h
○ sap.is.ddf.cross
Note
Activate the script server for the SAP HANA database. This step is mandatory for all the applications.
Context
The script server is an auxiliary SAP HANA server that is required to execute application function libraries
(AFLs). For example, this applies to the SAP HANA AFL component (which includes the SAP HANA Predictive
Analysis Library (PAL) and other libraries) and to the SAP RTL AFL FOR SAP HANA component (which
includes the libraries for Unified Demand Forecast and On-Shelf Availability).
Note
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 89
The operating system process can be started while the SAP HANA database is already running.
Procedure
Previous: Activate SAP HANA Content for Distribution Curves [page 87]
Configure the DDF module in SAP Customer Activity Repository as required for your scenario.
Required Configuration
● You want to model and forecast demand using the UDF module in SAP Customer Activity Repository.
● You want to use the Omnichannel Promotion Pricing (OPP) module in SAP Customer Activity Repository.
● You want to use SAP Allocation Management.
● You want to use SAP Assortment Planning.
● You want to use SAP Merchandise Planning.
● You want to use SAP Promotion Management.
Note
The configuration of DDF is optional for the following SAP Customer Activity Repository scenarios:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
90 PUBLIC Set Up the Applications
For additional configurations and integration information, see the following documentation on SAP Help Portal
at http://help.sap.com/viewer/p/CARAB <Version> :
● Application Help SAP Customer Activity Repository Demand Data Foundation Integration
Information Master Data Replication from SAP ERP to Demand Data Foundation
● Administration SAP Customer Activity Repository Administration Guide : sections Configure Demand
Data Foundation (DDF), Configure Data Replication from SAP ERP to DDF
Note
If you encounter issues during the configuration, see the Troubleshooting [page 166] section for possible
solutions.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 91
6.1.1.9.1 Perform General Demand Data Foundation
Configuration
Perform various configuration steps in Customizing for DDF. DDF must be fully configured and operational for
all the scenarios for which it is mandatory.
Procedure
1. Perform all of the Customizing activities that are required for DDF.
For more information, see the Configure Demand Data Foundation (DDF) section of the SAP Customer
Activity Repository Administration Guide.
Configure the system so it automatically creates and updates flat structures for the product and location
hierarchies in DDF. The flat structures are required so that the consuming applications can correctly recognize
the hierarchies.
Context
Flat structures describe the parent-child relationships of hierarchies in a flattened format. A hierarchy can be
vertically or horizontally flattened. Each row of the resulting flat structure contains one parent-child
relationship.
When you create (or update) a product hierarchy, product group, location hierarchy, or location group in
Demand Data Foundation (DDF), the system should create (or update) the corresponding flat structure.
Without this, you get hierarchy errors in the consuming applications.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
92 PUBLIC Set Up the Applications
options are for each of the following events: LOCATION_CREATED, LOCATION_UPDATED,
CREATE_LOC_HIER, CREATE_PROD_HIER. If you need to change a setting, you can do so in the Details
screen of each event.
For more information about event handling, see SAP Note 1098805 , in particular sections Events and
Transactions for troubleshooting.
Results
You have set up the automatic flattening of the hierarchies. When you now create (or update) a hierarchy, the
system will automatically run the /DMF/TREE_FLATTENER_PROD_INS report (for product hierarchies) or
the /DMF/TREE_FLATTENER_LOC_INS report (for location hierarchies) and create (or update) the
corresponding flat structure.
Next: Import SAP NetWeaver Portal Roles for DDF [page 93]
Set up user authorizations for DDF using the PFCG roles from the SAP NetWeaver Business Client (NWBC) and
from the SAP NetWeaver Portal (optional). Both sets of roles operate in the same manner.
Use
The roles have been designed for use in SAP NetWeaver Business Client. To use the functions of these roles in
SAP NetWeaver Portal, you must upload the roles from the SAP back-end system to the portal. The uploaded
objects are converted into portal objects.
Procedure
1. Use the Role Upload tool to generate the SAP NetWeaver Portal roles automatically. For information about
this tool, see SAP Note 1685257 .
You can also enhance the SAP NetWeaver Portal roles; for example, you can create your own iViews.
You can upload the following roles for DDF:
○ SAP_ISR_DDF_MASTER
○ SAP_ISR_DDF_READONLY_MASTER
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 93
For descriptions of these roles and information about maintaining roles in SAP Customer Activity Repository,
see section Authorizations in the SAP Customer Activity Repository Administration Guide.
Use additional configuration options for Demand Data Foundation (DDF) to optimize performance for different
use cases.
Procedure
See the following options and implement those that are relevant for you:
You have a great number of products and locations, so that Consider table partitioning.
the resulting tables are very large.
For information, see the Partition Tables for UDF and DDF
section of the SAP Customer Activity Repository Administra
tion Guide.
You are using DDF together with UDF to model and forecast Optimize performance for modeling and forecasting proc
consumer demand. esses.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
94 PUBLIC Set Up the Applications
Previous: Import SAP NetWeaver Portal Roles for DDF [page 93]
Perform several configuration steps for SAP Gateway and the OData services. The steps to follow depend on
the SAP NetWeaver version on your front-end server.
Make several general configuration settings (for example, set profile parameters, activate ICF services, or make
language settings). The settings may vary depending on the SAP NetWeaver version installed on your front-end
server, or on other specifics related to your system landscape.
Use
The steps are not specific to this guide and are described in the product documentation of your SAP
NetWeaver version.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 95
Procedure
Note
If you encounter issues, see SAP Note 1797736 (SAP Gateway Troubleshooting Guide) for possible
solutions.
Set up the connection between SAP Gateway on your front-end server and your back-end system. In other
words, set up the OData Channel (ODC).
Use
The steps are not specific to this guide and are described in the product documentation for your SAP
NetWeaver version.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
96 PUBLIC Set Up the Applications
These settings allow you to connect SAP Gateway to your back-end system. They include the following
steps:
○ Creating a type 3 connection from the SAP Gateway host to your back-end system
○ Defining a trust relationship between your back-end system and the SAP Gateway host
○ Configuring your back-end system to accept SAP assertion tickets from the SAP Gateway host
○ Configuring your SAP Gateway host to accept SAP assertion tickets from your back-end system
○ Configuring the necessary system aliases
Before you can use SAP Gateway, you must activate it globally on your front-end server.
Use
The steps are not specific to this guide and are described in the product documentation for your SAP
NetWeaver version.
Procedure
First activate all the common OData services for SAP Fiori (mandatory). Then select the OData services for the
application and SAP Fiori apps that you wish to use and activate these services as well.
Context
For security reasons, the OData services are delivered in an inactive state:
● The common OData services are delivered as part of the SAP Fiori front-end server. They are required for
the SAP Fiori launchpad and you must always activate them.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 97
● The application-specific OData services are delivered with SAP Customer Activity Repository
applications bundle. You only need to activate the services that are relevant for your application.
Procedures
Tip
The Service Catalog shows you all the services that are currently active in your SAP Gateway system.
3. To add and activate more services, choose Add Service.
The Add Selected Services screen is displayed.
4. In System Alias, select the alias of your local back-end system.
This is the alias that you have created in Connect SAP Gateway to your Back-End System [page 96]. For
example, LOCAL.
5. In Technical Service Name, specify /UI2*.
6. Choose Get Services (or press ENTER ).
7. Select all the common OData services for SAP Fiori:
/UI2/PAGE_BUILDER_CONF
/UI2/PAGE_BUILDER_CUST
/UI2/PAGE_BUILDER_PERS
/UI2/TRANSPORT
/UI2/INTEROP
Result
The common OData services are now active in your SAP Gateway system.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
98 PUBLIC Set Up the Applications
2. In transaction SPRO, navigate to SAP Reference IMG SAP NetWeaver SAP Gateway OData Channel
Administration General Settings Activate and Maintain Services and execute the Customizing
activity.
Tip
The Service Catalog shows you all the services that are currently active in your SAP Gateway system.
3. Activate the services that are required for your application:
1. Choose Add Service.
The Add Selected Services screen is displayed.
2. In System Alias, select the alias of your back-end system.
3. Choose Get Services (or press ENTER ).
The available services are displayed.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 99
4. Use the following table for reference and select the services for your application:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
100 PUBLIC Set Up the Applications
For this Application... Activate These OData Services...
Distribution Curves For the Configure Distribution Curves app and the calculation of distribution curves:
○ /DMF/DIST_CURVE
Management ○ /AMR/OD_COMMON_SRV
○ /AMR/OD_MARKETUNIT_SRV
○ /AMR/OD_PARAM_SRV
○ /AMR/OD_WORKLOAD_SRV
○ /AMR/OD_PRODUCT_FLOW_SRV
○ /AMR/OD_KPI_CONFIG_SRV
○ /AMR/OD_ALLOCATIONRESULT_SRV
○ /AMR/OD_BASKET_SRV
○ /AMR/OD_ALLOCATIONPLAN_SEARCH_SRV
○ /AMR/OD_CAPACITYMANAGEMENT_SRV
Planning ○ /DMF/LOCATION_CLUSTERSET_SRV
○ /DMF/MASTER_DATA_SRV
○ /DMF/MODULE_MANAGEMENT_SRV
○ /DMF/OBJ_ATTRIBUTE_SRV
○ /DMF/PLAN_CONFIG_SRV
○ /DMF/SEARCH_LOCATIONS_SRV
○ /DMF/SEARCH_PRODUCTS_SRV
○ /DMF/SEASONS_SRV
○ /RAP/ASSORTMENT_LIST_SRV
○ /RAP/OPTION_PLAN_SRV
○ /RAP/PHP_MATCH_SRV
○ /RAP/VALIDITY_PERIOD_SRV
○ /RAP/V_OP_KPI_Q_CDS_CDS
○ /RAP/OPT_PLN_KPI_SRV
○ /RAP/V_OP_OCLST_PRSL_Q_CDS_CDS
SAP Merchandise Not applicable (this application does not have SAP Fiori apps)
Planning
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 101
Note
User roles are only needed if you want to have connections to multiple back-end systems or multiple
clients on the same back-end. The user roles are system-specific and are not delivered by default. If
required, you must create them manually. If you define multiple user roles for different connections,
make sure you have only one role assigned to your user at any time. If you need to change roles, first
remove the old role from your user, then assign the new role.
Result
The application-specific services that you have selected are now active in your SAP Gateway system.
Perform the general configuration of the SAP Fiori launchpad. You must do this procedure before you can set
up SAP Fiori apps for any of the applications.
Context
SAP Fiori launchpad is a shell that hosts SAP Fiori apps, and provides the apps with services such as
navigation, personalization, embedded support, and configuration.
The configuration steps are not specific to this guide and are described in the product documentation of your
SAP NetWeaver version on the front-end server.
Prerequisite
The central SAP Fiori UI component is installed on the front-end server. The component contains the SAP Fiori
launchpad.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
102 PUBLIC Set Up the Applications
3. (Optional) Configure additional settings to improve the performance of the SAP Fiori Launchpad. These
settings are relevant for the following scenario:
○ Your source master data system is SAP S/4HANA 1809 or higher.
○ You are using Web Dynpro applications or SAP GUI for HTML transactions as tiles on the SAP Fiori
launchpad.
For more information, see the Upgrade Guide for SAP S/4HANA 1809 at https://help.sap.com/viewer/
product/SAP_S4HANA_ON-PREMISE/1809.00latest/en-US and search for section SAP Fiori Launchpad
Settings for Improved Performance.
Next: Calculate SAPUI5 Application Index for SAP Fiori Apps [page 103]
Configure and run the /UI5/APP_INDEX_CALCULATE (Calculation of SAPUI5 Application Index for SAPUI5
Repositories) report in your front-end system. The report updates the SAPUI5 application index. If the index is
up-to-date, the system can find data related to SAP Fiori apps significantly faster.
Context
The SAPUI5 application index provides indexing and caching for data related to SAP Fiori apps, components,
and libraries. This data is contained in SAPUI5 repositories on the SAP NetWeaver Application Server for ABAP.
Initially, the index is empty. It is calculated and updated each time you run the report.
Configuration Options
To configure how the index should be calculated, you can choose from several options in the report:
● Tab Complete Index, option Depending on Expiry Period and Import of Transport Requests:
This option updates those SAPUI5 repositories and the distribution layer where either the specified
expiration period (in hours and minutes) has elapsed or where a transport has changed the content of the
repositories and the distribution layer since the last update.
Note
This is the default mode with an expiration period of 24 hours. We recommend that you use this mode
when scheduling the report for periodic execution.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 103
● Tab Complete Index, option Full Calculation:
This option performs a full update of all SAPUI5 repositories and the distribution layer regardless of any
expiration dates.
● Single SAPUI5 Repository Only
● SAPUI5 Distribution Layer Only
Use
You can run the report manually, but we recommend the following best practices:
● Schedule the report as a job with periodic execution for all follow-up systems where the changes are
transported to. This ensures that the application index is updated based on the transports imported by the
system.
● Always run the report in the following situations:
○ after any changes to the content of the SAPUI5 ABAP repository (for example, implementation of SAP
Notes, upgrades, changes to SAP Gateway systems)
○ after installing a new version of the distribution layer
○ after implementing an SAP Note containing changes to an SAP Fiori app
Prerequisites
You are familiar with the prerequisites, configuration options, and requirements of the report. For more
information, see the following:
● SAP Note 2227577 (Recalculation of the SAPUI5 Application Index After Implementing an SAP Note)
● Report documentation in transaction SE38
● SAPUI5: UI Development Toolkit for HTML5: Here you can find detailed information on the SAPUI5
application index and the report. Consult the documentation for the SAP NetWeaver version on your front-
end server.
For example, for SAP Gateway for SAP NetWeaver 7.52 see https://help.sap.com/viewer/p/
SAP_NETWEAVER_AS_ABAP_752 <your SP> Application Help UI Technologies in SAP NetWeaver
SAPUI5: UI Development Toolkit for HTML5 Developing Apps The SAPUI5 ABAP Repository and the
ABAP Back-End Infrastructure SAPUI5 Application Index , including the subsections.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
104 PUBLIC Set Up the Applications
4. Choose Execute ( F8 ) again to run the report manually.
Tip
Schedule the report to run on a regular basis in all your front-end systems.
Perform optional steps to set up specific functionality in SAP Customer Activity Repository.
The SAP Smart Business for Multichannel Sales Analytics apps included in this installation are based on the
SAP Smart Business Modeler Apps Framework. Installation and setup of this framework includes the following:
Note
If you are installing User Interface Add-On 2.0 for SAP NetWeaver, you must download and install add-on
object UISAFND1 100 as described in SAP Note 2183947 .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 105
6.1.2.1.2 Configure SAP Web Dispatcher for the SAP Smart
Business Modeler Apps
SAP Web Dispatcher lies between the Internet and your SAP system. It is the entry point for HTTP(s) requests
into your system. As a “software web switch”, SAP Web Dispatcher can reject or accept connections. It
contributes to security and also balances the load in your SAP system.
To find the SAP Web Dispatcher information for your SAP NetWeaver release, see the following:
● Central SAP Web Dispatcher note: 908097 SAP Web Dispatcher: Release, Installation, Patches,
Documentation
● Product documentation: https://help.sap.com/viewer/p/SAP_NETWEAVER. Choose your SAP NetWeaver
Platform and select the support package stack at the top right.
For configuration information, search for “Administration of the SAP Web Dispatcher”.
For a configuration example, search for “SAP Web Dispatcher Configuration Reference”.
For architecture information, search for “Architecture and Functions of the SAP Web Dispatcher”.
How to Configure SAP Web Dispatcher for the SAP Smart Business Modeler
Apps
Other Solutions
If you use any other reverse proxy, see the manufacturer's documentation for more information.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
106 PUBLIC Set Up the Applications
6.1.2.2 Configure On-Shelf Availability
Configure the On-Shelf Availability (OSA) module in SAP Customer Activity Repository. All steps are optional
and depend on your implementation scenario.
Note
The configuration of OSA is mandatory if you want to generate intraday forecasts. For information about
this feature, see https://help.sap.com/viewer/p/CARAB <Version> Application Help SAP Customer
Activity Repository Unified Demand Forecast General Services Generate Intraday Forecasts .
Note
If you encounter any issues when upgrading OSA, see Troubleshooting [page 166] for a possible solution.
Use
Each scheduled run of a processing step of On-Shelf Availability (OSA) has a generated run ID. This is the
unique identification for a job.
The run ID is used to distinguish several runs within one period. Each processing step has its own ID generator:
Estimation /OSA/NR_EST
Monitoring /OSA/NR_MON
Analysis /OSA/NR_ANA
For each of the four ID generator transactions, you must define the range of run IDs.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 107
4. In the first row of the table, enter the following values for the following fields:
○ Field No: 01
○ Field From No.: 0000000000000001
○ Field To Number: 9999999999999999
5. Save your changes.
Use
There are two OSA-specific SAP HANA views that can be customized:
● AN_TRANSACTION
● PROMOTION_TRANS
You must check if the fields in these views contain the mappings or formulas you need.
Caution
If you need to modify a view, be aware that a new installation will rewrite the modifications. It is therefore
recommended to back up the modified views.
Procedure
1. Define the data foundation that is the source for the view, that is, the table /POSDW/TLOGF.
2. Define filters for the view.
3. Map the fields from source to target.
4. Create measures and calculation fields.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
108 PUBLIC Set Up the Applications
○ VOIDEDLINE = '': Canceled transactions are not used by On-Shelf Availability.
● Examples of fields mappings:
○ MANDT: Client ID. This field is mapped to the MANDT column of the /POSDW/TLOGF table.
○ STORE_ID: Store ID. This field is mapped to the RETAILSTOREID column of the /POSDW/TLOGF table.
○ BUSINESSDAYDATE: Business day. This field is mapped to the BUSINESSDAYDATE column of the /
POSDW/TLOGF table.
● Examples of measures:
○ RETAILQUANTITY: Amount of units sold. Refers to the SALESUOM (Sales Unit of Measure) field that is
also defined in the /POSDW/TLOGF table. Contains the value of the RETAILQUANTITY field.
○ PRICE: Price specified in the store currency. Contains the value of the ACTUALUNITPRICE field.
● Examples of calculated fields:
○ TRANS_TIME_DBL: Value of the TRANS_TIME output field of type DOUBLE. The format of the
transaction time that is stored in BEGINTIMESTAMP and ENDTIMESTAMP is <YYYYMMDDhhmmss>.
○ DISCOUNT: Total relative discount applied on the item.
Calculated as (ITEMDISC + DISTDISC) / (RETAILQUANTITY * ACTUALUNITPRICE). If the price
is not a positive number, 0 is returned.
Definitions:
○ DISTDISC: global discount on the whole purchase; currently not used.
○ ITEMDISC: item-specific discount; currently used.
Use
Sales documents are accessed by SAP Customer Activity Repository (either through replication or direct data
access) from a source SAP ERP system. One way that sales documents of type Sales Order can be generated in
a SAP ERP system is through the transfer of sales orders created using an SAP CRM source system or a third
party CRM system.
When customers create sales orders using SAP CRM systems, these sales orders are inherently compatible to
the sales document structure in SAP ERP. They are transferred to SAP ERP via Data Exchange for Sales Orders:
CRM Enterprise - ERP System process. For more information, see SAP Library for SAP CRM on SAP Help Portal
at http://help.sap.com/crm . Select the applicable version of SAP CRM and under Application Help, open
SAP Library and choose Basic Functions Business Transaction Data Exchange for Business
Transactions .
Customers who use third party CRM systems to create sales orders, and who want to access these sales orders
from SAP Customer Activity Repository, must ensure that their sales order data:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 109
Procedure
1. Ensure that the fields required by SAP Customer Activity Repository are filled during the transfer of sales
order data from your third party CRM system to SAP ERP.
2. Ensure that sales order data has been transferred from your third party CRM system to SAP ERP.
Use
SAP Customer Activity Repository application contains the Point of Sale Data Management software
component, which is used to receive a large volume of data from your connected stores. Point of Sale Data
Management, or more specifically, its POS Inbound Processing Engine (PIPE), processes the incoming
transactions and stores them in the /POSDW/TLOGF table.
Since every transaction line item is stored as a separate row in the /POSDW/TLOGF table, the table can quickly
grow to become very large. To improve standard database operations, such as inserting, updating, deleting and
reading and mass operations, such as archiving or index merging, SAP recommends that you partition the /
POSDW/TLOGF table.
Also, you can select to store extension segments in a dedicated /POSDW/TLOGF_EXT table using the Store
Extensions in Separate Table option of the Define General Settings Customizing activity. Table /POSDW/
TLOGF_EXT should be partitioned in the same way as the /POSDW/TLOGF table.
For more information on extension segments, see the Appendix of the Operations Guide, SAP Customer Activity
Repository.
Note
Partitioning is typically used in distributed system, but it may also be beneficial for single-host systems.
Procedure
1. Read the Table Partitioning in the SAP HANA Database section of the SAP HANA Administration Guide.
2. Plan your partition specifications in accordance to the following guidelines:
○ A single partition should not contain more than 1 billion rows.
○ The total amount of partitions of a single table should not exceed 1000.
○ Because the actual act of partitioning a table does use system resources, do not start partitioning
the /POSDW/TLOGF table until its volume has surpassed 250 million rows.
3. Partition the /POSDW/TLOGF table as required according to SAP Note 1719282 . Depending on your
requirements, you may also optionally partition the following tables. The same SAP Note is relevant for
these as well.
○ /POSDW/TLOGF_EXT
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
110 PUBLIC Set Up the Applications
○ /POSDW/AGGR01
○ /POSDW/ACCRTB
Use
In this optional procedure, you create copies of views included in SAP HANA Live for SAP ERP or in the SAP
HANA content for SAP Customer Activity Repository. You then customize these copies to reflect your specific
data model extensions.
Caution
For example, you would need to execute this procedure if you have extended your POS transaction data model.
The views delivered with the SAP HANA content for SAP Customer Activity Repository are built on the
standard /POSDW/TLOGF table. If you have added custom fields to the /POSDW/TLOGF table, you will have to
create views that expose these fields.
In general, if you have extended any standard SAP data models, you must copy and adapt the standard SAP
HANA content.
Caution
If you have created a copy of a view shipped as part of the standard SAP HANA content and have made
modifications to this copy, a subsequent upgrade of SAP HANA Live for SAP ERP or SAP HANA content for
SAP Customer Activity Repository will not update your copied and modified version of the view. SAP Notes
or enhancements shipped by SAP will also have to be manually implemented on the copied, and
subsequently modified, SAP HANA content.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 111
For example, calculation views sap.is.retail.car/POSSales, sap.is.retail.car/
POSLogItem, and sap.is.retail.car/TLOGF_ITEM_COM are all consuming the /POSDW/ TLOGF
table and are consumed by the sap.is.retail.car/POSSalesQuery view. Therefore, if you have
extended the /POSDW/TLOGF table, all these views must be copied and modified.
5. For each view identified in the previous step, do the following:
1. In the Navigator panel, select an object and in the context menu, choose Copy.
2. Navigate to the package where you want to paste the view and choose Paste.
Note
You must have write permissions on the target package to which you are pasting the view. Also, you
should copy the view to your own package. Do not modify the original sap package.
Set up the Unified Demand Forecast (UDF) module in SAP Customer Activity Repository to enable demand
modeling and forecasting for any scenario. To be able to use UDF, you must at least do the mandatory steps.
We also point to helpful performance information for UDF.
Use
SAP Allocation Management Mandatory (if forecasting is associated with your scenario)
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
112 PUBLIC Set Up the Applications
Prerequisites
● You have configured the DDF module as described in Configure Demand Data Foundation [page 90].
● You have set up the users, roles, and privileges for UDF as described in Set Up Authorizations for Unified
Demand Forecast (UDF) [page 78].
Procedure
Note
If you encounter issues during the setup, see the Troubleshooting [page 166] section for possible solutions.
2847721 : Cannibalization Effect During Non-promo Correction to the new promotion cannibalization feature in
tional Dates this release.
2845543 Modeling and forecasting services run signifi- Correction to the new promotion cannibalization feature in
cantly slower with cannibalization pairs configured this release.
2847712 : Parameters in model and forecast reports are Relevant for both demand modeling and demand forecast
not respected ing.
2847134 : Unused fields in model and forecast by hierar Relevant for the Model by Hierarchy and Forecast by
chy reports Hierarchy services in transaction NWBC.
2844046 : UDF forecast fails with SAP HANA Platform Only relevant if you are using SAP HANA Platform 2.0
2.0 SPS04 SPS04. The note prevents UDF runtime issues that might
occur on this SAP HANA support package stack.
3. In transaction SPRO, do the Customizing for UDF that you need for your scenario:
Note
For more information about the following Customizing activities, see the accompanying system
documentation.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 113
What to do... Your scenario is... Customizing
Define the time series source with his All scenarios Cross-Application Components
torical demand data that you wish to Demand Data Foundation Imported
import to DDF.
Data Time Series Define Time
Cross-Application Components
Source
Define general settings for modeling All scenarios Activities under Cross-Application
and forecasting. Components Demand Data
Forecasting
4. Check and, if necessary, change the default setting for how the covariance matrix is generated during
modeling.
1. Navigate to Cross-Application Components Demand Data Foundation Modeling and Forecasting
Define Modeling Control Settings .
2. Execute the Customizing activity and choose New Entries.
3. Configure the MOD_COV_REDUCED parameter to generate either the “full” or the “reduced” covariance
matrix:
○ You want to calculate hierarchical priors (HPRs). The reduced covariance matrix is sufficient for those
○ You want to use SAP Promotion Management, but scenarios and also saves runtime.
without generating the forecast confidence index
Enable the MOD_COV_REDUCED parameter:
(FCI).
○ You do not want to use SAP Promotion Enter the parameter name under Configuration Type
Management. Code and set the Value to X to override the default.
Make the other settings as required and save your
changes.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
114 PUBLIC Set Up the Applications
Your scenario is... What to do...
You want to generate the FCI in SAP Promotion The full covariance matrix is mandatory for the FCI.
Management.
No additional configuration is required (the
MOD_COV_REDUCED parameter is disabled by default,
which is correct for this scenario).
Note
To calculate either the full or the reduced covariance matrix, the MOD_OUTPUT_COV parameter
must be enabled. As it is enabled by default, no additional configuration is required unless you have
previously disabled the parameter for a different scenario.
5. Configure the modeling and forecasting features that you wish to use in your scenario.
See section Configure Unified Demand Forecast (UDF) of the SAP Customer Activity Repository
Administration Guide.
6. Optimize the performance of modeling and forecasting. Again in the SAP Customer Activity Repository
Administration Guide, see section Optimize UDF Performance.
Tip
We highly recommend that you read this information and implement any performance tips that are
relevant for your scenario. For example, using SAP HANA workload management and optimizing the
performance of SAP HANA Platform are beneficial for any scenario.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 115
6.1.2.7 Set Up SAP Fiori Apps for SAP Customer Activity
Repository
Verify that the prerequisites are fulfilled and prepare the system landscape for the apps included in SAP
Customer Activity Repository.
Context
For a list of the apps included in SAP Customer Activity Repository, see SAP Help Portal at SAP Fiori for SAP
Customer Activity Repository.
Note
Depending on your scenario, some prerequisites might already be available in your system landscape.
General Prerequisites
● Front-end server: You have installed the required version of SAP FIORI FRONT-END SERVER. For version
information, see Install the Prerequisites [page 17] and choose Common Prerequisites SAP Fiori .
● SAP Fiori launchpad: You have set up the launchpad as described in the Common Installation Guide, in
section .
● SAP Fiori launchpad designer: You have set up the designer as described for the SAP NetWeaver version
on your front-end server. See https://help.sap.com/viewer/p/SAP_NETWEAVER and choose SAP
NetWeaver Platform <Version> Application Help UI Technologies in SAP NetWeaver SAP Fiori
Launchpad Setting up the Launchpad and Using the Launchpad Designer.
For some apps, app-specific settings will be required in the designer.
● SAP Gateway: You have done the general SAP Gateway configuration and you have activated the common
OData services and Internet Communication Framework (ICF) services. See the following:
○ , including all subsections
○ SAP Note 1560585 (SAP Gateway 2.0 Release Note)
1. You have installed the correct SAP RTL AFL FOR SAP HANA revision for the current release. See
Download and Install the Application Function Library (SAP RTL AFL FOR SAP HANA) [page 51].
2. You have installed the back-end system. See Install ABAP Back-End Server [page 51].
3. You have installed the front-end system. See .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
116 PUBLIC Set Up the Applications
4. You have implemented all the mandatory SAP Notes for the apps that you wish to set up. See Implement
SAP Notes for the Installation [page 26] and consult the release information notes (RINs) mentioned there
as well as the table for SAP Customer Activity Repository.
5. You have performed all mandatory setup steps for SAP Customer Activity Repository. For example, this
includes activating the OData services for the apps or calculating the SAPUI5 application index. For a
complete list of the steps, see Core (Mandatory for All Applications) [page 73].
6. You have set up the system connections:
○ You have set up dedicated RFC connections between your front-end system and your back-end
system, and between your front-end system and your source master data system.
○ You have defined a system alias for your back-end system.
Caution
You must set the back-end system client to the same value for the SAP Gateway OData services (via
the system alias and the RFC connection) and the SAP HANA services (via the bk-client parameter
in the SAP Fiori launchpad designer). Otherwise, the apps will not work correctly.
7. For the apps Analyze Forecast, Adjust Forecast, and Manage Demand Influencing Factors: You have set up
the Unified Demand Forecast (UDF) module as the forecasting engine in the back-end. You must at least do
the mandatory setup steps for UDF. See Complete UDF Setup [page 112].
8. To set up the apps included in OAA, see section Configure Omnichannel Article Availability and Sourcing for
Use with SAP Customer Activity Repository.
Result
After you have prepared the system landscape in this way, you can now set up the apps that you wish to use.
DDF Apps: Assign Roles, Catalogs, and Groups in SAP Fiori Launchpad [page 135]
Perform this procedure to set up the SAP Fiori apps provided by Demand Data Foundation (Configure
Distribution Curves, Manage Location Clusters, Manage Product Attributes, Manage Product Groups,
Manage Promotional Offers). All of these apps are available to you as part of SAP Customer Activity
Repository. They support different scenarios and consuming applications.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 117
6.1.2.7.1 Set Up the Analyze Forecast App
Perform several tasks on the front-end server and the back-end server to set up the Analyze Forecast app.
Note
If you are already using the app and only wish to upgrade it to the current release, see the Set Up the
Analyze Forecast App (Upgrade Scenarios) section of the Common Upgrade Guide for this release.
Prerequisites
● You are aware of the following technical changes as of SAP Customer Activity Repository 4.0 FPS02:
○ You no longer need SAP Web Dispatcher to be able to run the app.
Tip
(Optional) If you already have SAP Web Dispatcher installed from a previous release and only
needed it for the app, you can now remove it from your system landscape.
○ You no longer need SAP HANA XS Classic (SAP HANA Extended Application Services, classic model).
The app-specific XS OData service
(sap.hba.t.rtl.udf.afc.odata::AnalyzeForecast.xsodata) has been deprecated.
Note
This XS OData service is only valid anymore in interoperability scenarios. Here you would use the
current front-end product version (SAP FIORI FOR SAP CARAB 4.0, current support package
stack) in combination with an older back-end product version (SAP CARAB 4.0 Initial
Shipment Stack or SAP CARAB 4.0 FPS01).
If you have such a scenario, please set up the app as described in the Common Upgrade Guide for
the back-end product version. For example, if your back-end product version is SAP CARAB 4.0
FPS01, use the Common Upgrade Guide for SAP Customer Activity Repository applications bundle
4.0 FPS01.
For more information on the supported interoperability scenarios, see SAP Note 2815026
(Back-end and front-end interoperability in SAP Customer Activity Repository applications bundle
4.0).
● You have verified the prerequisites and prepared the system landscape as described in Set Up SAP Fiori
Apps for SAP Customer Activity Repository [page 116].
● You know where to find additional information on the app if necessary:
○ Technical details for each delivery are available in the SAP Fiori apps reference library. For the latest
delivery (latest wave), see https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/
index.html?appId=F1773A.
○ For information on the app features and supported time series, see https://help.sap.com/viewer/p/
CARAB Application Help SAP Customer Activity Repository and search for section Analyze
Forecast (Version 2).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
118 PUBLIC Set Up the Applications
Procedure
Tip
If you encounter issues during the setup, see the Troubleshooting [page 166] section for possible solutions.
1. Verify that the OData services for Unified Demand Forecast and the demand planning apps are active.
If a service is not active, activate it
See Activate OData Services [page 97].
2. Configure user access to the SAP HANA data for the app.
Note
You can find the general SAP Fiori Help for this step at SAP Fiori Implementation Information 7.40
under Implementation App Implementation App Implementation for Analytical Apps
Configuring Access to SAP HANA Data .
Use this section as your starting point. However, to configure Analyze Forecast, you only need to do
some of the steps described there.
1. Synchronize the SAP HANA database users. Each user of the app requires a front-end user on the
ABAP front-end server (to enable navigation in the SAP Fiori launchpad) and a back-end user in the
SAP HANA database (to enable access to the relevant SAP HANA views).
Follow the steps in Configuring Access to SAP HANA Data Synchronizing SAP HANA Database
Users .
2. Assign the app-specific SAP HANA role
sap.hba.t.rtl.udf.afc.roles::AnalyzeForecast.hdbrole to the back-end users of the app.
The role gives them access to the app-specific SAP HANA data so they can view this data in the app
(for example, sales, modeling results, forecasts).
Follow the steps in Configuring Access to SAP HANA Data Assigning Roles for Accessing SAP
HANA Data .
3. Create the analytic privileges to give the users read-only access to the SAP HANA views for the app
(SAP HANA content package sap.hba.t.rtl.udf.afc.v).
Follow the steps in Configuring Access to SAP HANA Data Creating Analytic Privileges .
Note
If you need more information about analytic privileges, see the Create Classical XML-based Analytic
Privileges section under https://help.sap.com/viewer/p/SAP_HANA_PLATFORM <Version>
Development SAP HANA Modeling Guide (for SAP HANA Studio) Defining Data Access
Privileges .
3. Customize the navigation target for the app in the SAP Fiori launchpad on the front-end server.
Execute transaction LPD_CUST (Launchpad Customizing) and display the role UICAR001 in instance
TRANSACTIONAL.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 119
From the list of applications, select the entry with AnalyzeForecast in the Params column and make the
following settings:
○ Link Text: AnalyzeForecast
○ Application Type: URL
○ URL: /sap/bc/ui5_ui5/sap/analyzfcst_v2
○ Application Alias: AnalyzeForecast
○ Additional Information: SAPUI5.Component=retail.udf.analyzeforecastv2
○ Portal Parameters: Leave the default settings.
○ Switch Support: Leave the default settings.
Note
Note
You can configure tiles only in catalogs. By default, the tile for Analyze Forecast is in the SAP: CAR –
Analytical Apps catalog (which is delivered with the launchpad configuration).
If the app tile has not yet been created, create it as a static tile using the following settings:
○ Title: Analyze Forecast
○ Icon: sap-icon://Fiori5/F0812
○ Use semantic object navigation: Select this option.
○ Semantic Object: ForecastDemand
○ Action: showUDFAnalyzeForecast
○ Parameters: bk-client=<backend client>
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
120 PUBLIC Set Up the Applications
Caution
In the SAP Fiori launchpad designer, you specify the back-end system client using the bk-
client parameter. You must specify the same back-end system client for the SAP Gateway
OData services (system alias and RFC connection) and for the SAP HANA services. Otherwise,
the app will not work correctly.
Note
If you need more information about configuring target mappings, see https://help.sap.com/
viewer/p/SAP_NETWEAVER and choose your SAP NetWeaver Platform. Select your support
package stack at the top right and search for Configuring Target Mappings.
Note
You can find the general SAP Fiori Help for this step at SAP Fiori Implementation Information 7.40
under Implementation App Implementation App Implementation for Analytical Apps
Implementation Tasks on Front-End Server .
Use this section as your starting point. However, to configure Analyze Forecast, you only need to do
some of the steps described there.
Caution
In the SAP Fiori launchpad designer, you specify the back-end system client using the bk-client
parameter. You must specify the same back-end system client for the SAP Gateway OData services
(system alias and RFC connection) and for the SAP HANA services. Otherwise, the app will not
work correctly.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 121
Select AnalyzeForecast from the list of applications and verify that the following ICF services are active:
○ /sap/bc/bsp/sap/analyzfcst_v2
○ /sap/bc/lrep
○ /sap/bc/ui5_ui5/sap/analyzfcst_v2
○ /sap/bc/bsp/sap/udfreuse
○ /sap/bc/ui5_ui5/sap/udfreuse
If a service is not active, activate it as follows:
1. Execute transaction SICF (Define Services).
2. As Service Path, specify the <service path/service name> and execute the search.
3. As Virtual Hosts / Services, select the analyzfcst_v2 entry and choose Service/Host
Activate .
Note
If you need more information on how to activate ICF services and OData services, see
Implementation Tasks on Front-End Server Front-End Server: Activate ICF Services of SAPUI5
Application .
3. Create your custom copy of the SAP_CAR_TCR_A standard role on the front-end server:
Caution
Standard roles are delivered as templates. They begin with the prefix SAP_*. Never change the
standard roles, but only your custom copies of these roles (Z_*). Otherwise, any standard roles
that you have changed will be overwritten by newly delivered standard roles during a later upgrade
or release change.
1. Execute transaction PFCG (Role Maintenance) and search for the SAP_CAR_TCR_A standard role.
Note
SAP_CAR_TCR_A is the front-end server authorization role delivered for analytical apps in SAP
Customer Activity Repository. The role contains the catalogs, groups, and start authorizations
for the OData services required to access the app.
2. Choose Role Copy and enter a name from the customer namespace for your copied role.
Note
If you need more information on copying standard roles and adjusting custom roles, see the
Changing Standard Roles section in the User and Role Administration of Application Server
ABAP.
3. Switch to change mode and adjust the copied role as needed for your scenario.
4. Assign the required launchpad catalogs and groups.
Follow the steps in Implementation Tasks on Front-End Server Create PFCG Role on Front-End
and Assign Launchpad Catalogs and Groups .
5. Save your changes.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
122 PUBLIC Set Up the Applications
4. Create your custom copy of the SAP_DPL_TCR_T standard role on the front-end server:
Note
This step is similar to the previous one, and you can consult the same references.
1. Execute transaction PFCG (Role Maintenance) and search for the SAP_DPL_TCR_T standard role.
Note
SAP_DPL_TCR_T is the front-end server authorization role delivered for the demand planning
apps in SAP Customer Activity Repository (Analyze Forecast, Adjust Forecast, Manage Demand
Influencing Factors).
2. Choose Role Copy and enter a name from the customer namespace for your copied role.
3. Switch to change mode and adjust the copied role as needed for your scenario.
4. Assign the required launchpad catalogs and groups.
Follow the steps in Implementation Tasks on Front-End Server Create PFCG Role on Front-End
and Assign Launchpad Catalogs and Groups .
5. Save your changes.
Tip
If you already have SAP Fiori launchpad open, clear your browser cache to apply all the changes.
6. Set up the catalogs, groups, and roles in the SAP Fiori launchpad.
Follow the steps in Implementation Tasks on Front-End Server Setup of Catalogs, Groups, and Roles in
the SAP Fiori Launchpad .
7. Assign the two custom copies (which you have just created from the two standard roles) to the users
of the app.
Follow the steps in Implementation Tasks on Front-End Server Front-End Server: Assign Roles to
Users .
8. Complete the setup on the back-end server.
1. Log on to the back-end server.
2. Execute transaction PFCG (Role Maintenance) and search for the /DMF/DPL standard role.
Caution
Standard roles are delivered as templates. They begin with the prefix SAP_*. Never change the
standard roles, but only your custom copies of these roles (Z_*). Otherwise, any standard roles
that you have changed will be overwritten by newly delivered standard roles during a later upgrade
or release change.
Note
/DMF/DPL is the back-end server authorization role. It is also required for the cross-navigation
between the demand planning apps (Analyze Forecast, Adjust Forecast, Manage Demand
Influencing Factors).
Choose Role Copy and enter a name from the customer namespace for your copied role.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 123
4. Switch to change mode and adjust the copied role as needed for your scenario.
Note
If you need more information on copying standard roles and adjusting custom roles, see the
Changing Standard Roles section in the User and Role Administration of Application Server ABAP.
● Single Sign-On (SSO): If you haven't already done so, set up SSO between the front-end server and the
back-end server.
The available SSO mechanisms can differ depending on the system landscape. For more information, see
the following:
○ https://help.sap.com/viewer/p/FIORI_IMPLEMENTATION Security SAP Fiori: Security User
Authentication and Single Sign-On (SSO)
○ https://help.sap.com/viewer/p/SAP_HANA_PLATFORM Security SAP HANA Security Guide for
SAP HANA Platform SAP HANA Authentication and Single Sign-On Single Sign-On Integration
● Area of Responsibility (AOR): Assign an AOR to each user of the app (recommended).
This step is required if you wish to use the Product Hierarchy filter or the Market Hierarchy filter in the app.
If so, each front-end user of the app must have a user in the ABAP back-end system. You assign an AOR to
the ABAP back-end user. The front-end user can then see the assigned hierarchies or nodes in the app.
To assign an AOR, use the Maintain Area of Responsibility service in transaction NWBC. For instructions, see
https://help.sap.com/viewer/p/CARAB Application Help SAP Customer Activity Repository and
search for section Maintain Area of Responsibility.
● App Extensibility: Extend the app with custom content.
For information on the available extension points and controller hooks, see the SAP Fiori apps reference
library at https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/index.html?appId=F1773A.
Choose IMPLEMENTATION INFORMATION, select the delivery, and consult the information under
Extensibility.
● Set up the other demand planning apps: To best support your forecast-related processes, also set up
Adjust Forecast and Manage Demand Influencing Factors.
For more information, see Set Up the Adjust Forecast App [page 125] and Set Up the Manage Demand
Influencing Factors App [page 130].
Result
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
124 PUBLIC Set Up the Applications
6.1.2.7.2 Set Up the Adjust Forecast App
Perform several tasks on the front-end server and the back-end server to set up the Adjust Forecast app.
Prerequisites
● You have checked that the prerequisites described in Set Up SAP Fiori Apps for SAP Customer Activity
Repository [page 116] are fulfilled.
● You are aware of the implementation information for the app in the SAP Fiori apps reference library: For the
latest delivery (latest wave), see: https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/
index.html?appId=F3479
You have set up the SAP Fiori app Analyze Forecast, as described in Set Up the Analyze Forecast App [page
118].
Procedure
Tip
If you encounter issues during the setup, see the Troubleshooting [page 166] section for possible solutions.
1. To prepare the setup, read the app-specific information on SAP Help Portal at https://help.sap.com/
viewer/p/CARAB <Version> Application Help SAP Customer Activity Repository SAP Fiori for SAP
Customer Activity Repository Standalone SAP Fiori Apps for SAP Customer Activity Repository Adjust
Forecast .
2. Customize the navigation target for the app in the SAP Fiori launchpad on the front-end server.
In Launchpad Customizing (transaction LPD_CUST), choose UIDPL001 TRANSACTIONAL Demand
Planning Apps and make the app-specific settings for all of the apps:
Application Settings for Adjust Forecast
○ Link Text: AdjustForecast
○ Application Type: URL
○ URL: /sap/bc/ui5_ui5/sap/adjustforecast
○ Application Alias: AdjustForecast
○ Additional Information: SAPUI5.Component=retail.dpl.adjustforecast
○ Portal Parameters: Leave the default settings.
○ Switch Support: Leave the default settings.
Application Settings for Forecast Correction Overlapping Rules
○ Link Text: Forecast Correction Overlapping Rules
○ Application Type: TRA Transaction
○ Transaction Code: /DMF/FCC_MAINT_RULES
○ System Alias: Enter the HTTP connection to the back-end client in the format SYSID_CLNT_HTTPS
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 125
○ Application Alias: ForecastCorrOverlapRules
○ GUI Type: WEB_GUI_SAP GUI for HTML
○ Entries Once Started: S Initial Screen
○ Portal Parameters: Leave the default settings.
○ Switch Support: Leave the default settings.
Application Settings for Forecast Correction Classification
○ Link Text: Forecast Correction Classification
○ Application Type: TRA Transaction
○ Transaction Code: /DMF/FCC_MAINT_CLSCF
○ System Alias: Enter the HTTP connection to the back-end client in the format SYSID_CLNT_HTTPS
○ Application Alias: ForecastCorrClassification
○ GUI Type: WEB_GUI_SAP GUI for HTML
○ Entries Once Started: S Initial Screen
○ Portal Parameters: Leave the default settings.
○ Switch Support: Leave the default settings.
If you need more information about navigation targets, see SAP Help Portal at https://help.sap.com/
viewer/p/SAP_NETWEAVER and choose your SAP NetWeaver Platform. Select your support package
stack at the top right and search for “Customizing Navigation Targets in LPD_CUST”.
3. Configure the SAP Fiori launchpad designer for CAR Demand Planning Apps.
1. Launch the SAP Fiori launchpad designer either in the CUST or in the CONF mode:
○ CUST mode:
Use this mode for client-specific configurations, specifying the respective client. For the CUST
mode, use this URL:
https://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-
client=<client>#/Catalog/X-SAP-UI2-CATALOGPAGE:SAP_DPL_TC_T
○ CONF mode:
Use this mode for global configurations across all clients. Note that in this URL, you additionally
specify the scope parameter.
For the CONF mode, use this URL:
https://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-
client=<client>&scope=CONF#/Catalog/X-SAP-UI2-CATALOGPAGE:SAP_DPL_TC_T
Use this mode for global configurations across all clients. Note that in this URL, you additionally
specify the scope parameter.
2. Configure the app tile in the SAP Fiori launchpad designer.
Note
By default, the tiles for Adjust Forecast, Analyze Forecast, Forecast Correction Classification, and
Forecast Correction Overlapping Rules are in the SAP: CAR – Deman Planning Apps catalog (which
is shipped with launchpad configuration).
If the app tiles have not yet been created, create them as static tiles using the following settings:
Adjust Forecast
○ Title: Adjust Forecast
○ Icon: sap-icon://Fiori5/F0819
○ Use semantic object navigation: Select this option.
○ Semantic Object: ForecastDemand
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
126 PUBLIC Set Up the Applications
○ Action: editUDFAdjustForecast
○ Leave the other options empty.
Forecast Correction Classification
○ Title: Forecast Correction Classification
○ Icon: sap-icon://group-2
○ Information: /DMF/FCC_MAINT_CLSCF
○ Use semantic object navigation: Select this option.
○ Semantic Object: DemandPlanConfiguration
○ Action: create
○ Leave the other options empty.
Forecast Correction Overlapping Rules
○ Title: Forecast Correction Overlapping Rules
○ Icon: sap-icon://Fiori2/F0306
○ Information: /DMF/FCC_MAINT_RULES
○ Use semantic object navigation: Select this option.
○ Semantic Object: DemandPlanConfiguration
○ Action: manage
○ Leave the other options empty.
If you need more information about configuring tiles, see SAP Help Portal at https://help.sap.com/
viewer/p/SAP_NETWEAVER and choose your SAP NetWeaver Platform. Select your support package
stack at the top right and search for “Static App Launcher Tiles”.
3. Configure the target mapping in the SAP Fiori launchpad designer.
If the target mapping has not yet been created, choose Target Mappings and create entries with the
following settings:
Adjust Forecast
○ Semantic Object: ForecastDemand
○ Action: editUDFAdjustForecast
○ Application Type: SAP Fiori App using LPD_CUST
○ Launchpad Role: UIDPL001
○ Launchpad Instance: TRANSACTIONAL
○ Application Alias: AdjustForecast
○ Device Types: Select Desktop and Tablet.
○ Allow additional parameters: Select this option.
Forecast Correction Classification
○ Semantic Object: DemandPlanConfiguration
○ Action: create
○ Application Type: SAP Fiori App using LPD_CUST
○ Launchpad Role: UIDPL001
○ Launchpad Instance: TRANSACTIONAL
○ Application Alias: ForecastCorrClassification
○ Information: /DMF/FCC_MAINT_CLSCF
○ Device Types: Select Desktop and Tablet.
○ Allow additional parameters: Select this option.
Forecast Correction Overlapping Rules
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 127
○ Semantic Object: DemandPlanConfiguration
○ Action: manage
○ Application Type: SAP Fiori App using LPD_CUST
○ Launchpad Role: UIDPL001
○ Launchpad Instance: TRANSACTIONAL
○ Application Alias: ForecastCorrOverlapRules
○ Information: /DMF/FCC_MAINT_RULES
○ Device Types: Select Desktop and Tablet.
○ Allow additional parameters: Select this option.
If you need more information about configuring target mappings, see SAP Help Portal at https://
help.sap.com/viewer/p/SAP_NETWEAVER and choose your SAP NetWeaver Platform. Select your
support package stack at the top right and search for “Configuring Target Mappings”.
4. Complete the implementation on the front-end server.
Note
You can find the general SAP Fiori Help section for this step at https://help.sap.com/viewer/p/
FIORI_IMPLEMENTATION Version: SAP NW 7.40 Implementation App Implementation App
Implementation for Analytical Apps Implementation Tasks on Front-End Server .
Use this section as your starting point. However, to configure Adjust Forecast, you only need to perform
a subset of the steps described there. Proceed as follows:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
128 PUBLIC Set Up the Applications
○ Technical Service Name: ZOD_FC_TIME_SERIES_VIZ_SRV
○ Service Description: OData Srv. for Forecast-Related Time Series Visualization
○ External Service Name: OD_FC_TIME_SERIES_VIZ_SRV
○ Namespace: /DMF/
If the service is not available, choose Add Service, enter back-end system alias, and choose Get
Services. Search for /DMF/OD_FC_TIME_SERIES_VIZ_SRV, select the entry and choose Add
Selected Services. Take over the provided data and enter the local package assignment.
○ Demand Plan OData Service for Reuse
○ Type: BEP
○ Technical Service Name: ZDEMAND_PLAN_UTILITIES_SRV
○ Service Description: Demand Plan OData Service for Reuse
○ External Service Name: DEMAND_PLAN_UTILITIES_SRV
○ Namespace: /DMF/
If the service is not available, choose Add Service, enter back-end system alias, and choose Get
Services. Search for /DMF/DEMAND_PLAN_UTILITIES_SRV, select the entry and choose Add
Selected Services. Take over the provided data and enter the local package assignment.
3. Copy the SAP_DPL_TCR_T PFCG role on the front-end server and enter a name from the customer
namespace. Assign the required launchpad catalogs and groups. SAP_DPL_TCR_T is the front-end
server authorization role delivered for all demand planning apps in SAP Customer Activity Repository.
Tip
If you already have an SAP Fiori launchpad open, clear your browser cache to apply the
modifications to your user roles. Otherwise, you cannot see the changes on the user interface.
Follow the steps in Implementation Tasks on Front-End Server Create PFCG Role on Front-End and
Assign Launchpad Catalogs and Groups .
4. Set up the catalogs, groups, and roles in the SAP Fiori launchpad.
Follow the steps in Implementation Tasks on Front-End Server Setup of Catalogs, Groups, and Roles
in the SAP Fiori Launchpad .
5. Take the front-end PFCG role that you created before and assign it to the users of the app. The role
contains the catalogs, groups, and start authorizations for the OData service that the users need.
Follow the steps in Implementation Tasks on Front-End Server Front-End Server: Assign Roles to
Users .
5. Complete the implementation on the back-end server.
Copy the role /DMF/DPL in the Role Maintenance (PFCG) of the back-end server and enter a name from the
customer namespace. /DMF/DPL is the back-end server authorization role. It is also required for accessing
the Adjust Forecast app via forward navigation from the Analyze Forecast app in SAP Customer Activity
Repository.
6. (Optional) Assign area of responsibility.
This step is only required if you wish to use the Product Hierarchy filter in the app. In this case, each user of
the app must have an area of responsibility (AOR) assigned to their ABAP back-end user. This assignment
enables the display of product hierarchies in the app. You assign AORs using the Maintain Area of
Responsibility Web Dynpro service in DDF.
Follow the steps in the Maintain Area of Responsibility section under https://help.sap.com/viewer/p/
CARAB <Version> Application Help SAP Customer Activity Repository Demand Data Foundation
General Services Maintenance Services .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 129
7. (Optional) Set up Single Sign-On (SSO) between the front-end server and the back-end server.
For information on available SSO mechanisms depending on your system landscape, see the following:
○ https://help.sap.com/viewer/p/FIORI_IMPLEMENTATION <Version> SAP Fiori: Security User
Authentication and Single Sign-On (SSO)
○ https://help.sap.com/viewer/p/SAP_HANA_PLATFORM <Version> Security SAP HANA Security
Guide SAP HANA Authentication and Single Sign-On Single Sign-On Integration
Result
Note
In a next step, you define the overlapping rules for percentage, additive, and absolute corrections.
For more information, see section Settings for Forecast Corrections in the application help for SAP
Customer Activity Repository on SAP Help Portal at https://help.sap.com/viewer/p/CARAB.
Related Information
Perform several tasks on the front-end server and the back-end server to set up the Manage Demand
Influencing Factors app.
Prerequisites
● You have checked that the prerequisites described in Set Up SAP Fiori Apps for SAP Customer Activity
Repository [page 116] are fulfilled.
● You are aware of the implementation information for the app in the SAP Fiori apps reference library: For the
latest delivery (latest wave), see: https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/
index.html?appId=F3885
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
130 PUBLIC Set Up the Applications
Procedure
Tip
If you encounter issues during the setup, see the Troubleshooting [page 166] section for possible solutions.
1. To prepare the setup, read the app-specific information on SAP Help Portal at https://help.sap.com/
viewer/p/CARAB <Version> Application Help SAP Customer Activity Repository SAP Fiori for SAP
Customer Activity Repository Standalone SAP Fiori Apps for SAP Customer Activity Repository Manage
Demand Influencing Factors .
2. Customize the navigation target for the app in the SAP Fiori launchpad on the front-end server.
In Launchpad Customizing (transaction LPD_CUST), choose UIDPL001 TRANSACTIONAL Demand
Planning Apps and make the app-specific settings for all of the apps:
Application Settings for Manage Demand Influencing Factors
○ Link Text: Manage Demand Influencing Factors
○ Application Type: URL
○ URL: /sap/bc/ui5_ui5/sap/managedifs
○ Application Alias: DIFManagement
○ Additional Information: SAPUI5.Component=retail.dpl.managedif
○ Portal Parameters: Leave the default settings.
○ Switch Support: Leave the default settings.
Application Settings for Demand Influencing Factors Library
○ Link Text: Demand Influencing Factors Library
○ Application Type: TRA Transaction
○ Transaction Code: /DMF/DIF_LIBRARY
○ System Alias: Enter the HTTP connection to the back-end client in the format SYSID_CLNT_HTTPS
○ Application Alias: DIFLibrary
○ GUI Type: WEB_GUI_SAP GUI for HTML
○ Entries Once Started: S Initial Screen
○ Portal Parameters: Leave the default settings.
○ Switch Support: Leave the default settings.
If you need more information about navigation targets, see SAP Help Portal at https://help.sap.com/
viewer/p/SAP_NETWEAVER and choose your SAP NetWeaver Platform. Select your support package
stack at the top right and search for “Customizing Navigation Targets in LPD_CUST”.
3. Configure the SAP Fiori launchpad designer for CAR Demand Planning Apps.
1. Launch the SAP Fiori launchpad designer either in the CUST or in the CONF mode:
○ CUST mode:
Use this mode for client-specific configurations, specifying the respective client. For the CUST
mode, use this URL:
https://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-
client=<client>#/Catalog/X-SAP-UI2-CATALOGPAGE:SAP_DPL_TC_T
○ CONF mode:
Use this mode for global configurations across all clients. Note that in this URL, you additionally
specify the scope parameter.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 131
For the CONF mode, use this URL:
https://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?sap-
client=<client>&scope=CONF#/Catalog/X-SAP-UI2-CATALOGPAGE:SAP_DPL_TC_T
Use this mode for global configurations across all clients. Note that in this URL, you additionally
specify the scope parameter.
2. Configure the app tiles in the SAP Fiori launchpad designer.
Tip
By default, the tiles for Manage Demand Influencing Factors and Demand Influencing Factors
Library are in the SAP: CAR – Demand Planning Apps catalog (which is shipped with launchpad
configuration).
If the app tile for Manage Demand Influencing Factors has not yet been created, create it as static tile
using the following settings:
Manage Demand Influencing Factors
○ Title: Manage Demand Influencing Factors
○ Icon: sap-icon://create-entry-time
○ Use semantic object navigation: Select this option.
○ Semantic Object: ForecastDemand
○ Action: manage
○ Leave the other options empty.
Demand Influencing Factors Library
○ Title: Demand Influencing Factors Library
○ Icon: sap-icon://FioriInAppIcons/Hierarchical Tree
○ Information: /DMF/DIF_LIBRARY
○ Use semantic object navigation: Select this option.
○ Semantic Object: ForecastDemand
○ Action: change
○ Leave the other options empty.
If you need more information about configuring tiles, see SAP Help Portal at https://help.sap.com/
viewer/p/SAP_NETWEAVER and choose your SAP NetWeaver Platform. Select your support package
stack at the top right and search for “Static App Launcher Tiles”.
3. Configure the target mapping in the SAP Fiori launchpad designer.
If the target mapping has not yet been created, choose Target Mappings and create entries with the
following settings:
Manage Demand Influencing Factors
○ Semantic Object: ForecastDemand
○ Action: manage
○ Application Type: SAP Fiori App using LPD_CUST
○ Launchpad Role: UIDPL001
○ Launchpad Instance: TRANSACTIONAL
○ Application Alias: DIFManagement
○ Device Types: Select Desktop and Tablet.
○ Allow additional parameters: Select this option.
Demand Influencing Factors Library
○ Semantic Object: ForecastDemand
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
132 PUBLIC Set Up the Applications
○ Action: change
○ Application Type: SAP Fiori App using LPD_CUST
○ Launchpad Role: UIDPL001
○ Launchpad Instance: TRANSACTIONAL
○ Application Alias: DIFLibrary
○ Device Types: Select Desktop
○ Allow additional parameters: Select this option.
If you need more information about configuring target mappings, see SAP Help Portal at https://
help.sap.com/viewer/p/SAP_NETWEAVER and choose your SAP NetWeaver Platform. Select your
support package stack at the top right and search for “Configuring Target Mappings”.
4. Complete the implementation on the front-end server.
Note
You can find the general SAP Fiori Help section for this step at https://help.sap.com/viewer/p/
FIORI_IMPLEMENTATION Version: SAP NW 7.40 Implementation App Implementation App
Implementation for Analytical Apps Implementation Tasks on Front-End Server .
Use this section as your starting point. However, to configure Manage Demand Influencing Factors, you
only need to perform a subset of the steps described there. Proceed as follows:
1. Check that the app-specific Internet Communication Framework (ICF) service Manage Demand
Influencing Factors /sap/bc/ui5_ui5/sap/managedifs is active. If the service is not active,
execute these steps:
1. Execute transaction SICF.
2. As Service Path, specify the <service path/service name> and execute the search.
3. As Virtual Hosts / Services, select the MANAGEDIFS entry and choose Service/Host
Activate .
For more information on how to activate ICF services and OData services, see Implementation Tasks
on Front-End Server Front-End Server: Activate ICF Services of SAPUI5 Application .
2. Activate and Maintain OData Services
Call up transaction Activate and Maintain Services (/IWFND/MAINT_SERVICE) and check if the
following services are already existing in your service catalog:
○ Demand Plan OData Service
○ Type: BEP
○ Technical Service Name: ZOD_DEMAND_PLAN_SRV
○ Service Description: Demand Plan OData Service
○ External Service Name: OD_DEMAND_PLAN_SRV
○ Namespace: /DMF/
If the service is not available, choose Add Service, enter back-end system alias, and choose Get
Services. Search for /DMF/OD_DEMAND_PLAN_SRV , select the entry and choose Add Selected
Services. Take over the provided data and enter the local package assignment.
○ Demand Plan OData Service for Reuse
○ Type: BEP
○ Technical Service Name: ZDEMAND_PLAN_UTILITIES_SRV
○ Service Description: Demand Plan OData Service for Reuse
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 133
○ External Service Name: DEMAND_PLAN_UTILITIES_SRV
○ Namespace: /DMF/
If the service is not available, choose Add Service, enter back-end system alias, and choose Get
Services. Search for /DMF/DEMAND_PLAN_UTILITIES_SRV, select the entry and choose Add
Selected Services. Take over the provided data and enter the local package assignment.
3. Copy the SAP_DPL_TCR_T PFCG role on the front-end server and enter a name from the customer
namespace. Assign the required launchpad catalogs and groups. SAP_DPL_TCR_T is the front-end
server authorization role delivered for all demand planning apps in SAP Customer Activity Repository.
Tip
If you already have an SAP Fiori launchpad open, clear your browser cache to apply the
modifications to your user roles. Otherwise, you cannot see the changes on the user interface.
Follow the steps in Implementation Tasks on Front-End Server Create PFCG Role on Front-End and
Assign Launchpad Catalogs and Groups .
4. Set up the catalogs, groups, and roles in the SAP Fiori launchpad.
Follow the steps in Implementation Tasks on Front-End Server Setup of Catalogs, Groups, and Roles
in the SAP Fiori Launchpad .
5. Take the front-end PFCG role that you created before and assign it to the users of the app. The role
contains the catalogs, groups, and start authorizations for the OData service that the users need.
Follow the steps in Implementation Tasks on Front-End Server Front-End Server: Assign Roles to
Users .
5. Complete the implementation on the back-end server.
Copy the Demand Planner (Retail) role (/DMF/DPL) in the Role Maintenance (PFCG) of the back-end server
and enter a name from the customer namespace. Assign the users. This role /DMF/DPL is the back-end
server authorization role delivered for accessing the Manage Demand Influencing Factors app.
6. (Optional) Assign area of responsibility.
This step is only required if you wish to use the Product Hierarchy filter in the app. In this case, each user of
the app must have an area of responsibility (AOR) assigned to their ABAP back-end user. This assignment
enables the display of product hierarchies in the app. You assign AORs using the Maintain Area of
Responsibility Web Dynpro service in DDF.
Follow the steps in the Maintain Area of Responsibility section under https://help.sap.com/viewer/p/
CARAB <Version> Application Help SAP Customer Activity Repository Demand Data Foundation
General Services Maintenance Services .
7. (Optional) Set up Single Sign-On (SSO) between the front-end server and the back-end server.
For information on available SSO mechanisms depending on your system landscape, see the following:
○ https://help.sap.com/viewer/p/FIORI_IMPLEMENTATION <Version> SAP Fiori: Security User
Authentication and Single Sign-On (SSO)
○ https://help.sap.com/viewer/p/SAP_HANA_PLATFORM <Version> Security SAP HANA Security
Guide SAP HANA Authentication and Single Sign-On Single Sign-On Integration
Result
You have successfully set up the Manage Demand Influencing Factors app.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
134 PUBLIC Set Up the Applications
Related Information
Perform this procedure to set up the SAP Fiori apps provided by Demand Data Foundation (Configure
Distribution Curves, Manage Location Clusters, Manage Product Attributes, Manage Product Groups, Manage
Promotional Offers). All of these apps are available to you as part of SAP Customer Activity Repository. They
support different scenarios and consuming applications.
Context
For an up-to-date overview of the DDF apps, see SAP Help Portal at https://help.sap.com/viewer/p/CARAB and
choose Additional Information SAP Fiori Apps for SAP CARAB .
Procedure
To be able to access the DDF apps from the SAP Fiori launchpad, your front-end system user must have the
necessary roles assigned. Based on the roles assigned to your user, you can then access certain business
catalogs and business catalog groups for the apps.
Tip
If you already have an SAP Fiori launchpad open, clear your browser cache to see the changes.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 135
6.1.2.7.5 Set Up the Manage Product Attributes App
Perform several tasks on the front-end server and the back-end server to set up the transactional app Manage
Product Attributes. This is one of the Demand Data Foundation (DDF) apps included in SAP Customer Activity
Repository.
Context
The Manage Product Attributes app supports different scenarios and consuming applications (such as SAP
Allocation Management, SAP Assortment Planning, the similar products search, or the calculation of
distribution curves). The app enables planning administrators to create, configure, assign, and maintain
product attributes for a selected product hierarchy.
Prerequisites
● You are aware of the technical implementation information for the app in the SAP Fiori apps reference
library:
For the latest delivery (latest wave), see: https://fioriappslibrary.hana.ondemand.com/sap/fix/
externalViewer/index.html?appId=F0829A
● You have performed all setup tasks under Core (Mandatory for All Applications) in this guide.
● You have checked whether there are any corrections for the app in the current release:
See section Implement SAP Notes for the Installation [page 26]. Implement any corrections relevant for
the app.
● You have done the general setup for the DDF apps. See DDF Apps: Assign Roles, Catalogs, and Groups in
SAP Fiori Launchpad [page 135].
Note
If your scenario includes SAP Allocation Management or SAP Assortment Planning, some steps might
already have been performed in your system landscape. If so, skip the step and continue with the next one.
Context
For security reasons, the Internet Communication Framework (ICF) services are delivered in an inactive state.
You must activate the services that are required for the app.
Procedure
1. Log on to your front-end server.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
136 PUBLIC Set Up the Applications
2. Execute transaction SICF.
3. In the Define Services screen, make the following selections:
○ Hierarchy Type: SERVICE
○ Virtual Host: DEFAULT_HOST
○ Service Path: /sap/bc/ui5_ui5/sap/attribmgmt_v2/
4. Choose Execute ( F8 ).
5. Under Virtual Hosts / Services, double-click the attribmgmt_v2/ service to open the Create/Change a
Service screen.
6. To activate a service, choose Service/Host Activate .
Note
You can check the activation status by selecting the service and opening the context menu. If the
Activate Service option is grayed out, this means the service is already active.
1. See section Activate OData Services [page 97] and consult the table for SAP Customer Activity Repository.
2. Make sure that all mandatory OData services for the app are active.
Context
To be able to access the app from the SAP Fiori launchpad, your front-end system user must have the
necessary role(s) assigned. This allows you to access the business catalogs and business catalog groups
required for the app.
The app requires the following business role: Demand Data Foundation Administrator
(SAP_ISR_BR_DDF_ADMIN)
Note
Should you wish to use the app for SAP Allocation Management or SAP Assortment Planning, use the
Planning Administrator (SAP_RAP_BCR_PLANNING_ADMIN) business role instead.
Procedure
1. Log on to your front-end system.
2. Execute transaction SU01 to open the User Maintenance screen.
3. Enter your front-end user name in the User field and choose Change.
4. On the Roles tab, assign the Demand Data Foundation Administrator (SAP_ISR_BR_DDF_ADMIN) role to
your user.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 137
5. Save your changes.
Tip
If you already have an SAP Fiori launchpad open, clear your browser cache or you won't be able to see
the changes.
You can only display and select product hierarchies in the app that have been assigned as AOR to your ABAP
back-end user.
You need to integrate SAP S/4HANA or SAP Retail, SAP Customer Activity Repository, SAP Commerce, and
SAP Commerce, integration package for SAP for Retail, as well as set up asynchronous order management and
the data replication between SAP S/4HANA or SAP Retail, SAP Commerce, and SAP Customer Activity
Repository.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
138 PUBLIC Set Up the Applications
6.1.2.8.1 Set up Data Replication Between SAP S/4HANA
or SAP Retail, and SAP Commerce
In SAP S/4HANA or SAP Retail, and SAP Commerce, set up the asynchronous order management scenario
as follows:
1. Set up asynchronous replication of articles via the Data Hub from SAP S/4HANA or SAP Retail to SAP
Commerce.
For more information, see the documentation for SAP Commerce at https://help.sap.com/viewer/
50c996852b32456c96d3161a95544cdb/latest/en-US/8bc6b884866910148532f2e1e500f95f.html
Getting Started with SAP S/4HANA or SAP ERP Integration. Follow the steps for the asynchronous order
management scenario.
2. Set up asynchronous replication of orders via the Data Hub from SAP Commerce to SAP S/4HANA or
SAP Retail (see link above).
3. Configure asynchronous order management.
For more information, see the documentation for SAP Commerce at https://help.sap.com/viewer/
50c996852b32456c96d3161a95544cdb/latest/en-US/e2be57a501da41cc9ebdf7cf7d3aa229.html
Configuring Order Management for SAP Commerce with One or More SAP Back Ends.
1. In SAP Commerce, in the Backoffice application under SAP Integration HTTP Destination , create the
HTTP destination of SAP Customer Activity Repository that is used for availability calculation and sourcing.
2. In SAP Commerce, in the Backoffice application under SAP Integration SAP Global Configuration
Backend Connectivity , enter the HTTP destination of SAP Customer Activity Repository created before.
Note
If you use OAA, availability information is provided through synchronous calls into SAP Customer Activity
Repository for every article/store combination instead. If your product catalog is rather large, this is why
indexing the complete product catalog can take very long. In this case, we recommend to either deactivate
the value provider or to create a custom one. If you deactivate the value provider, faceted search according
to store availability is not possible in the product catalog. OAA functionality is not affected.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 139
6.1.2.8.3 Set Up Live Connection Between SAP Customer
Activity Repository and SAP Analytics Cloud
This step is optional. You only need to execute it if you want to use the set of OAA analyses that has been
predefined in SAP Analytics Cloud and that is part of the standard delivery of SAP Analytics Cloud. If you are
using a different analytics tool, or if you do not run analytics at all, you may skip this step.
Context
Procedure
1. Configure SAP Customer Activity Repository to support cross-origin resource sharing (CORS), for cross-
domain communication from the browser.
For more information, see Live Data Connection to SAP BW Using a Direct Connection and Password
Authentication, steps 1 and 2 of the procedure.
2. In SAP Analytics Cloud, navigate to Home Connection and select live connection SAPRTOAA (SAP
Retail Omnichannel Article Availability and Sourcing). This connection is part of the standard delivery.
3. Click Edit Connection and enter your custom details for Host, HTTPS Port, and Client.
A number of OData services are required to run the SAP Fiori apps for omnichannel article availability and
sourcing (OAA).
Context
Make sure that you have activated the OData services required for OAA, as described and listed in Activate
OData Services [page 97]. Depending on your back end, different services are required.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
140 PUBLIC Set Up the Applications
6.1.2.8.5 Trigger Initial Full Run of ATP Snapshot
Replication (SAP S/4HANA 1909 Only, Sales
Channel Mode Only)
Sales channel mode only; SAP S/4HANA 1909 only: With SAP Customer Activity Repository 4.0 FPS02, the
delta mode of the ATP snapshot replication was changed.
Context
The delta mode of the ATP snapshot replication works correctly only after an initial full run of the replication.
Trigger a full run of report /OAA/ATP_SNP_CALC (Generation and Replication of ATP Snapshot).
To use omnichannel promotion pricing, you have to activate the functionality in Customizing and configure it
according to your specific needs.
Tip
For more information about the configuration of the promotion pricing service in SAP Commerce, see the
Administrator Guide of SAP Commerce, integration package for SAP for Retail on SAP Help Portal under
https://help.sap.com/viewer/p/IPR <Version> Administration Omnichannel Promotion Pricing
Configuration .
Related Information
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 141
6.1.2.9.1 Activate Omnichannel Promotion Pricing (OPP)
To use omnichannel promotion pricing for the calculation of the effective sales price, you have to activate the
functionality.
In Customizing for SAP Customer Activity Repository, choose Omnichannel Promotion Pricing Configure
Omnichannel Promotion Pricing Activate OPP .
Related Information
Enforce the Compatibility to Transform Offers into OPP Promotions [page 142]
Enable Offers with Enhanced Product Groups [page 142]
Enable Offers with Zero Discount [page 143]
To transform offers into OPP promotions, it is recommended to enforce the compatibility to make sure that an
offer can only be set to an operative status, for example Approved, if the transformation into an OPP promotion
was successful.
In Customizing for SAP Customer Activity Repository under Omnichannel Promotion Pricing (OPP)
Configure Omnichannel Promotion Pricing Enforce Compatibility .
If you want to include or exclude product groups from your offers or use them in mix-and-match offers, you
have to enable enhanced product groups.
In Customizing for SAP Customer Activity Repository under Omnichannel Promotion Pricing (OPP)
Configure Omnichannel Promotion Pricing Enable Product Groups .
Additionally, you have to enable product groups for the promotion pricing service. For more information about
the configuration of product groups, see the Development and Extension Guide for OPP on SAP Help Portal at
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
142 PUBLIC Set Up the Applications
https://help.sap.com/viewer/p/CARAB <Version> Development Development and Extension Guide for
Omnichannel Promotion Pricing under Promotion Pricing Service PPS Module calcengine-gk Default
Settings and Properties .
By default offers with discount type Everyday Low Price (EDLP) are transformed into OPP promotions like
offers with discount type Regular Price. If a monetary discount of zero should be applied to the previous price,
you can enable the discount type Zero Discount. In this case, a retail price modifier is returned in the calculation
response, but the previous price does not change.
You can enable this discount type in Customizing for SAP Customer Activity Repository under Omnichannel
Promotion Pricing (OPP) Configure Omnichannel Promotion Pricing Enable Zero Discount .
For a local deployment scenario, you have to replicate regular prices and OPP promotions from the central
price and promotion repository (SAP Customer Activity Repository) to an external system to create a local
storage for prices and promotions. This replication can be done via IDocs. For that, you have to configure
application link enabling (ALE) and Data Replication Framework (DRF). For OPP promotions, there are two
options to configure this replication: the promotion-centric outbound processing and the location-specific
outbound processing.
Prerequisites
● You have defined receiving systems and clients in the system landscape directory (SLD).
Procedure
1. Activate OPP functionality as descirbed in Activate Omnichannel Promotion Pricing (OPP) [page 142].
2. Activate DRF functionality, as described in Activate the Data Replication Framework (DRF) [page 144].
3. Define numer ranges, as described in Define Number Ranges [page 144].
4. Configure the Application Link Enabling for the outbound processing of regular prices and OPP promotions
(promotion-centric or location-specific outbound processing):
○ Configure Application Link Enabling for the outbound processing of regular prices and promotion-
centric OPP promotions. [page 144]
○ Configure Application Link Enabling for the location-specific outbound processing of OPP promotions
[page 152]
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 143
5. Configure the Data Replication Framework for the outbound processing of regular prices and OPP
promotions (promotions-centric or location-specific outbound processing):
○ Configure the data replication for the outbound processing of regular prices and OPP promotions
(promotion-centric outbound processing) [page 147]
○ Configure the data replication for OPP promotions (location-specific outbound processing) [page 155]
To send regular prices and OPP promotion to an external system via IDocs, you have to activate the Data
Replication Framework (DRF) functionality.
To send OPP promotions to an external system via IDocs, you can define numer ranges to generate unique
identifiers for all promotion-related entities.
In Customizing for SAP Customer Activity Repository, choose Omnichannel Promotion Pricing (OPP)
Define Number Ranges .
Configuration of the outbound processing of regular prices and promotion-centric OPP promotions.
In Customizing for SAP NetWeaver, under Application Server IDoc Interface / Application Link Enabling
(ALE) , see the system documentation to check the settings for distributing data between application
systems based on Application Link Enabling and IDoc interface technology. With omnichannel promotion
pricing, this functionality is used to distribute OPP promotions and regular prices from SAP Customer Activity
Repository to an external system, for example an SAP Commerce system. You need to perform the following
steps:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
144 PUBLIC Set Up the Applications
the sending system has already been defined. In this case, you only need to define a logical system for the
receiving system. In SAP Customer Activity Repository, do the following:
In Display View "Logical System": Overview, create a new logical system. Enter the following values:
2. In Technical Settings, enter the following values for Target System Settings:
Note
With OPP, an https connection is recommended.
3. In Logon and Security, select Basic Authentication for Logon with User, and enter the following values:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 145
Field Name Value
In Security Options select SSLActive to send your data via https connection and enter an appropriate
certificate.
Note
For more information, see Transport Layer Security and Web Services Security in the SAP NetWeaver
Security Guide.
1. Create this ALE port in the XML HTTP folder and enter the following values:
A partner profile contains parameters that define the electronic interchange of data between systems using the
IDoc interface. There is only one partner profile required for the receiving system and it needs to contain all the
parameters that your scenario requires for sending OPP promotions and regular prices to that receiving
system.
1. In Partner Profiles, create a logical system partner. Enter the following values:
Partner No. <partner number>, which must be the same as the receiving system that you
defined in section Defining a Logical System
Partner Type LS for regular prices and OPP promotions sent via promotion-centric outbound
processing
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
146 PUBLIC Set Up the Applications
2. In the Post processing: permitted agent tab, enter the following values:
Agent <users to be notified> should be an agent who can process IDocs with
errors
Outbound Parameters
Cancel Processing After Syntax Ensure that this field is selected to avoid sending erroneous IDocs.
Error
In Customizing for Cross-Application Components under Processes and Tools for Enterprise Applications
Master Data Governance, Central Governance General Settings Data Replication Overall Information ,
see the system documentation to check how data is sent to one or more target systems. With OPP, the Data
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 147
Replication Framework functionality is used to send regular prices and OPP promotions from an SAP Customer
Activity Repository system to external systems. You need to perform the following steps:
In Customizing, you have to perform the following configuration steps under Data Replication Define
Custom Settings for Data Replication :
1. In Customizing activity Define Technical Settings for Business Systems, define a business system and a
logical system for the receiving systems. The following business object types are available to send OPP
promotions and regular prices, and can be assigned to the business system:
2. In Customizing activity Define Replication Models, specify the content of the replication model (regular
prices or OPP promotions), the outbound implementation that is to be used, and the business system to
which this object is to be sent. You can specify a different destination system for each outbound
implementation that contains business object, filter object, and business logic. You can also add an
expiration time for the log. The following predefined outbound implementations exist:
Outbound Parameters
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
148 PUBLIC Set Up the Applications
The following outbound parameters must be assigned to each replication model:
/ROP/PACK_SIZE_BULK This parameter sets the maximum number of regular prices that 20,000-100,000
are processed per IDoc. This is an approximate value because
regular prices are assigned to different IDocs for each group of
business unit with items and prices.
Note
If this parameter is set to 0, restricting regular prices is not
possible and it is only the number of products that deter
mines the IDoc size.
PACK_SIZE_BULK This parameter controls the number of products for which regu 200-1,000
lar prices can be stored in a compressed format at the same
time, and sets the maximum number of products that are proc
essed per IDoc.
Note
If this parameter is not set, the default is 1. If you increase
this value, performance at runtime is improved since fewer
IDocs need to be processed.
TASK_SIZE_PROCMSG This parameter is only relevant if you execute the data replication 400-2,000
using parallel processing . This parameter sets the maximum
number of products that are processed per parallel package. It
must be greater or equal to the PACK_SIZE_BULK parameter.
Note
This parameter value does not define the number of regular
prices per package. If this parameter is set to 0, all products
are processed in one package. This means that parallel proc
essing is not possible.
/ROP/SEQ_READ_SIZE This parameter sets the maximum number of products for which 100-200
the regular prices are read in one select statement. In this way
you can limit memory consumption for products with a large
number of regular prices.
Note
If this parameter is set to 0, all products of the correspond
ing package are read within one call.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 149
Outbound Parameter for
Regular Prices Description Typical Value*
/ROP/DAY_OFFSET_PAST This parameter is only used, if the selection of prices in the past 30
is restricted with the validity end date as a filter criteria and if the
validity end date is not too far in the past.
In this way you ensure that also regular prices with a validity end
date in the specified past time range are transferred.
Note
If this parameter is not set, relevant regular prices might not
be transferred. See SAP Note 2338714 . In this case the
default is set to 30 days.
PACK_SIZE_BULK This parameter sets the maximum number of OPP promotions 100-1,000
that are processed per IDoc. It must be smaller than the
TASK_SIZE_PROCMSG parameter and is relevant for both, the se
quential and the parallel execution of DRF outbound.
Note
If this parameter is not set, the default is 1. If you increase
this value, performance at runtime is improved since fewer
IDocs need to be processed.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
150 PUBLIC Set Up the Applications
Outbound Parameter for
OPP Promotions Description Typical Value*
TASK_SIZE_PROCMSG This parameter is only relevant with parallel processing . It sets 100-5,000
the maximum number of OPP promotions that are processed
per parallel package. It must be greater or equal to the
PACK_SIZE_BULK parameter.
Note
This parameter value does not define the number of OPP
promotions per package. If this parameter is set to 0, inde
pendently of the value that you enter in transaction
DRFOUT, parallel processing is not possible.
Note
Internal tables, structures, and so on, are not supported.
*This value gives you an idea of usable values for the replication of regular prices and OPP promotions, it is
not a recommendation.
3. Optional: In Customizing activity Define Business Object Settings, specify the application link enabling
(ALE) message type that is to be used for each business object. In this way, you can determine the
retention period for change pointers that are related to the business object. For the outbound processing of
regular prices, no change pointers are used and the retention period is not relevant. The following message
types are relevant for the outbound processing of regular prices and OPP promotions from the central
price and promotion repository:
ROP_PRICE /ROP/BASE_PRICE
ROP_PROMO /ROP/PROMOTION
For more information, see Customizing for Cross Application Components under Processes and Tools for
Enterprise Applications Master Data Governance, Central Governance General Settings Data
Replication Overall Information .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 151
Parallel Processing for Regular Prices and OPP Promotions
DRF enables outbound implementations to be executed by using parallel tasks. This feature is supported for
both, the outbound implementation for regular prices and the outbound implementation for OPP promotions.
You can transfer the different tasks to different servers by defining and choosing server groups. Before
replicating the data, you can define the maximum number of work processes that can run in parallel. These
parameters combined with the outbound parameters mentioned above provide a flexible configuration.
The location-specific outbound processing of OPP promotions enables you to distribute a location-specific
view of OPP promotions. With this outbound option OPP promotions are sent from the central price and
promotion repository to its assigned locations. You can use this option if you, for example, want to send OPP
promotions to POS systems in your physical stores. This section describes how to configure the Application
Link Enabling (ALE) layer and Data Replication Framework (DRF) for the sending of IDocs.
In Customizing for SAP NetWeaver, under Application Server IDoc Interface / Application Link Enabling
(ALE) , see the system documentation to check the settings for distributing data between application
systems based on Application Link Enabling and IDoc interface technology. With omnichannel promotion
pricing, this functionality is used to distribute OPP promotions and regular prices from SAP Customer Activity
Repository to an external system, for example an SAP Commerce system. You need to perform the following
steps:
For each receiving system that initially receives the created IDocs, you have to create an RFC destination. If you
use a middleware, this RFC destination refers to the host in which the middleware is running, If you use a 1:1
connection, all receiving systems require a separate RFC destination. The attributes of the RFC destination are
determined by the receiving system. In the following we assume that we want to setup a location-specific
outbound processing to a local promotion pricing service in a SAP Commerce system that is directly
connected to the SAP Customer Activity Repository.
1. In Technical Settings, enter the following values for Target System Settings:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
152 PUBLIC Set Up the Applications
Field Name Value
Note
With OPP, an https connection is recommended.
2. In Logon and Security, select Basic Authentication for Logon with User, and enter the following values:
In Security Options select SSLActive to send your data via https connection and enter an appropriate
certificate.
Note
For more information, see Transport Layer Security and Web Services Security in the SAP NetWeaver
Security Guide.
RFC destination
2. Text/XML.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 153
To set up the basic partner profile information, do the following:
1. In Partner Profiles<, create a logical system partner. Enter the following values:
Partner Type LO for OPP promotions replicated via location-specific outbound processing
Note
For this partner type, only the first 10 characters of the DDF location ID are taken into account, the
location type and logical system are ignored. If you want to use a different logic, use transaction WE44
to define a different partner type or to change the validation logic.
Select a content type supported with the receiving system. If you configure a localIf you need a
different implementation of BAdI /ROP/PROMO_STORE_OUTBOUND, see Customizing for SAP Customer
Activity Repository and choose Omnichannel Promotion Pricing (OPP) Business Add-Ins (BAdIs)
Outbound Processing of OPP Promotions BAdI: Location-Specific Outbound Processing .
2. In the Post processing: permitted agent tab, enter the following values:
Agent <users to be notified>, which should be an agent who can process IDocs
with errors.
Outbound Parameters
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
154 PUBLIC Set Up the Applications
Field Name Value
Cancel Processing After Syntax Ensure that this field is selected to avoid sending erroneous IDocs.
Error
In Customizing for Cross-Application Components under Processes and Tools for Enterprise Applications
Master Data Governance, Central Governance General Settings Data Replication Overall Information ,
see the system documentation to check how data is replicated to one or more target systems. With OPP, the
Data Replication Framework functionality is used to send regular prices and OPP promotions from an SAP
Customer Activity Repository system to external systems. You need to perform the following steps:
In Customizing, you have to perform the following configuration steps under Data Replication Define
Custom Settings for Data Replication :
1. In Customizing activity Define Technical Settings for Business Systems, define a business system and a
logical system for the receiving systems. The following business object types are available to replicate OPP
promotions and regular prices, and can be assigned to the business system:
2. In Customizing activity Define Replication Models, specify the content of the replication model (regular
prices or OPP promotions), the outbound implementation that is to be used, and the business system to
which this object is to be sent. You can specify a different destination system for each outbound
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 155
implementation that contains business object, filter object, and business logic. You can also add an
expiration time for the log. The following predefined outbound implementations exist:
Outbound Parameters
The following outbound parameters must be assigned to each replication model:
PACK_SIZE_BULK This parameter sets the maximum number of OPP promotions 100-1,000
that are processed per IDoc. It must be smaller than the
TASK_SIZE_PROCMSG parameter and is relevant for both, the se
quential and the parallel execution of DRF outbound.
Note
If this parameter is not set, the default is 1. If you increase
this value, performance at runtime is improved since fewer
IDocs need to be processed.
TASK_SIZE_PROCMSG This parameter is only relevant with parallel processing . It sets 100-5,000
the maximum number of OPP promotions that are processed
per parallel package. It must be greater or equal to the
PACK_SIZE_BULK parameter.
Note
This parameter value does not define the number of OPP
promotions per package. If this parameter is set to 0, inde
pendently of the value that you enter in transaction
DRFOUT, parallel processing is not possible.
Note
Internal tables, structures, and so on, are not supported.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
156 PUBLIC Set Up the Applications
*This value gives you an idea of usable values for the replication of regular prices and OPP promotions, it is
not a recommendation.
3. Optional: In Customizing activity Define Business Object Settings, specify the application link enabling
(ALE) message type that is to be used for each business object. In this way, you can determine the
retention period for change pointers that are related to the business object. For the outbound processing of
regular prices, no change pointers are used and the retention period is not relevant. The following message
types are relevant for the outbound processing of regular prices and OPP promotions from the central
price and promotion repository:
ROP_PRICE /ROP/BASE_PRICE
ROP_PROMO /ROP/PROMOTION
For more information, see Customizing for Cross Application Components under Processes and Tools for
Enterprise Applications Master Data Governance, Central Governance General Settings Data
Replication Overall Information .
In Define Filter Criteria, specify your data selection for each replication model and business object. The filter
criteria are valid for Initial replication and Change replication.
The promotion pricing service (PPS) is an SAP HANA XS advanced (XSA) application. Therefore the
configuration of, for example, database services and back-end connection information, is done before or during
the deploy time. The needed configuration settings are provided via command line interface, or in an extension
descriptor file. Authentication configuration and authorization configuration is done after deploy time.
Prerequisites
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 157
Note
In the following documentation this user will be refered to as XSA PPS admin user.
Note
In the following documentation this user will be refered to as XSA PPS business user.
● You have a database user that can access the standard schema of your SAP Customer Activity Repository
system via the SQL port, in which the database tables of the PPS are located.
● You have created and configured the organization and the space in which you want to install the promotion
pricing service application.
● You have downloaded the SCV file XSACOPPPPS00_<patch level>-80004642.ZIP (for example patch
level 0 for the initial delivery) for the PPS from the SAP Support Portal at https://support.sap.com .
Note
The services ppServiceUaa and ppServiceAuditLog are created and bound automatically during the
installation of the PPS application.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
158 PUBLIC Set Up the Applications
2. Create the Extension Descriptor File [page 161]
3. Configure Authentication and Authorization Settings [page 163]
4. Advanced Configuration Settings (Optional) [page 165]
Related Information
● For more technical information about SAP HANA XS advanced, see the SAP HANA Developer Guide for SAP
HANA XS Advanced Model on SAP Help Portal at https://help.sap.com/viewer/product/
SAP_HANA_PLATFORM/ <Version> Development SAP HANA Developer Guide .
● For more information about the installation of SAP HANA XS advanced, see the SAP HANA Server
Installation and Update Guide on SAP Help Portal at https://help.sap.com/viewer/product/
SAP_HANA_PLATFORM/2.0.04/en-US <Version> Installation and Upgrade SAP HANA Server
Installation and Upgrade Guide Installing an SAP HANA System Installing XS Advanced Runtime .
● For more administration information about SAP HANA XS advanced, see the SAP HANA Administration
Guide for SAP HANA Platform on SAP Help Portal at https://help.sap.com/viewer/product/
SAP_HANA_PLATFORM/2.0.04/en-US <Version> Administration SAP HANA Administration Guide
for SAP HANA Platform Application Run-Time Services Maintaining the SAP HANA XS Advanced Model
Run Time .
To make the PPS run, you have to create the database service ppeHana. How to create this service depends on
your SSL (Secure Socket Layer) configuration settings in your SAP HANA database.
Source Code
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 159
2. Adjust the following entries in angle brackets (<...>) in the command line:
Entry Comment
<DB_USER> Replace this entry with a valid database user of your SAP
Customer Activity Repository system.
Note
If your password policy forces a password change af
ter the first login, it must be changed before you cre
ate ppeHana.
<HOSTNAME> Replace this entry with the database host name of your
SAP Customer Activity Repository system.
<PORT> Replace this entry with the database SQL port of your SAP
Customer Activity Repository system.
Tip
When you have created the database service, clear the command history to prevent unauthorized
disclosure of the password.
1. Execute the following xs command to create the database service and add encrypt=true to the database
URL to use an encrypted database connection:
Source Code
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
160 PUBLIC Set Up the Applications
2. If you want to validate the server certificate, set <VALUE> of validateCertificate to true. In this case, you
either have to ensure that your Java VM trusts the server certificate, or you must set the parameter
certificate as shown in the following example of a ppeHana service instance:
Sample Code
{
"name" : "ppeHana",
"credentials" : {
"password" : "<DB_USER_PASSWORD>",
"driver" : "com.sap.db.jdbc.Driver",
"port" : "<PORT>",
"host" : "<HOSTNAME>",
"user" : "<DB_USER>",
"url" : "jdbc:sap://<HOSTNAME>:<PORT>/?
encrypt=true&validateCertificate=true",
"certificate" : "-----BEGIN CERTIFICATE-----\nMIIFpzCww[…]----END
CERTIFICATE-----\n"
}
}
Tip
When you have created the database service, clear the command history to prevent unauthorized
disclosure of the password.
To store the PPS-specific configuration settings, you must create an extension descriptior file.
Note
This content includes the minimum settings that are necessary to create the extension descriptior file.
Further configuration settings, for example settings for caching, can be added to this file as required.
Source Code
_schema-version: "2.0.0"
ID: com.sap.retail.ppservice.XSAC_OPP_PPS
extends: com.sap.retail.ppservice.XSAC_OPP_PPS
modules:
- name: ppservice-approuter
parameters:
memory: 128M
- name: ppservice-webapp-central
parameters:
memory: 1024M
properties:
DISABLE_SUCCESSFUL_LOGIN_AUDIT_LOG: "<AUDIT_LOG_FLAG>"
JBP_CONFIG_RESOURCE_CONFIGURATION: "['tomcat/webapps/ROOT/WEB-INF/
classes/ppe-schema-orm.xml': {'sap.dataaccess-
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 161
common.schema':'<DB_SCHEMA>'},'tomcat/webapps/ROOT/META-INF/context.xml':
{'ppeHana-service-name':'ppeHana'}]"
JBP_CONFIG_JAVA_OPTS: 'java_opts: -Dsap.dataaccess-
common.db.client="<DB_CLIENT>" -Dsap.dataaccess-common.logSys=<LOGSYS>'
provides:
- name: java
Note
This configuration is written in YAML format. Make sure that you copy the format of the code block
correctly.
Entry Comment
<AUDIT_LOG_FLAG> If you set this flag to true, the system creates audit log
messages only for failed login attempts. If you set this flag
to false, every login is recorded. This is of limited use for
an A2A communication. To achieve optimal performance,
SAP recommends to set this flag to true.
<DB_CLIENT> Replace this entry with the client of your SAP Customer
Activity Repository system.
<LOGSYS> Replace this entry with the logical system ID of your mas
ter data system that is connected to your SAP Customer
Activity Repository client.
Tip
If you need higher values for default memory settings, especially for ppservice-webapp-central,
you can choose larger cache sizes.
4. Assuming that your extension descriptor file is called config-op.mtaext and that the command is called
from the directory in which your extension descriptor file is stored, execute the following command to
install the application:
Source Code
xs install <pathToScvFile>/XSACOPPPPS<software_component_version>.ZIP -e
config-op.mtaext
5. Save the extension descriptor file for later update or patch activities.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
162 PUBLIC Set Up the Applications
Note
If you want to reinstall the same software component version, add the following parameter to the install
command -o ALLOW_SC_SAME_VERSION.
For more information about possible additional parameters, see the documentation of this install
command.
To use the central promotion pricing service, you must have the necessary roles created and assigned.
Execute the following steps with your XSA PPS admin user.
1. Create a role collection for the PPS with the following xs command:
Source Code
2. Navigate to the organisation and space in which the PPS has been installed.
Tip
You can change organisations and spaces with the xs command xs target -o <ORG_NAME> -s
<SPACE_NAME>.
Note
If the installation has been successful, this role template must be listed in this space. You can verify this
by listing all role templates with xs command xs role-templates.
Source Code
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 163
Source Code
6. Assign the new role collection to the XSA PPS business user:
Source Code
Tip
You can call xs help -a to get an overview of other xs commands regarding role management.
7. Verify that the PPS user that you have created in the prior step is working. For this, you have to enter the
following request details in your REST Client (like Postman for Chrome) to send a calculation request:
Note
If your password policy prompts users to change their
password when they log on to the system for the first
time, this needs to be done before a request is sent
via Rest Client.
Content-Type = application/xml
URL 1. Call the command xs apps and check for the URL
of the ppservice-approuter app.
2. Append /restapi/ to the URL and enter this infor
mation in your REST Client.
Note
If you send this request, you get HTTP response code 400 (Bad Request) because you send an empty
request body.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
164 PUBLIC Set Up the Applications
If you receive HTTP response code 401 (Unauthorized) or 403 (Forbidden), there is something wrong with
your service user, or application. Double-check all steps that you have performed in this chapter.
The following settings are not mandatory in a default setup but help you to adapt the PPS to your specific
needs.
Configuration of Caches
By default, all database accesses to OPP promotion and regular price entities are cached. You can use the
following two types of caches:
Source Code
# Use Spring caching for promotions and regular prices - true is the default
setting
sap.dataaccess-common.cachenamedqueries=true
# Spring cache for promotions
sap.dataaccess-
common.promocachespec=maximumSize=10000,expireAfterAccess=10m,expireAfterWrite
=20m
# Spring cache for regular prices
sap.dataaccess-
common.basepricecachespec=maximumSize=10000,expireAfterAccess=10m,expireAfterW
rite=20m
To apply these settings, they have to be part of the extension descriptor in the JBP_CONFIG_JAVA_OPTS
property.
...
JBP_CONFIG_JAVA_OPTS: 'java_opts: -Dsap.dataaccess-
common.db.client="<DB_CLIENT>" -Dsap.dataaccess-common.logSys=<LOGSYS>' -
Dsap.dataaccess-common.cachenamedqueries=true -Dsap.dataaccess-
common.promocachespec=maximumSize=10000,expireAfterAccess=10m,expireAfterWrite=20
m -Dsap.dataaccess-
common.basepricecachespec=maximumSize=10000,expireAfterAccess=10m,expireAfterWrit
e=20m
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 165
...
Related Information
● For more information about optional properties that can be set via the extension descriptor, see the
module descriptions and the corresponding property files in the Development and Extension Guide for
Omnichannel Promotion Pricing on SAP Help Portal at https://help.sap.com/viewer/p/CARAB <Version>
Development Development and Extension Guide .
● For more information about caching options, see the Development and Extension Guide for Omnichannel
Promotion Pricing on SAP Help Portal at https://help.sap.com/viewer/p/CARAB <Version>
Development under Promotion Pricing Service PPS Module dataaccess-common .
6.1.3 Troubleshooting
Diagnose and resolve issues that may arise when you install, upgrade, and set up your scenario. If you need to
report a customer incident, see the information at the end of this section.
Tip
For quick access to support information, log in to the SAP ONE Support Launchpad at https://
launchpad.support.sap.com/#/productsearch . Search for SAP CARAB (back-end product version) or
SAP FIORI FOR SAP CARAB (front-end product version). Find SAP Knowledge Base Articles,
Documentation, Guided Answers, Questions & Blogs, and Download information — all on one page.
Installation / Upgrade You want to download a revi You need the exact download See section Download and
sion of software component path on the SAP Support Install the Application Func
SAP RTL AFL FOR SAP Portal at http:// tion Library (SAP RTL AFL
HANA. support.sap.com . FOR SAP HANA) [page 51].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
166 PUBLIC Set Up the Applications
Area Symptom Cause Possible Solutions
Installation / Upgrade You get an error indicating You must install compatible ● Section Download and
that software component releases (“revisions”) of the Install the Application
SAP RTL AFL FOR SAP following: Function Library (SAP
HANA is not compatible. RTL AFL FOR SAP
● SAP RTL AFL FOR
HANA) [page 51].
SAP HANA
● SAP Note 2818378
● SAP HANA DATABASE
(Which releases of SAP
● SAP HANA AFL
HANA Platform are sup
ported for which releases
of SAP Customer Activ
ity Repository applica
tions bundle (SAP
CARAB)?)
Installation / Upgrade You want to know what AFLs For example, you want to SAP Note 2188129
(application function libra check if an AFL was installed
ries) are installed and active or upgraded correctly.
in your SAP HANA database.
Installation / Upgrade You want to verify if your revi For example, you might be SAP Note 2375176
sion of SAP HANA Platform experiencing compatibility is
is compatible with your ver sues following an upgrade.
sion of SAP HANA studio.
Installation / Upgrade You have installed compati Something went wrong dur Revisit SAP Note 2377894
ble revisions of the following ing the installation. and make sure that you have
components but are still ex carefully followed all the
periencing issues: SAP RTL steps for your scenario.
AFL FOR SAP HANA, SAP
HANA AFL, SAP HANA
DATABASE
Installation / Upgrade You want to install or upgrade You need information on pos ● SAP Note 2078425
an application function li sible causes and solutions. ● SAP Note 2082466
brary (such as SAP RTL AFL
● SAP HANA Server Instal
FOR SAP HANA) and are ex lation and Update Guide
periencing issues with the for your SAP HANA Plat
SAP HANA Lifecycle Man form version under
agement tool (hdblcm, https://help.sap.com/
hdblcmgui). viewer/p/
SAP_HANA_PLATFORM
<Version>
Installation and
Upgrade
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 167
Area Symptom Cause Possible Solutions
Installation / Upgrade You get an import error when A program error must be SAP Note 2377525
installing the RTLAPPS soft fixed.
ware component of the SAP
CARAB back-end product
version.
Installation / Upgrade You get the error CAR RETAIL You are using the SAP HANA SAP Note 2022080
APPLSAP DBTech JDBC: AFL software component and
[258]: insufficient privilege: have performed an upgrade
Not authorized. of your SAP HANA Platform.
Previously assigned privi
leges might have been lost
during the upgrade.
Installation / Upgrade In an upgrade, you get the An issue with CDS views SAP Note 2340418
following error when running must be fixed.
program RUTDDLSCREATE:
3 ETW678Xstart export of
R3TRDDLS<CDS view
name> ...
Installation / Upgrade You have implemented an You need to start the recalcu SAP Note 2227577
SAP Note with a correction lation manually.
for the SAPUI5 application or
for the calculation of the ap
plication index. The SAPUI5
application index is not recal
culated automatically.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
168 PUBLIC Set Up the Applications
Area Symptom Cause Possible Solutions
Installation / Upgrade You want to install or upgrade As of SAP HANA Platform 2.0 ● Workaround: SAP Note
to a release of SAP Customer SPS04, a message that was 2789289 (Activation
Activity Repository considered a “warning” in of Calculation View Fails
applications bundle using the older releases is now consid With Error "column store
Software Update Manager ered an “error”. This error error: [34011] Inconsis
(transaction SUM). During the prevents the SUM process tent calculation model")
SAP HANA deployment from completing. ● Alternative: Convert the
phase, you get errors such as SAP HANA error mes
the following: sage back into a warn
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 169
Area Symptom Cause Possible Solutions
SAP HANA content You have run the /CAR/ You want to know which ob ● Execute transaction
ACTIVATE_HTA activation re jects have not been activated SLG1 to display the re
port but the selected SAP correctly and what errors port log:
HANA content is not acti have occurred. Towards the bottom of
vated. the log you will generally
find a section that lists
the objects with activa
tion errors. Keep in
mind, though, that those
objects might not have
any issues themselves
but that the root cause
can also be in depend
ent objects.
● In transaction
SCTS_HTA_DEPLOY,
try to reproduce the er
rors by manually rede
ploying the objects.
SAP HANA content You have run the /CAR/ The SAP HANA user needs SAP Note 2586850
ACTIVATE_HTA activation re additional authorizations
port but get the error (privileges).
Insufficient privilege: Not
authorized.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
170 PUBLIC Set Up the Applications
Area Symptom Cause Possible Solutions
SAP HANA content You have run the /CAR/ You might have an authoriza ● Check if SAP HANA da
ACTIVATE_HTA activation re tion issue. tabase user _SYS_REPO
port but the selected SAP has been assigned privi
HANA content is not acti lege SELECT with option
vated. Grantable to others. If
not, you can grant the
missing privilege using
the following example
SQL statement:
GRANT SELECT ON
SCHEMA <your
schema name> TO
_SYS_REPO WITH
GRANT OPTION;
● Check that other re
quired authorizations
have been set up cor
rectly. For more informa
tion, see section Verify
Back-End Users and
Roles [page 75].
SAP HANA content You have run the /CAR/ You might have a circular de SAP Note 2404872
ACTIVATE_HTA activation re pendency issue. In particular,
port but the selected SAP you get an error that a
HANA content is not acti SQLScript procedure (such
vated. as
SP_SR_GET_PROD_HR_XR_B
Y_DATE) cannot be acti
vated.
SAP HANA content You have run the /CAR/ You might have a deployment ● SAP Note 2109690
ACTIVATE_HTA activation re error in SAP HANA Transport (Error in SAP HANA re
port but the selected SAP for ABAP (HTA). pository deployment im
HANA content is not acti port step)
vated. ● SAP Note 2321486
(Troubleshooting for SAP
HANA Transport for
ABAP (HTA) deploy
ment)
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 171
Area Symptom Cause Possible Solutions
SAP HANA content You want to activate SAP Several causes are possible. Check that you have done
HANA content for scenarios Open the error log file and the following tasks as descri
of SAP Customer Activity search for udf.cor. For ex bed in this guide:
Repository applications ample, the following errors ● Have you installed com
bundle using the /CAR/ can occur: patible revisions of the
ACTIVATE_HTA report in
● Could not create catalog SAP HANA database
transaction SE38. However, and the AFL compo
object
you are getting errors. nents (SAP HANA AFL,
● Invalid name of function
or procedure SAP RTL AFL FOR
SAP HANA content You want to activate SAP Several causes are possible. ● Workaround and list of
HANA content for scenarios Open the error log file and affected SAP HANA da
of SAP Customer Activity search for udf.cor. For ex tabase revisions: SAP
Repository applications ample, the following errors Note 2525644 (Input
bundle using the /CAR/ can occur: Variables are set to an
ACTIVATE_HTA report in Empty String When not
● There is neither a default
transaction SE38. However, Mapped in Top-Level
value nor a data input
you are getting errors. Calculation Scenario)
mapping for …"
● If possible for your sce
● A2EESCTS_HOT 532
nario, consider upgrad
ing to an SAP HANA da
tabase revision not af
fected by the issue.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
172 PUBLIC Set Up the Applications
Area Symptom Cause Possible Solutions
SAP HANA content After running the /CAR/ You want to know whether SAP Note 2467113
ACTIVATE_HTA activation re the activation was successful
port, you get two conflicting and whether any additional
messages: action is required.
SAP HANA content You want to generate pre- You might not have activated When you run the /CAR/
season sales projections in all the required SAP HANA ACTIVATE_HTA activation re
SAP Assortment Planning content. port, make sure to select the
but get an error. required options. See Acti
vate SAP HANA Content
[page 85].
SAP HANA content You want to check the de You might need this informa ● In SAP HANA studio: Se
pendencies of a specific view. tion to solve a dependency or lect the view and choose
activation issue for SAP Auto Documentation
HANA views. from the context menu.
This generates a file with
detailed information on
the view. Consult the
Cross References sec
tion.
● If you are using the SAP
HANA Live View Browser
app: Select the view and
choose Cross
References.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 173
Area Symptom Cause Possible Solutions
SAP HANA content You get an error indicating You have not installed soft See section Download and
that you are attempting to ware component SAP RTL Install the Application Func
access inactive or invalid SAP AFL FOR SAP HANA. The tion Library (SAP RTL AFL
HANA content. component contains back- FOR SAP HANA) [page 51].
end functionality for the Uni
fied Demand Forecast mod
ule and the On-Shelf Availa
bility module in SAP
Customer Activity
Repository. If you don't in
tend to use those modules,
you don't need to configure
them. However, you must al
ways install the software
component.
SAP HANA content You get the error Table A program error must be ● SAP Note 2218875
ABAP:/DMF_ORG_ASSIGN fixed. ● SAP Note 2224582
not found.
SAP HANA content You get the error Object A program error must be SAP Note 2224582
DDF_ORG_ASSIGN fixed.
(Calculation View), package
sap.is.ddf.udf.data_validation,
was processed with errors.
SAP HANA content You get the error SQLScript: A program error must be SAP Note 2125672
Could not derive table type fixed.
for variable
"UDF_FC_HORIZON".
SAP HANA content SAP HANA views in the A program error must be SAP Note 2203930
sap.is.ddf.fms package fixed.
do not activate properly.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
174 PUBLIC Set Up the Applications
Area Symptom Cause Possible Solutions
SAP HANA content You need to manually deploy The automatic deployment ● Search for the following
SAP HANA objects and pack to the SAP HANA repository sections in the product
ages. of the target system has documentation of your
failed. SAP NetWeaver plat
form at https://
help.sap.com/viewer/p/
SAP_NETWEAVER: SAP
HANA Transport for
ABAP and Manually De
ploying SAP HANA Ob
jects and Packages. Fol
low the instructions.
● Execute transaction
SCTS_HTA_DEPLOY
for the manual deploy
ment of SAP HANA con
tent and consult the ac
companying system
documentation.
SAP HANA content You get any of the following The root cause is the usage You can ignore the error mes
errors: of CDS (Core Data Services) sages and continue with the
on top of external views. installation or upgrade proc
● View "/AMR/..." does not
ess. For explanations, see
exist in data base
SAP Note 2330184 .
● "DDL Source" "/
AMR/...." could not be
activated
● "DDL Source" "/DMF/
DIST_..." could not be
activated
SAP HANA content You get the error SQL Script The root cause is the usage You can ignore the error mes
message: invalid table name: of CDS (Core Data Services) sages and continue with the
Could not find table/ on top of external views. installation or upgrade proc
view /AMR/V. ess. For explanations, see
SAP Note 2441184 .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 175
Area Symptom Cause Possible Solutions
SAP HANA content You get the error View with A data element that is new or SAP Note 2289913
par. <CDS view name>: data has been redefined is used in
element <data element> par. the new definition in a Core
& does not exist or not active. Data Services (CDS) view
with parameters for the defi-
nition of a parameter.
SAP HANA content When doing ATC (ABAP Test The system does not con SAP Note 2374190
Cockpit) checks of database sider base information of the
objects or runtime objects, AMDP table function entity.
you get errors related to ref
erence tables and reference
fields:
SAP HANA Platform You cannot install the SAP You cannot install XSA as SAP Note 2388443
HANA XS advanced (XSA) long as SAP HANA dynamic
runtime. tiering is active on the same
host.
For example, you need XSA
to use the Omnichannel Pro
motion Pricing (OPP) module
in SAP Customer Activity
Repository.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
176 PUBLIC Set Up the Applications
Area Symptom Cause Possible Solutions
SAP HANA Platform You are encountering per Several causes are possible. ● SAP Note 2600030
formance issues in the SAP (Parameter Recommen
HANA Platform. dations in SAP HANA En
vironments)
● SAP Note 2100040
(FAQ: SAP HANA CPU)
● SAP HANA Trouble
shooting and Perform
ance Analysis Guide for
your SAP HANA Plat
form version under
https://help.sap.com/
viewer/p/
SAP_HANA_PLATFORM
<Version>
Administration
SAP HANA Platform You are not sure if the instal Consult the list of compatible SAP Note 2375176
led SAP HANA revision is revisions and versions.
compatible with the installed
SAP HANA studio version.
Hierarchies You get errors when creating The system does not gener ● Follow the steps in Con
or updating location hierar ate the flat structures for the figure Automatic Flat
chies and/or product hierar hierarchies. You need to do tening of Hierarchies
chies. some configuration steps so [page 92].
that the hierarchies get flat- ● See the following sec
tened automatically. tions of the SAP Cus
tomer Activity Reposi
tory Administration
Guide under https://
help.sap.com/viewer/p/
CARAB <Version>
Administration :
○ Configure Demand
Data Foundation
(DDF)
○ Configure Data Rep
lication from SAP
ERP to DDF
Hierarchies You get errors when import A program error must be ● SAP Note 2244521
ing article hierarchies (prod fixed. ● SAP Note 2245134
uct hierarchies) from your
master data system.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 177
Area Symptom Cause Possible Solutions
Hierarchies You want to know which loca You can implement an easy SAP Note 2208619
tions are included in each enhancement for ta
version of an offer. ble /DMF/OFR_LG_LOC.
Hierarchies An error occurs for a DDL A program error must be SAP Note 2377525
SQL view when you execute fixed.
the CREATE VIEW state
ment.
DRF data replication frame You have deleted a vendor A program error must be SAP Note 1872136
work (transaction DRFOUT) from the /DMF/D_VENDOR fixed.
table but this deletion is not
replicated to the master data
system.
DRF data replication frame You get an error when using A program error must be ● SAP Note 1904782
work (transaction DRFOUT) the DRF with the PMPL SAP fixed. ● SAP Note 2167629
ERP outbound implementa ● See the application help
tion. for SAP Customer
Activity Repository at
https://help.sap.com/
viewer/p/CARAB
<Version>
Repository Demand
Data Foundation
Integration Information
Master Data
Replication from SAP
ERP to Demand Data
Foundation
DRF data replication frame You get the error Product &1, A program error must be SAP Note 2163602
work (transaction DRFOUT) location &2: The Valid From fixed.
time for &3 must be
00:00:00 (message 364 in
message class /DMF/
MSG_HL).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
178 PUBLIC Set Up the Applications
Area Symptom Cause Possible Solutions
DRF data replication frame You have changed the listing A program error must be SAP Note 1932525
work (transaction DRFOUT) information in your source fixed.
master data system and re
plicated the changes to your
SAP Customer Activity
Repository system. However,
the listing information there
is not updated correctly.
Performance You are experiencing per You need information on how See the SAP HANA Trouble
formance issues in your SAP to troubleshoot and resolve shooting and Performance
HANA database. those issues and how to en Analysis Guide under https://
hance performance in gen help.sap.com/viewer/p/
eral. SAP_HANA_PLATFORM
<Version>
Administration .
Performance You get a runtime error or Different causes are possible. Use the ABAP dump analysis
exit message and need infor (transaction ST22) to search
mation about possible for short dumps and call up
causes and solutions. detailed error information.
Performance You are using the Update You can enhance the per SAP Note 2080423
Sales Projection function in formance by implementing
SAP Assortment Planning an SAP Note.
(workbooks Product Planning
and Size Planning). You are
experiencing performance is
sues when using the function
with large data volumes.
OData During the execution of an The Core Data Services SAP Note 238998
OData service based on (CDS) view uses a table func
SADL with CDS, an assertion tion that is not active in the
fails in class database. The trigger that is
CL_SADL_SQL_STATEMENT, supposed to activate it fails
method because of missing parame
EXECUTE_PREPARED_STATE ters if only $count is quer
MENT. The OData request ied.
uses the system query option
$count.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 179
Area Symptom Cause Possible Solutions
Support You have a customer incident You need information on how ● SAP Note 35010
and need to set up a service to set up the service connec (overview)
connection to SAP. tion. ● SAP Note 1634848
(service connection for
SAP HANA database)
● SAP Note 1592925
(service connection for
SAP HANA studio)
Source Master Data Systems You get the error The error is caused by the SAP Note 2249880
SYSTEM_ABAP_ACCESS_DE Blacklist Monitor in SAP S/
NIED. 4HANA.
SAP Fiori ● You want to start an SAP You must set up the adapta SAP Note 2283716
Fiori app for a key user tion transport organizer
and get the error (ATO) to be able to transport
Application is not key user extensions.
configured. Find details
in SAP Note 2283716.
● You want to activate ex
tensibility for key users.
SAP Fiori You want to check the SA There are several methods SAP Note 2282103
PUI5 version installed in your how you can check the ver
system. sion.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
180 PUBLIC Set Up the Applications
Area Symptom Cause Possible Solutions
SAP Fiori You cannot open the Analyze Several reasons are possible. Use section Set Up the Ana
Forecast app. See the checklist at the right lyze Forecast App [page 118]
and verify that the app is set for reference and check the
up correctly. following:
1. In transaction SE80,
navigate to package
UICAR001, subpackage
UISCAR01. Check that
the BSP Applications for
the app
(ANALYZFCST_V2) and
the reuse library
(UDFREUSE) are de
ployed.
2. In Launchpad
Customizing (transac
tion LPD_CUST), check
that the Internet Com
munication Framework
(ICF) services for
ANALYZFCST_V2 and for
UDFREUSE are active.
3. Clear the cache on the
server side by running
the following reports in
transaction SE38:
○ /UI5/
APP_INDEX_CALCU
LATE: Select Single
SAPUI5 Repository
Only and run the re
port once for
ANALYZFCST_V2
and once for
UDFREUSE.
○ /UI2/
INVALIDATE_GLOB
AL_CACHES: Run
this report in execu
tion mode.
○ /UI2/
INVALIDATE_CLIE
NT_CACHES: Run
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 181
Area Symptom Cause Possible Solutions
Upgrade On-Shelf Availability The following error occurs Local temporary tables SAP Note 2576497
Dispatcher (transac when executing the On-Shelf (LOCAL_EXCL_PRODUCT,
tion /OSA/DISPATCH) Availability (OSA) Dispatcher: LOCAL_LISTED_PRODUCT,
''SQL Error Code 274 : in and LOCAL_PS_CONF) cre
serted value too large for col ated and used by OSA for in
umn' ternal dispatcher processing
are not dropped automati
cally during runtime there
fore new tables, such as any
containing CHAR40 fields,
cannot get created. This
causes an SQL error when a
CHAR40 material is supplied.
Subsequent structural
change to the definition of
these tables requires manual
intervention in cases where
the tables may already exist.
You also may encounter issues during the day-to-day running of your application. For troubleshooting
information, see the application-specific Administration Guides under https://help.sap.com/viewer/p/CARAB
<Version> Administration :
● SAP Customer Activity Repository Administration Guide: section Troubleshooting for SAP Customer Activity
Repository Modules
● SAP Allocation Management Administration Guide: section Troubleshooting
● SAP Assortment Planning Administration Guide: section Troubleshooting
● SAP Merchandise Planning Administration Guide: section Troubleshooting
● SAP Promotion Management Administration Guide: section Management of SAP Promotion Management
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
182 PUBLIC Set Up the Applications
Report a Customer Incident
● If you encounter an issue with your system, we recommend that you first search the SAP Knowledge Base
and SAP Notes for existing solutions. For more information, see http://support.sap.com/ My Support
Knowledge Base .
● To view or report an incident, see http://support.sap.com/ My Support Incidents .
● For more information on reporting incidents for SAP Customer Activity Repository, see the Support Desk
Management section of the SAP Customer Activity Repository Administration Guide.
Note
Some of the activities in this section may have already been performed in the corresponding section under
SAP Customer Activity Repository. Such activities do not need to be repeated during the setup and
installation of consuming applications.
To set up this application, you must first perform the Core (Mandatory) steps for SAP Customer Activity
Repository. The core steps are mandatory for all the consuming applications.
Procedure
Perform all steps listed under Core (Mandatory for All Applications) [page 73].
Use
SAP Merchandise Planning is a consuming application of SAP Customer Activity Repository, which contains
data that is imported from SAP ERP or SAP S/4HANA into the following:
● SAP HANA for SAP ERP using SAP LT Replication Server (SLT), which is saved in the SAP_ECC authoring
schema.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 183
Or
SAP S/4HANA using SLT, which is saved in the SAP_S4H authoring schema.
● Demand Data Foundation (DDF)
Customizing Activities
There are key Customizing activities required to use the SAP Merchandise Planning application. These steps
are performed using transaction SPRO and navigating to the required Customizing activity.
Note
Geo Hierarchy ID is only for Merchandise Planning for Retail version 1.1 or prior.
As of SAP Merchandise Planning 2.0 FP2, there is a Cross Application Components Merchandise
Planning node containing mandatory steps for your implementation. Review the table below for applicable
activities for your environment. Each Customizing activity has attached documentation to further explain the
activity.
/RAP/ You use this BAdI to overwrite the logic and calculate the
Cross-Application
sales-related KPIs in case the default implementation is not
MPOC_CALC_SALES_KP
Components Merchandise suitable for the intended planning scenario.
I
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
184 PUBLIC Set Up the Applications
Technical Name Customizing Path Description
/RAP/ You use this BAdI to overwrite the logic to calculate the sales
Cross-Application
order and shipment related KPIs like sales-type revenue,
MPOC_SALES_ORDER_K
Components Merchandise cost, and unit. The KPIs that are related to the rejected and
PIS
returned sales orders are calculated in case default
Planning Enhancements Using
implementation is not suitable for the intended planning
Business Add-Ins BAdI: scenario.
Calculation Sales Order and
/RAP/ Cross-Application You use this BAdI to overwrite logic to calculate the
MPOC_PLANNABLE_L Beginning of Period inventory KPIs in case default
Components Merchandise
OCAT implementation is not suitable for the intended planning
Planning Enhancements Using scenario.
Business Add-Ins BAdI:
Calculate Inventory KPIs like BOP
Units / Cost
/RAP/ Cross-Application You use this BAdI to overwrite logic in case default
MPR_CALCULATE_ECC_ implementation is not suitable for the intended planning
Components Merchandise
KPI scenario.
Planning Enhancements Using
/RAP/ Cross-Application You use this BAdI to overwrite logic in case default
MPR_CALCULATE_FMS_ implementation is not suitable for the intended planning
Components Merchandise
KPI scenario.
Planning Enhancements Using
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 185
Technical Name Customizing Path Description
/RAP/ Cross-Application You use this BAdI to determine the purchase price for goods
MPR_COST_PRC_DETE receipts, open purchase order and returns to vendor KPIs.
Components Merchandise
RM The default implementation assumes moving average price
Planning Enhancements Using is always available in the unit of measure.
Business Add-Ins BAdI: Cost
Determination for Receipt, Open
/RAP/ Cross-Application You use this BAdI to determine the calculation for goods
MPOC_CALC_PO_RECE receipt, open purchase order quantity and returns to vendor
Components Merchandise
IPTS_KPI KPIs are based on segmentation and channel.
Planning Enhancements Using
/RAP/ Cross-Application You use this BAdI to Calculate Inventory KPIs like Beginning
MPOC_CALC_INVENTO of Period Cost and Unit Values for Distribution Centre, Store
Components Merchandise
RY_KPI and Excess Inventory Stock based on segmentation and
Planning Enhancements Using channel.
Business Add-Ins BAdI:
Calculate Inventory KPIs Based
/RAP/ Cross-Application You use this BAdI: to select the season year, season,
MPOC_PLANNING_YSC collection and theme relevant data for Merchandise
Components Merchandise
T Planning.
Planning Enhancements Using
and Theme
Implementation Tasks
The version concept allows you to plan and view different working versions, and to create special versions for
released and finalized plans. Each workbook can display up to two different versions in parallel, with the
capability to copy or provide a working plan version from any other available version to begin the planning
process
The version and planning levels are decided during installation. These concepts will affect your planning
configuration set and integration with SAP Assortment Planning. The recommended standard is planning at
the 5th node level of the product hierarchy (1-7 levels available). The installation will prompt you to create levels
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
186 PUBLIC Set Up the Applications
5 and 7. The workbook versions are named by concatenating the level with the version. For example the
merchandise financial plan for level 5 versions are:
Note
You must have an area of responsibility assigned for the product hierarchy and market hierarchy you will be
using. From your SAP Easy Access menu, use transaction code NWBC and navigate to menu Services
Maintain Area of Responsibility .
For more information about Planning Configurations see https://help.sap.com/viewer/p/CARAB and navigate
to <your version> SAP Assortment Planning Assortment Planning Manage Planning Configuration
Sets .
● While calling the API to fetch finalized version, the assortment plan interface selects product hierarchy
node(s) of the same level as the plan. For example, based on the product hierarchy node of level 3 (or 4, 5,
6, 7), the system will automatically look for version M3F (or M4F, M5F, etc.) in case the version is not being
passed as part of the API call.
● If standard integration is used, it is recommended that final released versions should be named as M<level
of product hierarchy node>F.
● A specific custom extension is possible by implementing AMDP BAdI /DMF/MPR_READ_KPI_DATA if your
planning version used for the merchanise plan does not follow the recommended naming convention.
○ The BAdI is available using transaction code SPRO and navigating to Customizing node SAP
Customizing Implementation Guide SAP Customer Activity Repository Demand Data Foundations
Data Maintenance Planning Configuration Enhancements Using Business Add-Ins BAdI: Read
Merchandise Planning KPI Data .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 187
6.2.3 Verify the Connection Between the SAP Merchandise
Planning System and SAP Analysis for Microsoft
Office
The SAP Merchandise Planning application includes several SAP Analysis for Microsoft Office workbooks.
These workbooks, which are installed on your back-end system as part of the local BI Content, can only be
opened using SAP Analysis for Microsoft Office.
In this step, you verify that you can open the SAP Merchandise Planning workbooks from SAP Analysis for
Microsoft Office.
1. Open SAP Analysis for Microsoft Office from Start All Programs SAP Business Intelligence SAP
BusinessObjects Analysis Analysis for Microsoft Excel .
2. From the File menu, select Analysis Open Workbook (Open Workbook from SAP NetWeaver) .
3. Select your back-end system.
Tip: The list of systems corresponds to the systems available in your SAP Logon.
4. If single sign-on is not configured provide your user information.
5. Search for /RAP/MP* on the Search tab.
6. Open any of the workbooks from the list of SAP Merchandise Planning workbooks.
The opening of the workbook indicates that there are no issues with the connection between your back-
end system and SAP Analysis for Microsoft Office.
The planning framework used by SAP Merchandise Planning consists of the following elements:
● Business Intelligence Content (BI Content) Objects: A collection of local BI Content objects is used as
the basis for the SAP Analysis for Microsoft Office workbooks.
SAP Analysis for Microsoft Office workbooks are designed to consume data from BI Content objects. The
local BI Content objects that are provided with the SAP Merchandise Planning application use the
integrated planning engine in SAP Business Warehouse (SAP BW). These local BI Content objects are used
as an interface between the SAP HANA views and the SAP Analysis for Microsoft Office workbooks.
Note
The local BI Content provided with the SAP Merchandise Planning application is entirely independent
of the SAP Business Warehouse BI Content and BI Content Extensions add-on.
● SAP Analysis for Microsoft Office Workbooks: Microsoft Excel-based spreadsheets that you use to plan
assortments for the different locations in your retail business.
This section of the guide provides information on the SAP HANA content activation, BI Content activation and
configuration, and data upload activities required to set up the SAP Merchandise Planning planning framework.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
188 PUBLIC Set Up the Applications
6.2.4.1 Activate SAP HANA Content for SAP Merchandise
Planning
Activate all SAP HANA Transport for ABAP (HTA) objects that are required for SAP Merchandise Planning
application.
Prerequisites
As a mandatory prerequisite for a successful activation of SAP HANA content for SAP Merchandise Planning,
you must have successfully completed all of the procedures listed in the previous sections of this guide as
pertains to SAP Customer Activity Repository Core (Mandatory for All Applications) . In particular, you
must have created all the necessary tables, as described in Create/Replicate Source Master Data System
Tables [page 81].
You must also have mapped all the necessary schemas, as described in Verify Correct Schema Mapping [page
43].
Context
In this procedure you perform the final activation of SAP HANA content (views and stored procedures) required
by the SAP Merchandise Planning application. This final activation results in a full activation of the SAP HANA
content for SAP Merchandise Planning. Several SAP HANA views depend on local BI Content objects. The SAP
HANA views have to be activated before activating the BI Content objects as described in Activate Application
BI Content [page 191] .
Procedure
Based on the selected ECC Mode in the above report the following packages should exist:
○ SAP ERP:
○ sap.is.ddf.ecc
○ Fashion Management:
○ sap.is.ddf.ecc
○ sap.is.ddf.fms
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 189
○ S/4HANA:
○ sap.is.ddf.fms_s4h
5. The following packages should exist resulting from the standard installation:
○ sap.is.ddf.ddf
○ sap.is.retail.rap.ap
○ sap.is.retail.rap.common_bw
○ sap.is.retail.rap.mpr
○ sap.is.retail.rap.mpr_oc
If any of these packages are missing, you must activate those relative to the order above due to
dependencies. Use transaction SCTS_HTA_DEPLOY to activate each missing package.
Procedure
1. On your back-end system, open the Data Warehousing Workbench (transaction RSA1).
2. In the Replicate Metadata dialog box, choose Only Activate.
3. If a message appears that you are only authorized to work in client. (Brain 009), then refer to SAP Note
316923 (do not import the support package, but use the description under section Workaround).
4. Select Do not show this question Again in the dialog that appears.
5. Choose Yes.
Make sure that the current job has finished before you proceed with the next step. Check the status of the
background job using transaction SM37or SLG1. If there are problems, you must first solve them.
You can use transaction RSTCO_ADMIN to restart the activation of the technical content and to verify the
status of the activation.
Note
In the case that you get the short-dump "RAISE_EXCEPTION" when installing InfoObjects from the BI
content, see SAP Note 1637935 for a possible solution.
Also, see SAP Note 2090845 for important information on technical content activation.
Following activation, you can locate the technical content in the Data Warehousing Workbench as follows:
1. Selecting Modeling in the left-hand frame.
2. Expand InfoObjects.
3. In the right-hand frame, locate Technical Content.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
190 PUBLIC Set Up the Applications
6.2.4.3 Activate Application BI Content
Use
Caution
These instructions are to activate content for the InfoArea Merchandise Planning Omni Channel (/RAP/MPOC).
This will activate the following object types:
● InfoObjects
● Advanced DataStore Objects (aDSO)
● Composite Providers
● Aggregation Levels
● Planning Sequences
● Queries
● Workbooks
After completing the activate sections, see the last section of this topic, Verify Installed Objects to insure all
objects have been installed and activated.
Roles/Authorization
1. The application user running the activation/deployment should have the following roles:
○ SAP_ISR_DDF_MASTER
○ SAP_ISR_AP_MASTER
○ /RAP/BW_AP_WORKBOOKS
○ /RAP/BW_MPR_WORKBOOKS
2. The database user should have the following privileges/roles:
○ Privilege ROLE ADMIN
○ Privilege STRUCTUREDPRIVILEGE ADMIN
○ Privilege EXECUTE on procedure TRUNCATE_PROCEDURE_OBJECTS
○ Privilege EXECUTE on procedure GET_PROCEDURE_OBJECTS
○ Role CONTENT_ADMIN
○ Role USER
○ Privilege EXECUTE on procedure TRUNCATE_PROCEDURE_OBJECTS
○ Privilege EXECUTE on procedure GET_PROCEDURE_OBJECTS
3. Ensure that each SAP BW/HANA application user have at least the following set of privileges to activate BI
contents:
○ Privilege SELECT on schema _SYS_BI
○ Privilege SELECT on schema SAP<SID>
○ Privilege EXECUTE on procedure REPOSITORY_REST
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 191
○ Privilege REPO.READ on package bw2hana/SAP<SID>_/RAP/<Infocube>_REPORTING
○ The corresponding privileges are created automatically when activating BI content
See Perform Core Steps for SAP Customer Activity Repository [page 183] to ensure all core mandatory steps
are performed.
Note
A window being referenced, may be hidden. Use the Data Warehousing Workbench menu in the main
window title bar to hide/unhide the following windows: Navigation, All Objects, and Collected Objects.
● Select Yes to the system prompt Do you want to add the objects to the personal list.
● When prompted for Source System, do not choose any and select OK.
● For each aDSO, right click on the object and select option Install All Below.
● Install and Activate each aDSO.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
192 PUBLIC Set Up the Applications
Activate Analysis Office Excel Workbooks 2.0
In this section you will continue from the above step and activate the workbooks. :
● From the left navigation panel for BI Content locate and expand folder More Types. Expand Analysis Office
Excel Workbook and double click Select Objects. Use the filter in the popup window to define a filter on
column Object Name having values of /RAP/MP_*.
In the pop up window, select the following objects and select button Transfer Selections.
Workbooks
Object Name
/RAP/MP_ECOM_PHN5_WB_01
/RAP/MP_OTB_OTS_PHN5_WB_01
/RAP/MP_OTB_OTS_PHN5_WB_02
/RAP/MP_RTL_PHN5_WB_01
/RAP/MP_RT_PHN5_M_WB_01
/RAP/MP_RT_PHN7_WB_01
/RAP/MP_RT_SSN_PHN5
/RAP/MP_WHS_PHN5_M_WB_01
● Select Yes to the system prompt Do you want to add the objects to the personal list.
● For each workbook, right click and select option Install All Below.
● Install and Activate each workbook.
In this section you will activate the Planning Sequence, Planning Function used for loading last year actual data,
From the left navigation panel for BI Content locate and select Object Types. In the All Objects According to Type
window, perform the following:
Planning Sequence
Planning Sequence
/RAP/MHDS2_A3_PS01
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 193
Planning Sequence
/RAP/MHDS2_A3_PS02
/RAP/MPDS0_A0_PS01
/RAP/MPDS0_A0_PS02
/RAP/MPDS0_A0_PS03
/RAP/MPDS0_A2_PS01
/RAP/MPDS1_A1_PS01
/RAP/MPDS1_A1_PS02
Verify the installed objects exist using the associated tables below.
MP - Local Month Sales Inventory Targets for Retail and E-Co /RAP/MPDS2
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
194 PUBLIC Set Up the Applications
InfoObjects Characteristics
Collection /RAP/SCOLL
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 195
InfoObject Description InfoObject Name
Season /RAP/SSEAS
Theme /RAP/STHEME
Version /RAP/VERSN
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
196 PUBLIC Set Up the Applications
InfoObject Description InfoObject Name
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 197
Composite Providers
Aggregation Levels
Planning Sequence
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
198 PUBLIC Set Up the Applications
Workbook Function Planning Sequence
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 199
Workbook Function Planning Sequence
5.1 OTB & OTS Reconciliation Planning sequence for Ribbon in AO /RAP/C15A41_PS00
5.2 OTB & OTS Reconciliation - Season Planning sequence for Ribbon in AO /RAP/C15A42_PS00
5.2 OTB & OTS Reconciliation - Season MP - OTB - Reconciliation - Finalize /RAP/C15A42_PS02
Final
Queries
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
200 PUBLIC Set Up the Applications
Query Name Technical Name
Workbooks
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 201
Workbook Description Workbook Technical Name
You must change the loading behavior for each aDSO. Select the InfoProvider node under Modeling. Locate the
central InfoProvider column and expand the Merchandise Planning Omni Channel change the loading
behavior for each aDSO. To change the loading the behavior, locate each object in the DataStore (advanced)
table above and then right click to select Planning-Specific Properties Change Real-Time Load Behavior.
Select radio button Real-Time Target Can Be Planned; Data Loading Not Allowed.
Use
To be able to use the SAP Analysis for Microsoft Office workbooks provided as part of the SAP Assortment
Planning planning framework content, you must enable the Planning Application Kit.
Procedure
In this procedure, you maintain the RSADMIN parameter for Input Cells in the SAP BW application to suppress
zero values for actual data versions.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
202 PUBLIC Set Up the Applications
1. Log on to your back-end system.
2. Open the ABAP Editor (transaction SE38).
3. Run program SAP_RSADMIN_MAINTAIN
4. In RSAD Table Maintenance, insert ZERO_SUPPRESSION_ON_INPUTCELLS in OBJECT and Execute.
Posting Instructions
Refer to 1126478
Use
There are two reports required to populate supporting tables for SAP Merchandise Planning for Omnichannel
2.0 and above.
Procedure
● Use transaction code. SE38 and enter /RAP/SEED_BW_CUSTOMIZING_DATA in the Program field. Use the
Execute button to run the report.
The second report is only for SAP Merchandise Planning for Retail 1.0 or (1.1) and is used to set the session
client on the HANA system.
● Use transaction code. SE38 and enter /RAP/MPR_REPORTING_CLIENT in the Program field. Use the
Execute button to run the report.
Use
In this section you maintain the required fiscal year variant values for the Retail Month (RM) and the Retail
Week (RW). These instructions are for SAP Merchandise Planning 1.0 FP2 or later. In addition, the years used in
the examples are to depict the relationship between the years. You will need to create the range of years
applicable for your implementation.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 203
Caution
SAP Merchandise Planning uses activated time objects 0FISCPER (fiscal year period) and 0FISCVARNT
(fiscal year variant), provided as part of the technical BI Content If you are supporting both Retail Week
and Month Variants, begin with the RW procedure and then RM thereafter.
Note
SAP Merchandise Planning for Retail 1.0 Workbooks supports time hierarchy YR/MON. For more
information please see Maintain Time Hierarchy [page 213].
Procedure
You must maintain 0FISCVARNT 'RM' using the standard 12 month calendar entries. If you are using
alternative fiscal periods in your business, you can provide your own entries instead of the ones suggested in
this guide.
FV RM
Year- Select
dependent
Number of 12
period
postings
No.of
special
periods
5. Choose Enter.
6. Choose Back.
You can see the newly created entry.
7. Mark the entry RM and select Periods from the Dialog Structure and double click to open the Calendar year
dialog.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
204 PUBLIC Set Up the Applications
8. Enter the year, for example 2014, in the Calendar yr field and choose Continue.
9. Choose New Entries. For the year selected to enter the information that will define each period.
10. Enter the last valid calendar date of the period being added in the Month and Day fields.
11. Enter the relevant Period number.
12. In the Year Shift field, enter +1 if the fiscal year is later than the calendar year enter. Enter -1 if the fiscal year
is before the calendar year.
13. Press Enter to accept the first row.
14. Continue adding each period to complete the fiscal year. Choose Save after you have finished the entries
for a year.
15. Continue adding the fiscal year variants for each year required by your scenario by repeating steps 2-13.
16. For more information about setting up the calendar for additional years, see SAP Note 2112634 . Note
that this SAP Note is applicable for both SAP Merchandise Planning and SAP Assortment Planning.
17. Choose Save after you have finished the maintenance for the last year.
1 31 12 -1
2 28 1 0
3 28 2 0
5 2 3 0
5 30 4 0
6 27 5 0
8 1 6 0
8 29 7 0
9 26 8 0
10 31 9 0
11 28 10 0
12 26 11 0
12 31 12 0
In this procedure you maintain the required fiscal year variant ( 0FISCVARNT 'RW').
The steps provided in this procedure allow you to maintain 0FISCVARNT 'RW' using the standard 4-5-4
calendar entries. If you are using alternative fiscal periods in your retail business, for example, each week
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 205
starting on a Sunday instead of Saturday, you can provide your own entries instead of the ones suggested in
this guide.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
206 PUBLIC Set Up the Applications
2015 Weekly Calendar
1 3 48 -1
1 10 49 -1
1 17 50 -1
1 24 51 -1
1 31 52 -1
2 7 1 0
2 14 2 0
16. Repeat steps 7-15 to maintain the weekly fiscal year variant for all of the required years, entering each year
as shortened fiscal year. The corresponding tables are available in SAP Note 2112634 .
17. Choose Save.
18. Launch transaction RSRHIERARCHYVIRT and ensure that the dates specified in the From and To fields
under Time Interval cover the years maintained for the fiscal year variant in the previous steps.
In this section, you maintain the required fiscal year variant values for the fiscal month, 'RM'.
Procedure
You must maintain 0FISCVARNT 'RM' using the standard 12 month calendar entries. If you are using
alternative fiscal periods in your business, you can provide your own entries instead of the ones suggested in
this guide.
FV RM
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 207
Field Name User Entry
Year- Select
dependent
Number of 12
period
postings
No.of
special
periods
5. Choose Enter.
6. Choose Back.
You can see the newly created entry.
7. Mark the entry RM and select Periods from the Dialog Structure and double click to open the Calendar year
dialog.
8. Enter the year, for example 2014, in the Calendar yr field and choose Continue.
9. Choose New Entries. For the year selected to enter the information that will define each period.
10. Enter the last valid calendar date of the period being added in the Month and Day fields.
11. Enter the relevant Period number.
12. In the Year Shift field, enter +1 if the fiscal year is later than the calendar year enter. Enter -1 if the fiscal year
is before the calendar year.
13. Press Enter to accept the first row.
14. Continue adding each period to complete the fiscal year. Choose Save after you have finished the entries
for a year.
15. Continue adding the fiscal year variants for each year required by your scenario by repeating steps 2-13.
16. For more information about setting up the calendar for additional years, see SAP Note 2112634 . Note
that this SAP Note is applicable for both SAP Merchandise Planning and SAP Assortment Planning.
17. Choose Save after you have finished the maintenance for the last year.
1 31 12 -1
2 28 1 0
3 28 2 0
5 2 3 0
5 30 4 0
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
208 PUBLIC Set Up the Applications
Month Day Period Year Shift
6 27 5 0
8 1 6 0
8 29 7 0
9 26 8 0
10 31 9 0
11 28 10 0
12 26 11 0
12 31 12 0
Usa
Execution of the RSR_TIME_RELATION_HDB report is required to populate supporting tables for the time
relations data for planning based on the fiscal calendar.
Prerequisite
This report requires that fiscal calendars are currently maintained for the fiscal variants that are expected to be
used for planning.
Procedure
The report will generate entries for the RSR_REL_TIME_FIS table and the RSR_TIME_REL_FIS table.
Use transaction code SE38 and enter RSR_TIME_RELATION_HDB in the program field. Use the Execute button
to run the report.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 209
6.2.4.4.6 Maintain Versions
In this step, you maintain the master data for the InfoObject /RAP/VERSN to support versions in workbooks.
1. Launch HANA Studio, and open perspective BW Modeler. Open your BW Project and expand BW
Repository. Navigate to /RAP/MPOC Aggregation Level . Expand any object built on /RAP/C15A*
and navigate to a query. Open the query and navigate to the InfoProvider tab.
2. Expand InfoProvider Fields General . Open field /RAP/VERSN. In the Properties tab select the Master
Data link.
3. You are on the Change Master Data of InfoObject /RAP/VERSN maintenance screen.
4. Select the section below matching the scenario of workbooks you will be using to enter the correct
information.
Be sure to save your entries and close the window.
The default workbooks are planned at product hierarchy node levels 5 and 7. Entries for those are listed in the
table below. For more information about versions see https://help.sap.com/viewer/p/CARAB <Version>
Administration SAP Merchandise Planning Administration Guide Configuration Information Configure
SAP Merchandise Planning Implementation Tasks .
Version Text
0 Actuals
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
210 PUBLIC Set Up the Applications
6.2.4.4.7 Activate Internet Communication Framework
(ICF) Services
For security reasons, all Internet Communication Framework (ICF) services relevant to your SAP Merchandise
Planning application are made available in an inactive state.
4. Choose Execute.
5. On the Maintain Service screen, expand the hierarchy of Default_host.
6. Expand SAP.
7. Select the BW entry.
8. From the context menu choose Activate service.
9. In the confirmation dialog box, choose Yes to activate all sub-nodes below the BW node in the hierarchy.
10. Choose Back.
In this procedure, you perform the settings that are necessary for the connectivity for an external system - PC
files on the Workstation (for example Excel files) or files on the application server in SAP BW.
9. Choose Continue.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 211
10. Right-click the FILE Source System.
11. Follow the context menu path Activate.
These steps are for users who have upgraded to or installed SAP Fiori 3.0 SPS03 for SAP Customer Activity
Repository applications bundle 2.0 and are choosing to continue using the SAP Merchandise Planning for Retail
1.0 workbooks.
You may choose to use the original retail workbooks contained in this configuration.
The following topics are not used in SAP Merchandise Planning 2.0 FP2. If you are configuring for the 1.0
workbooks you must complete these next topics.
In this step, you maintain the variables /RAP/HIEID_MSM_01and /RAP/UNIT_MSM_01. To do this launch the
Query Designer and follow the steps below.
1. Log in to the system desired and select the Open query icon. In the prompt, search the InfoAreas for
Merchandise, Financial Planning for Retail and select.
2. Open query Channel Mix - query/PF ( /RAP/CP11A02_IRQ01).
3. In the Filter panel, Characteristic Restrictions and select Hierarchy ID and expand. Choose the variable
Hierarchy ID beneath to focus the value in the Properties panel.
4. Select the Default Values tab and enter the same hierarchy id used in the Customizing activity.
5. Return to the Filter panel, Characteristic Restrictions and select Unit of Measure and expand. Choose the
variable Unit of Measure beneath to focus the value in the Properties panel.
6. Select the Default Values tab and enter the value 'PC' to represent the default unit of measure value for
pieces.
7. Save the Query and exit.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
212 PUBLIC Set Up the Applications
6.2.4.4.9.1.2 Create Geographical Location Hierarchies
Note
This step is relevant to SAP Merchandise Planning for Retail versions prior to SAP Merchandise Planning 2.0
FP2.
SAP Merchandise Planning for Retail supports up to 2 levels of geographical location hierarchies. For
example, you create the first level for the world regions, the second level for countries, and then the location
hierarchy. The location hierarchy node assigned to a geographical location hierarchy must be a distribution
chain hierarchy (DC), which is a type 04 or a promotion location hiearchy which is a type 05.
1. Log in to the application server using SAP GUI and execute transaction code NWBC.
2. Select the Services menu.
3. In the left navigation menu select Location Services Location Hierarchy .
In the POWL menu on the right, select the Create button, then Market Hierarchy in the dropdown.
4. Enter the location hierarchy name, description and the master data system for your new geographical
location hierarchy.
5. Select the Editor tab.
Note
Enter or search for the distribution chain location hierarchy or promotion location hierarchy that you want
to add to your geographical location hierarchy.
6. Add the desired DC location hierarchy or promotion location hierarchy to your geographical location
hierarchy. You may have either or both types of hierarchies added to the same geographical location
hierarchy node.
7. Save your entries.
In the example below you have two level 2 hierarchies. The level 3 hierarchies are the actual distribution chain
location hierarchies and/or promotion location hierarchies that were selected (created in a previous activity).
● GLOBAL (GEOLEVEL1)
○ NORTH_AMERICA (GEOLEVEL2)
○ DC Hierarchy for Sales Org/Dist. Channel XYZ (GEOLEVEL3)
This will assign all locations for the sales org / distribution channel XYZ to North America's node.
○ Promotion location hierarchy PL123 (GEOLEVEL3)
This will assign all locations for the promotion location hierarchy PL123 to North America's node.
○ SOUTH_AMERICA (GEOLEVEL2)
○ DC Hierarchy for Sales Org/Dist. Channel ABC (GEOLEVEL3)
This will assign all locations for the sales org / distribution channel ABC to South America's node.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 213
InfoObject 0FISCPER. The instructions are an example of the required steps that will be repeated for each year
and time period
0FISCPER ● Create the 0RP_FISCHIER02 hierarchy name with the entry YR/SEASON in the
Short Description field.
● Create the Year hierarchy node with Year in the Short Description.
● Choose the Year hierarchy node, and create the Spring hierarchy node with the
Spring in the Short Description field under the Year hierarchy node. Click continue
● Choose the Spring hierarchy node, use the Characteristic Nodes Button to insert the
Fiscal Year/Period value for each period for that season.
● Continue the process for each year, season and period. Save and activate the hierarchy
when completed.
Version Text
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
214 PUBLIC Set Up the Applications
Version Text
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 215
Version Text
Use
In this section you maintain the required fiscal year variant values for week and month; 0FISCVARNT 'RW' and
'RM'.
Caution
SAP Merchandise Planning for Retail uses activated time objects 0FISCPER (fiscal year period) and
0FISCVARNT (fiscal year variant), provided as part of the technical BI Content.
If you are also using the SAP Assortment Planning application, you use the same fiscal year variant that
was created for this application.
Procedure
Fiscal Variant RW
The steps provided in this procedure allow you to maintain 0FISCVARNT 'RW' using the standard 4-5-4
calendar entries. If you are using alternative fiscal periods in your retail business, for example, each week
starting on a Sunday instead of Saturday, you can provide your own entries instead of the ones suggested in
this guide.
FV RW
Year- Select
dependent
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
216 PUBLIC Set Up the Applications
Field Name User Entry
Number of 53
period
postings
No.of
special
periods
5. Choose Enter.
An information message is displayed about creating more than 16 periods, choose Continue.
6. Choose Back.
You can see the newly created entry.
7. Mark the entry RW and select Periods from the Dialog Structure.
8. Enter 2012 in the Calendar yr field and choose Continue.
Data for the previous year must be maintained.
9. Choose New Entries.
10. Open SAP Note 2112634 , locate the entries for year 2012, and enter the data by copy-and-paste. Note
that this SAP Note is applicable for both SAP Merchandise Planning for Retail and SAP Assortment
Planning for Retail.
11. Choose Enter to finish your input.
While making the fiscal year entries, an information message might be displayed stating that there are
Gaps in financial year variant periods RW. This is an information message only, and the entered fiscal year
data is saved.
12. Maintain the weekly fiscal year variant in the same way for the year 2017. The entries for year 2017 are also
available in SAP Note 2112634 .
13. Select Shortened Fiscal Years from the Dialog Structure.
14. Enter 2013 in the Fiscal year field and choose Continue.
15. Choose New Entries.
16. Enter 52 in the No. of posting periods field.
17. Choose Back twice.
18. Maintain the weekly fiscal year variant in the same way for the shortened fiscal years, that is, years 2013,
2014, 2015, 2016, and 2017. The corresponding tables are available in SAP Note 2112634 .
19. Choose Save after you have finished the maintenance for year 2018.
Fiscal Variant RM
The next steps allow you to maintain 0FISCVARNT 'RM' using the standard 12 month calendar entries. If you
are using alternative fiscal periods in your retail business, you can provide your own entries instead of the ones
suggested in this guide. These month entries must align with the week values used in the prior step.
FV RM
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 217
Field Name User Entry
Year- Select
dependent
Number of 12
period
postings
No.of
special
periods
3. Choose Enter.
4. Choose Back.
You can see the newly created entry.
To get the information to enter in the next step, open SAP Note 2112634 . Note that this SAP Note is
applicable for both SAP Merchandise Planning and SAP Assortment Planning. If you have used these dates
for your weekly calendar, then align the month end dates to match. An example is contained in the table
below using the 2015 calendar entries from the SAP Note.
5. Mark the entry RM and select Periods from the Dialog Structure and double click to open the Calendar year
dialog.
6. Enter 2012 in the Calendar yr field and choose Continue.
7. Choose New Entries. For the year selected to enter the information that will define each period.
8. Enter the last valid calendar date of the period being added in the Month and Day fields.
9. Enter the relevant Period number.
10. In the Year Shift field, enter +1 if the fiscal year is later than the calendar year enter. Enter -1 if the fiscal year
is before the calendar year.
11. Press Enter to accept the first row.
12. Continue adding each period to complete the fiscal year.
Maintain the monthly fiscal year variant in the same way for the remaining years.
13. Choose Save after you have finished the maintenance for year 2018.
Choose Save after you have finished the maintenance for the last year.
1 31 12 -1
2 28 1 0
3 28 2 0
5 2 3 0
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
218 PUBLIC Set Up the Applications
Month Day Period Year Shift
5 30 4 0
6 27 5 0
8 1 6 0
8 29 7 0
9 26 8 0
10 31 9 0
11 28 10 0
12 26 11 0
12 31 12 0
Use
This information is relevant to versions prior to SAP Merchandise Planning 2.0 FP2. There are two types of
hierarchies used in SAP Merchandise Planning for Retail, the geographical and the article hierarchy.
Procedure
There is a Customizing activity to define the required hierarchies. Use transaction code SPRO and in the Dialog
Structure navigate to Cross-Application Components Demand Data Foundation Basic Settings and
choose Define Default Values.
● In the Hierarchy ID field use the prompt to select the applicable article hierarchy id.
● In the Geo Hierarchy ID field, use the prompt to select the applicable geo hierarchy ID.
This information is relevant to versions prior to SAP Merchandise Planning 2.0 FP2. The geographical hierarchy
level 2 requires a reporting currency. Do the following steps to create a geographical location hierarchy
currency:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 219
2. In the Maintain Table Views: Initial Screen enter /RAP/GEOLVL_CUST in the Table/view field and select the
Maintain button
3. Choose New Entries .
4. Use the F4 help to select the Geographical Level 02 desired.
5. Use the F4 help to select the Reporting Currency associated with the Geographical Level 02 selected.
6. Repeat for each Geographical Level 02 required.
7. Save your entries.
Maintain BW process chain variants relevant for SAP Merchandise Planning for Retail.
Context
In this optional procedure, you activate the following infoobjects and maintain the BW process chain variants .
InfoObject Name
/RAP/MPPC01_01
InfoObject Name
/RAP/MPPC01_01
Procedure
In this process you will create variants and activate the BW process chains.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
220 PUBLIC Set Up the Applications
1. Planning Sequence Data Slice Activation
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A02_PS08 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter Data Slice Activation and select the Cross-User
Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose Edit.
14. In the right tree, right click on Execute Planning Sequence Data Slice Activation (/RAP/
MPPC01_10) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
2. Planning Sequence Deactivation of Data Slice
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A02_PS09 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter Data Slice Deactivation and select the Cross-User
Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose Edit.
14. In the right tree, right click on Execute Planning Sequence Data Slice Deactivation (/RAP/
MPPC01_11) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
3. Planning Sequence Channel Mix - Actualization
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A02_PS07 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 221
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter Channel Mix - Actualization and select the Cross-
User Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose edit.
14. In the right tree, right click on Execute Planning Sequence Channel Mix - Actualization (/RAP/
MPPC01_02) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
4. Planning Sequence Financial Merchandise Plan - Division - Actualization
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A07_PS11 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter MP - Division - Actualization and select the
Cross-User Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose edit.
14. In the right tree, right click on Execute Planning Sequence Financial Merchandise Plan - Division -
Actualization(/RAP/MPPC01_03) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
5. Planning Sequence Financial Merchandise Plan - Department - Actualization
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A03_PS10 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter MP - Department - Actualization and select the
Cross-User Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
222 PUBLIC Set Up the Applications
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose edit.
14. In the right tree, right click on Execute Planning Sequence Financial Merchandise Plan - Department
- Actualization(/RAP/MPPC01_04) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
6. Planning Sequence Financial Merchandise Plan - Class - Actualization
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A08_PS10 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter MP - Class - Actualization and select the Cross-
User Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose edit.
14. In the right tree, right click on Execute Planning Sequence Financial Merchandise Plan - Class -
Actualization(/RAP/MPPC01_05) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
7. Planning Sequence Financial Merchandise Plan - Subclass - Actualization
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A09_PS13 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter MP - Subclass - Actualization and select the
Cross-User Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose edit.
14. In the right tree, right click on Execute Planning Sequence Financial Merchandise Plan - Subclass -
Actualization(/RAP/MPPC01_06) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
8. Planning Sequence Channel Plan - Store Comp - Actualization
1. Go to transaction RSPLAN
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 223
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A19_PS04 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter CP - Store Comp - Actualization and select the
Cross-User Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose edit.
14. In the right tree, right click on Execute Planning Sequence Channel Plan - Store Comp -
Actualization(/RAP/MPPC01_07) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
9. Planning Sequence Channel Plan - Multi Store - Actualization
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A18_PS05 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
8. Enter a variant name. For description enter CP - Multi Store - Actualization and select the
Cross-User Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose edit.
14. In the right tree, right click on Execute Planning Sequence Channel Plan - Multi Store -
Actualization(/RAP/MPPC01_08) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
10. Planning Sequence Channel Plan - Single Store - Actualization
1. Go to transaction RSPLAN
2. Select the Planning Sequence button.
3. In the planning sequence field, enter /RAP/C11A16_PS08 and choose Edit button.
4. Select the Variables button.
5. Select the Geographical Level 1 Input help and select a value.
6. Select the Save As Button.
7. In the Variables prompt, choose F9 to turn Cross User-variant on.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
224 PUBLIC Set Up the Applications
8. Enter a variant name. For description enter CP - Single Store - Actualization and select the
Cross-User Variant check box.
9. Select the Continue button.
10. Select the Continue button in the variables screen.
11. Go to transaction RSA1.
12. In the navigation panel, select the Modeling button, then Process Chain.
13. In the process chain panel, right click on Merchandise Planning - Actualization and choose edit.
14. In the right tree, right click on Execute Planning Sequence Channel Plan - Single Store -
Actualization(/RAP/MPPC01_09) and choose Maintain Variant.
15. Load the variant created in step h (if not already loaded).
16. Select the Transfer button and save.
Use
SAP Merchandise Planning uses master data, such as product, location, and product hierarchy, that is
replicated from SAP ERP to the DDF module in SAP Customer Activity Repository using the DRFOUT data
replication framework.
Note
Not all of the master data is replicated into DDF using DRFOUT. Some data must be replicated separately
using SLT replication.
Additionally, DRFOut integration and DDF do not support leading zeros in the product IDs.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 225
SAP Merchandise Planning requires that the following master data is replicated from a connected SAP ERP
system using DRFOUT:
Master Data
Master Data
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
226 PUBLIC Set Up the Applications
Sequence Master Data Technical Details For more information, see:
Master Data
Master Data
Prerequisites
Before replicating data from SAP ERP to DDF using DRFOUT, the following prerequisites must be fulfilled:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 227
● You have noted the different terms for the following objects:
Use
If you have accumulated large amounts of historical sales data using SAP POS Data Management or SAP
Customer Activity Repository, it is possible that you are storing these large data sets in a connected SAP BW
system. In such a case, you can perform the initial load of the sales time series (historical POS data) data into
DDF using the BI Interface for Time Series report.
Note
These instructions extract historical sales data from an Infocube in BW. If you are using BW/4HANA,
additional project work will be required to re-implement the BAdI /DMF/BI_IF_READ_BI. For technical
details, see 2764634 .
Procedure
More Information
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
228 PUBLIC Set Up the Applications
6.2.5.3 Initial Load of Goods Movement KPIs
Load goods movement Key Performance Indicators (KPI) for returns, receipts, and open quantity.
Context
The goods movement data is stored in the SLT replicated tables EKPO, EKET, and EKBE in the Customer
Activity Repository. You perform the initial load of this data into Demand Data Foundation (DDF) using the
report /RAP/MPR_ECC_KPI_CALC. When run in initial mode, this report will load 2 years of data from the
current date. Further information is available in the documentation attached to the report.
● You have maintained fiscal year variants using SPRO. Navigate to SAP Customizing Implementation
Guide Cross-Application Components Demand Data Foundation Basic Settings Define Default
Values .
Procedure
3. You have maintained fiscal year variants using SPRO. Navigate to SAP Customizing Implementation
Guide Cross-Application Components Demand Data Foundation Basic Settings Define Default
Values .
4. Execute transaction SE38.
5. Specify /RAP/MPR_ECC_KPI_CALC in the Program field, select radio button Initial and select Execute.
6. Go to report and /RAP/MPR_BOP_KPI table for details, uses, and descriptions.
Next Steps
It is recommended you run this report weekly to update the aggregated KPIs with the ongoing ERP activity
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 229
.
Load replicated data for sales orders and shipments to Demand Data Foundation (DDF) table /DMF_TS_WS.
The sales order and shipment data is stored in the SLT replicated tables LIKP, LIPS, VBAK, VBAP, VBEP, VBPA,
VBKD, KONV, VBFA and MSEG. in the Customer Activity Repository. You perform the initial load of this data into
DDF using the /DMF/WHOLESALE_SO_SHP_TO_TS_WS report. Use transaction SE38 to execute or display
documentation for the report.
Note
We recommend that you schedule a weekly periodic task to replicate inventory data (outbound implementation
PINV) from the SAP ERP system to the system for SAP Merchandise Planning. This replication builds up the
inventory history data that is needed by SAP Merchandise Planning.
Use
Once the initial load of historical sales data is completed or, if you are working on a brand new system
implementation and do not have to perform an initial sales data load, you need to configure the periodic delta
load of sales data in SAP Customer Activity Repository.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
230 PUBLIC Set Up the Applications
Procedure
1. Ensure that you have properly configured the POS Sales Transfer and Audit functionality in SAP Customer
Activity Repository to receive transaction data from your connected POS systems.
For more information, see https://help.sap.com/viewer/p/CARAB <Version> Application Help
SAP Customer Activity Repository POS Data Transfer and Audit .
2. Ensure that you have configured the Supply - DMF-Based Applications outbound tasks to load sales data
from POS Sales Transfer and Audit to DDF.
For more information, see https://help.sap.com/viewer/p/CARAB <Version> Application Help
SAP Customer Activity Repository POS Data Transfer and Audit Task Processing Tasks for Sending
Data to Follow-On Applications .
Recommendation
If you are not storing aggregated sales data in an SAP BW system, and have historical sales data that
you would like to load into DDF from POS Sales Transfer and Audit, you can configure the Supply - DMF-
Based Applications outbound tasks to perform this initial load.
More Information
Once the initial load of historical goods movement KPIs data is completed you should continue to update your
data on a recurring basis. As data is replicated from SAP ERP activity, the values for goods movement KPIs can
only be added to the Demand Data Foundation when you execute the report /RAP/MPR_ECC_KPI_CALC . The
delta load sets the timeframe to start one month (30 days) prior to the current date and one year in the future
from the current date.
To execute the report, log on to your back-end system and execute transaction SE38. Specify /RAP/
MPR_ECC_KPI_CALC in the Program field and use the Execute button. Select radio button Delta and select
Execute. For further information see the documentation attached to the report by selecting Documentation,
Display on the ABAP Editor: Initial Screen.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 231
6.2.5.8 Delta Load of Sales Orders and Shipments
Load replicated data for ongoing sales orders and shipments to Demand Data Foundation (DDF) table /
DMF_TS_WS
The sales order and shipment data is stored in the SLT replicated tables LIKP, LIPS, VBAK, VBAP, VBEP, VBPA,
VBKD, KONV, VBFA and MSEG. in the Customer Activity Repository. You perform the delta load of this data into
DDF using the /DMF/WHOLESALE_SO_SHP_TO_TS_WS report. Use transaction SE38 to execute or display
documentation for the report.
Note
Use
Verify that all SAP ERP or SAP S/4HANA tables that are relevant for SAP Merchandise Planning KPIs have not
only been created but have also been filled with data.
Note
You have already replicated all of the relevant tables in a prior step, Create/Replicate Source Master Data
System Tables [page 81].
In particular, SAP Merchandise Planning requires that the following master data table are replicated in order to
calculate KPIs:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
232 PUBLIC Set Up the Applications
Master Data SAP ERP Table
SAP Merchandise Planning supports market hierarchies, a logical structuring of selling locations (stores,
wholesale customers, digital customers) that align with your goals for planning.
The market hierarchy allows you to group locations by markets or across multiple sales organizations. In
addition, your Area of Responsibility (AOR) must be aligned with your market hierarchy before using the
planning applications. Do the following steps to create a market hierarchy:
1. Log in to the application server using SAP GUI and execute transaction code NWBC.
2. Select the Services menu.
3. In the left navigation menu select Location Services Location Hierarchy .
In the POWL menu on the right, select the Create button, then Market Hierarchy in the dropdown.
4. Enter the location hierarchy name, description and the master data system for your new hierarchy.
5. Select the Editor tab. Enter or search for the locations that you want to add to your market hierarchy.
6. Add the locations to your market hierarchy by selecting the row or rows and selecting the move arrow.
Note
The same location ID cannot be used more than once in a market hierarchy. For example location ID
ABC can exist as multiple location types. It can exist as a distribution chain (DC) type, a store type, and
a customer type. You may not have the type of DC and store in the same hierarchy
More Information
For more information regarding location and market hierarchies, see Maintain Location Hierarchies located at
https://help.sap.com/viewer/p/CARAB <version> Application Help SAP Customer Activity Repository
applications bundle Demand Data Foundation General Services Maintenance Services
For more information about AOR see Maintain Area of Responsibility located at https://help.sap.com/viewer/p/
CARAB <version> Application Help SAP Customer Activity Repository applications bundle Demand
Data Foundation General Services .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 233
6.2.7 Specify Analysis Workbook Settings
Use
In this procedure, you enable your SAP Analysis for Microsoft Office workbooks to use macros.
Procedure
1. Open the SAP Analysis for Microsoft Office from Start All Programs SAP Business Intelligence
Analysis for Microsoft Excel .
2. Choose File Options Customize Ribbon .
3. Under Customize the Ribbon, select Main Tabs.
4. Enable the entry Developer and confirm by choosing OK.
5. Now you will see the new Developer tab in your SAP Analysis for Microsoft Office.
6. Select the Developer Tab and choose Macro Security.
7. Choose Enable all macros.
Use
You use SAP Analysis for Microsoft Office to launch the planning workbooks.
Procedure
If you are unable to see the Analysis , MP Selection, and MP Info options on the menu of Analysis for Microsoft
Excel, perform the following steps in the Options, Add-Ins of the Excel options:
Now you are able to view the Analysis , MP Selection and MP Info options.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
234 PUBLIC Set Up the Applications
6.3 SAP Assortment Planning
Note
Some of the activities in this section may have already been performed in the corresponding section under
SAP Customer Activity Repository. Such activities do not need to be repeated during the setup and
installation of consuming applications.
The following diagram depicts the main steps of the post-installation process for SAP Assortment Planning and
contains links to the descriptions of these steps. There are two further steps in the back-end system following
Configure Assortment Planning [page 236]:
● Perform Core Steps for SAP Customer Activity Repository [page 183]
● Configure Assortment Planning [page 236]
● Activate Planning Framework Content (SAP Assortment Planning) [page 242]
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 235
● Configure Data Replication [page 251]
● Run the Validation Report [page 251]
● Perform General SAP Gateway Configuration [page 95]
● Configure SAP Fiori Launchpad [page 102]
● Activate OData Services [page 97]
● Activate SAP Assortment Planning ICF Services [page 253]
● Define System Alias for Back-End Transactions [page 254]
● Assign Roles, Catalogs, and Groups in SAP Fiori Launchpad [page 256]
● Configure Index Calculation [page 253]
To set up this application, you must first perform the Core (Mandatory) steps for SAP Customer Activity
Repository. The core steps are mandatory for all the consuming applications.
Procedure
Perform all steps listed under Core (Mandatory for All Applications) [page 73].
Use
To use SAP Assortment Planning, you must define several application-specific settings in Customizing.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
236 PUBLIC Set Up the Applications
3. Define the required number ranges.
You must set all of the number ranges under SAP Customizing Implementation Guide Cross-
Application Components Assortment Planning Number Range .
4. Define the business week (using transaction SPRO) under Cross-Application Components Demand
Data Foundation Basic Settings Define Business Week .
5. Verify the default implementations of BAdIs under SAP Customizing Implementation Guide Cross-
Application Components Assortment Planning Enhancements Using Business Add-Ins , and if
necessary, provide custom implementations.
Note
We recommend that you activate BAdI implementations that enable the use of the Omnichannel SAP
BW Structure. For more information, see Activate Planning Framework Content (SAP Assortment
Planning) [page 242].
6. To use forecasted values in the Sales & Inventory Analysis view within the My Assortment Lists app,
configure Unified Demand Forecast (UDF). For more information, see the SAP Customer Activity Repository
Administration Guide, section Configure Unified Demand Forecast (UDF).
Related Information
Configuration Information
Use
In this procedure you maintain the required fiscal year variant ( 0FISCVARNT 'RW'). SAP Assortment Planning
uses time objects 0FISCPER (fiscal year period) and 0FISCVARNT (fiscal year variant), provided as part of the
technical BI Content, and activated in the Activate Technical Content [page 242] procedure.
Caution
You must maintain fiscal year variants for a period far enough into the past and into the future to cover the
full range required for your planning activities. For example, two years into the past and five years into the
future.
The steps provided in this procedure allow you to maintain 0FISCVARNT 'RW' using the standard 4-5-4
calendar entries. If you are using alternative fiscal periods in your retail business, for example, each week
starting on a Sunday instead of Saturday, you can provide your own entries instead of the ones suggested in
this guide.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 237
Procedure
1 3 48 -1
1 10 49 -1
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
238 PUBLIC Set Up the Applications
Month Day Period Year Shift
1 17 50 -1
1 24 51 -1
1 31 52 -1
2 7 1 0
2 14 2 0
16. Repeat steps 7-15 to maintain the weekly fiscal year variant for all of the required years, entering each year
as shortened fiscal year. The corresponding tables are available in SAP Note 2112634 .
17. Choose Save.
18. Launch transaction RSRHIERARCHYVIRT and ensure that the dates specified in the From and To fields
under Time Interval cover the years maintained for the fiscal year variant in the previous steps.
Context
In this section, you maintain the required fiscal year variant values for the fiscal month, 'RM'. This is especially
required for using the Sales & Inventory Analysis view in the My Assortment Lists app.
Caution
You must maintain fiscal year variants for a period far enough into the past and into the future to cover the
full range required for your planning activities. For example, two years into the past and five years into the
future.
If you are using alternative fiscal periods in your retail business, you can provide your own entries instead of the
ones suggested in this guide.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 239
4. On the New Entries: Overview of Added Entries screen make the following sets of entries:
FV RM
Year-dependent Select
5. Choose Enter.
6. Choose Back.
To get the information to enter in the next step, open SAP Note 2112634 .
7. Mark the entry RM and select Periods from the Dialog Structure and double click to open the Calendar year
dialog.
8. Enter the year (for example, 2015) in the Calendar yr field and choose Continue.
9. On the Change View "Periods": Overview screen, choose New Entries.
10. In the Periods table, enter the data (month, day, period, year shift) for each period according to your fiscal
calendar. For an example, see the following table.
1 31 12 -1
2 28 1 0
3 28 2 0
5 2 3 0
5 30 4 0
6 27 5 0
8 1 6 0
8 29 7 0
9 26 8 0
10 31 9 0
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
240 PUBLIC Set Up the Applications
Month Day Period Year Shift
11 28 10 0
12 26 11 0
12 31 12 0
11. Enter the last valid calendar date of the period being added in the Month and Day fields.
12. Enter the relevant Period number.
13. In the Year Shift field, enter +1 if the fiscal year is later than the calendar year enter. Enter -1 if the fiscal year
is before the calendar year.
14. Press Enter to accept the first row.
15. Continue adding each period to complete the fiscal year. Choose Save after you have finished the entries
for a year.
16. Continue adding the fiscal year variants for each year required by your scenario by repeating steps 3 to 15.
17. Choose Save after you have finished the maintenance for the last year.
In this procedure, you generate time data (Fiscal calendar) required for SAP Assortment Planning.
Use
Execute this procedure to generate time data (Fiscal calendar). This is especially required for using the Sales &
Inventory Analysis view in the My Assortment Lists app.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 241
7. Choose Generate.
In a new installation, only the Omnichannel SAP BW structure is supported in SAP Assortment Planning. The
Retail SAP BW Structure is supported in an existing installation with maintenance, however no new
functionality will be developed for this structure.
Prerequisite
To use the Omnichannel SAP BW structure, the following prerequisites must be met:
The Omnichannel SAP BW structure consists of local BI Content only. To create workbooks on top of the
Omnichannel SAP BW structure, contact SAP Digital Business Services for a custom implementation project.
Use
The first time you enter the Data Warehousing Workbench, the system runs a background job to activate
technical content. Technical content consists of technical information that is generated by the system, for
example, data required for the general operation of BI Content, or time data.
Procedure
1. On your back-end system, open the Data Warehousing Workbench (transaction RSA1).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
242 PUBLIC Set Up the Applications
2. If prompted, in the Replicate Metadata dialog box, choose Only Activate.
3. If a message appears that you are only authorized to work in client ... (Brain 009), then refer to SAP Note
316923 (do not import the support package, but use the description under section Workaround).
4. Select Do not show this question Again in the dialog that appears.
5. Choose Yes.
Make sure that the current job has finished before you proceed with the next step. Check the status of the
background job using transaction SM37or SLG1. If there are problems, you must first solve them.
Note
If you get the short dump "RAISE_EXCEPTION" when installing InfoObjects from the BI content, see
SAP Note 1637935 for a possible solution.
Also, see SAP Notes 2090845 and 2056106 for important information on technical content
activation.
Following activation, you can locate the technical content in the Data Warehousing Workbench as follows:
1. Selecting Modeling in the left-hand frame.
2. Expand InfoObjects.
3. In the right-hand frame, locate Technical Content.
6. You can use transaction RSTCO_ADMIN to restart the activation of the technical content and to verify the
status of the activation.
Use
To be able to use the SAP Analysis for Microsoft Office workbooks built on top of the SAP Assortment Planning
planning framework content, you must enable the optimized in-memory planning capabilities of the integrated
planning engine in SAP Business Warehouse (SAP BW Integrated Planning). This includes the enabling of the
Planning Application Kit (PAK).
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 243
6.3.6.3 Activate Application BI Content (Omnichannel SAP
BW Structure)
Context
In this procedure, you perform a sequential, step-by-step activation of the local BI Content objects delivered in
the Omnichannel SAP BW structure of the SAP Assortment Planning application. SAP Assortment Planning
uses this application BI Content to consume data stored in the back-end system
Note
To ensure correct activation of the BI Content objects, carry out the activation sequentially, as specified in
the following procedures. Resolve any activation warnings, except for the ones listed under Result [page
251], which can be ignored.
Also, do not disable the default BI setting to collect and activate all dependencies. The instructions below
activate a minimum subset of objects, and it assumed that all their dependencies are collected and
activated.
The consumed data from the back-end system can be created by the SAP Assortment Planning application, or
be replicated from a source master data system. In both cases, beware of limitations with regard to the
characters allowed by SAP BW. For more information, see:
● SAP Assortment Planning Administration Guide under Initial Load of Data to DDF Using DRFOUT
● 173241
● Customizing activity Maintain permitted extra characters under SAP NetWeaver Business Warehouse
General Settings .
Procedure
1. On your back-end SAP Assortment Planning system, open the Data Warehousing Workbench (transaction
RSA1).
2. Verify transport connections.
1. Select Transport Connection in the left-hand frame.
2. Select Object Types.
3. Expand Source System.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
244 PUBLIC Set Up the Applications
Selecting Source Systems
4. Use Select Objects to ensure that the back-end system is selected as the source system.
5. Choose Transfer Selections.
6. At the top of the right-hand frame, above the list of Collected objects, choose Grouping and select Only
Necessary Objects.
7. At the top of the right-hand frame, choose Collection Mode and select Collect Automatically.
New Installation Do not enable the Match (X) or copy option for any of the BI Content objects.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 245
Installation Type Selection
Upgrade Standard /RAP/* BI Content ob Standard /RAP/* BI Content objects have been
jects have not been modified in modified in your local environment1
(Previously installed/
your local environment1
activated any of
the /RAP/* BI Content) Do not enable the Match (X) or copy Enable the Match (X) or copy option.
option for any of the BI Content ob
During the activation of each BI Content object type,
jects.
you will be asked to carry out an additional Transfer
selections step. In this step, select to install the
Active Version (that is, your modified version) or the
Content Version (that is, the SAP delivered, and pos
sibly updated version of the object). The project im
plementation team should advise you on which op
tion is required for each object.
Caution
When you choose to install the Content Version,
the SAP delivered objects included in the current
release will be installed regardless of any modifi-
cations made to the currently existing BI Con
tent objects.
1 As a system administrator, you may need to contact the SAP Assortment Planning project implementation team to
learn if standard, SAP-delivered, BI Content objects have been modified in your local environment.
If at any point during the installation of BI Content objects you are presented with a dialog asking you to
add objects to a personal list, we recommend that you select No.
Remember
You can ignore activation warnings listed under Result [page 251].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
246 PUBLIC Set Up the Applications
3. Use Select Objects to select the /RAP/CHAR_CAT and the /RAP/KYF_CAT catalogs.
4. Choose Transfer Selections.
5. In the right-hand frame, in the list of Collected objects, verify that both InfoObject catalogs are listed.
6. Right-click on each of the InfoObject catalogs, and choose Install all Bellow.
7. Choose Install.
If an information dialog box appears, choose Continue. Choose Local Object or enter a package if you
need to transport the objects.
5. Activate Variables.
Remember
You can ignore activation warnings listed under Result [page 251].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 247
4. Choose Transfer Selections.
5. In the right-hand frame, in the list of Collected objects, verify that all of the selected variables are listed
and that the option in the Install column is enabled .
6. Choose Install.
If an information dialog box appears, choose Continue. Choose Local Object or enter a package if you
need to transport the objects.
6. Maintain version master data.
Note
If during the installation, you are presented with a message stating that your source system is not active,
navigate to the Modeling tab, locate your source system under Source Systems, and activate it by right-
clicking and selecting Activate. If prompted, choose Only Activate .
Remember
You can ignore activation warnings listed under Result [page 251].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
248 PUBLIC Set Up the Applications
Remember
You can ignore activation warnings listed under Result [page 251].
Remember
You can ignore activation warnings listed under Result [page 251].
Aggregation Levels
Aggregation Levels
/RAP/C44A01
/RAP/C44A02
/RAP/C44A03
/RAP/C44A04
/RAP/C46A02
Remember
You can ignore activation warnings listed under Result [page 251].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 249
2. Select Object Types and expand Planning Planning Sequence .
3. Use Select Objects to select the following Planning Sequences:
Planning Sequences
Planning Sequences
/RAP/D50A01_PS01
/RAP/D57A01_PS01
/RAP/C40A01_PS01
/RAP/C40A05_PS01
/RAP/C46A01_PS01
/RAP/C46A03_PS01
/RAP/C46A04_PS01
/RAP/C46A04_PS02
Remember
You can ignore activation warnings listed under Result [page 251].
Planning Functions
Planning Functions
/RAP/OP_BUFFER_DATA
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
250 PUBLIC Set Up the Applications
Results
If activation warnings similar to the ones displayed below appear, you can ignore them.
SAP Assortment Planning uses master data, sales history data, inventory data, and merchandise planning data
originating from connected systems, such as SAP Retail (SAP ERP) or SAP BW.
For more information, see SAP Assortment Planning Administration Guide under Configure Data Replication.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 251
Running this report allows you to verify the success of the installation, providing a log of potential issues.
For example, you may be presented with the following results:
View the long text associated with each message to see the link to the documentation describing the
procedure you have to troubleshoot.
Related Information
For information about the configuration and activation of SAP Gateway as well as the activation of all the
common OData services for SAP Fiori, see Configure SAP Gateway [page 95].
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
252 PUBLIC Set Up the Applications
6.3.9.2 Configure Index Calculation
We recommend that you schedule the Calculation of SAPUI5 Application Index for SAPUI5 Repositories report
(/UI5/APP_INDEX_CALCULATE) to run as a background job on your front-end server.
This is one of the mandatory tasks under SAP Customer Activity Repository Core (Mandatory for All
Applications) that you have most likely performed already. If not, see Calculate SAPUI5 Application Index for
SAP Fiori Apps [page 103].
Use
For security reasons, all Internet Communication Framework (ICF) services relevant to your SAP Assortment
Planning application are made available in an inactive state.
You have activated the central ICF services as described in Perform General SAP Gateway Configuration [page
95] and Configure SAP Fiori Launchpad [page 102]. This procedure provides the instructions to activate ICF
services required for the SAP Assortment Planning SAP Fiori apps.
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 253
6.3.9.4 Define System Alias for Back-End Transactions
Use
A number of SAP Fiori apps, installed on your front-end system, launch transactions directly on the back-end
system. For example, the Manage Products tile actually launches the Demand Data Foundation (DDF)
POWL_EASY WebDynpro application.
To enable this behavior, you need to create a dedicated RFC connection between the front-end system and the
back-end system.
Procedure
1. Log on to your front-end system, that is, the system where you have installed the user interface (UI)
components of your application.
2. Launch Configuration of RFC Connections (transaction SM59).
3. Create an RFC connection with the following settings:
○ RFC Destination: SAP_ISR_CARAB
Connection Type: H (HTTP connection)
Ensure to maintain all of the settings required to connect to your back-end system, in particular, the Target
Host entry on the Technical Settings tab.
4. Save your changes.
5. Create another RFC connection with the following settings:
○ RFC Destination: SAP_ERP_ISR_CARAB
Connection Type: H (HTTP connection)
Ensure to maintain all of the settings required to connect your front-end system to the source master data
system, in particular, the Target Host entry on the Technical Settings tab.
6. Save your changes.
7. Open Launchpad Customizing (transaction LPD_CUST).
8. Select the SAP Assortment Planning role ( UIRAP001), and choose Display.
The two catalogs, Assortment Planner and Planning Administrator, are displayed.
9. In each of the catalogs, selecting one app at a time, make the following settings:
Assortment View Log SAP_ISR_CARAB This setting allows the My Assortment Lists app to
Planner launch transaction SLG1 on the back-end system.
Note
This application is only used to configure a link to
the back-end system, you do not need to add this
app to your SAP Fiori launchpad.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
254 PUBLIC Set Up the Applications
Catalog App System Alias Description
View ExtAssort SAP_ERP_ISR_CAR This setting allows the My Assortment Lists app to
Listing Conditions AB launch transaction WSL10 on the connected SAP Retail
or SAP S/4HANA system.
Note
This application is only used to configure a link to
the SAP Retail or SAP S/4HANA system, you do not
need to add this app to your SAP Fiori launchpad.
View External SAP_ERP_ISR_CAR This setting allows the My Assortment Lists app to
Assortments AB launch:
Note
This application is only used to configure a link to
the SAP Retail or SAP S/4HANA system, you do not
need to add this app to your SAP Fiori launchpad.
Planning Manage Category SAP_ISR_CARAB This setting allows the Manage Category Responsibilities
Administrator responsibilities app to launch the corresponding DDF WebDynpro appli
cation.
Manage Market SAP_ISR_CARAB This setting allows the Manage Market Responsibilities
responsibilities app to launch the corresponding DDF WebDynpro appli
cation.
Manage Products SAP_ISR_CARAB This setting allows the Manage Products app to launch
the corresponding DDF WebDynpro application.
Manage Locations SAP_ISR_CARAB This setting allows the Manage Locations app to launch
the corresponding DDF WebDynpro application.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 255
6.3.9.5 Assign Roles, Catalogs, and Groups in SAP Fiori
Launchpad
Use
To be able to access SAP Fiori apps that constitute the SAP Assortment Planning user interface from the SAP
Fiori launchpad, your front-end system user must have the necessary roles assigned. Based on the role(s)
assigned to your user, you can access certain business catalogs and business catalog groups.
Your SAP Assortment Planning application is delivered with two predefined roles, catalogs, and groups. These
include technical content as well as business content:
Technical
Business Role Business Catalog Business Catalog Group Technical Role Catalog
To test the installation of SAP Assortment Planning from the SAP Fiori launchpad, you need to assign the roles
above to your user on the front-end system.
Procedure
Caution
If you already have an SAP Fiori launchpad open, you must clear your browser cache to apply any
modifications made to your user roles. Otherwise, your changes will not be reflected in the SAP Fiori
user interface.
More Information
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
256 PUBLIC Set Up the Applications
6.3.10 Additional Information for Retail SAP BW Structure
The Retail SAP BW Structure of SAP Assortment Planning is delivered with some SAP Analysis for Microsoft
Office workbooks. These are template workbooks that you can adapt to use in your retail business. However,
you should not use the Retail SAP BW Structure in a new installation but the Omnichannel SAP BW Structure.
For an example of how to create customized versions of the workbooks, see Workbook Design Example [page
260].
Use
In this procedure, you enable your SAP Analysis for Microsoft Office workbooks to use macros.
Procedure
1. Open SAP Analysis for Microsoft Office from Start All Programs SAP Business Intelligence SAP
BusinessObjects Analysis Analysis for Microsoft Excel .
2. Choose File Options Customize Ribbon .
3. Under Customize the Ribbon, select Main Tabs.
4. Enable the entry Developer and confirm by choosing OK.
5. Now you will see the new Developer tab in your SAP Analysis for Microsoft Office.
6. Select the Developer Tab and choose Macro Security.
7. Choose Enable all macros.
Use
In this procedure, you can set the desired language of the following user interface objects that are specific to
the workbooks of SAP Assortment Planning:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 257
● Message texts
● Buttons.
● The language of the standard menus and standard ribbons depends on the language set for Microsoft
Excel.
● The language of the contents in the cells (mainly KPIs) depends on the user-selected system language of
the back-end system.
● The language of the user interface objects that are specific to the workbooks of SAP Assortment Planning,
is not set by the selected system language of the back-end system, but you can change it for each
workbook according to the following procedure. The default language is English.
Procedure
Note
To allow for correct interpretation of the texts by screen readers, make sure that the language for all parts
of the workbooks is set to the same desired one. Set the language as described in this section.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
258 PUBLIC Set Up the Applications
6.3.10.1.3 Set ResultSetSizeLimit Registry Setting
Use
By default, SAP Analysis for Microsoft Office workbooks are set to display 500,000 cells. This setting might not
be sufficient for the productive use of SAP Assortment Planning. For example, if you have more than 300
products in your assortment plan, you might encounter the following error message:
To resolve this issue, you need to increase the default setting of the ResultSetSizeLimit registry setting.
Procedure
Note
As the administrator overseeing the installation of SAP Assortment Planning, you need to carry out the
steps listed in this procedure on the workstation of each SAP Assortment Planning user.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 259
6.3.10.2 Workbook Design Example
Use
In this procedure, you walk through an example of creating an SAP Analysis for Microsoft Office workbook. You
can use steps of this procedure to create customized versions of the SAP-delivered assortment planning
workbooks.
Prerequisites
Procedure
1. Open SAP Analysis for Microsoft Office from Start All Programs SAP Business Intelligence SAP
BusinessObjects Analysis Analysis for Microsoft Excel .
2. Select the cell in the worksheet where the crosstab with the data from the selected data source should be
inserted.
3. From the menu, choose Analysis Insert Select Data Source .
4. Choose Skip on the popup window Logon to SAP BusinessObjects BI Platform.
5. In the Select Data Source dialog box, select the source system, then choose Next.
6. In the Logon to system <Your System Name> dialog box, enter your logon data, then choose OK.
7. In the Select Data Source dialog box, choose tab Search.
8. In the Search tab, you can search for the description or technical name of a data source, that is, the name
of the BI query that will provide the data for your workbook.
For example, search for /RAP/M01A01_IRQ02 or /RAP/M01A01_IRQ01. In general, you can search for /
RAP* to find any SAP Assortment Planning query.
9. Select the required data source, and then choose OK.
10. On the Prompts screen, make the relevant entries base on the selected query in the Specify Value for
Prompts area.
11. Choose OK, and then you will see the table is inserted in the sheet. You can now analyze the data and
change the displayed data set according to your needs. You can also add other components to your
analysis, for example charts.
12. Choose menu Analysis Display to open the design panel.
13. Choose the Components tab in the bottom right corner, and right-click Book1 and choose Use Planning
Sequence.
14. In the Search For field of the Open Planning Sequence dialog box enter your planning sequence and choose
Search.
15. Select the required planning sequence, and then choose OK. The planning sequence will be displayed
under Book1 Planning Objects in the design panel.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
260 PUBLIC Set Up the Applications
16. Select the cell in the worksheet where a button should be inserted.
17. From the menu, choose Developer Insert Button (Form Control) , and insert the button using drag
and drop.
18. In the Assign Macro dialog box, choose New.
19. In the VB edit, maintain the relevant code in the Sub ButtonX_Click area.
20.Choose Close.
21. Right-click the button, and choose Edit Text. Replace the button name with a meaningful name.
22. Position your cursor where the condition will be defined, and make the relevant entries.
23. Select the sheet and position the cursor where the variable list will be inserted, for example cell H1 in
sheet1.
24. Choose menu Analysis Info Field Variables , and the variables will be inserted into the relevant
sheet.
25. Maintain the relevant entries in the sheet.
26. Choose your Planning Sequence in the design panel.
27. In the section of Variables of Planning Sequence, make the relevant entries.
28. Choose Save Button.
29. Provide a file name and save the workbook as type Excel Macro-Enabled Workbook (*.xlsm).
30.Choose Save.
Result
For full use of the SAP Promotion Management application, you must have a license for use of SAP Promotion
Management.
Note
To use the FIORI-based user interface, implement the /DMF/IMPL_FIORI_PMR_SW BAdI from Customizing
Cross-Application Components Demand Data Foundation Data Maintenance Offer Implementation: Fiori
Offers Switch .
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 261
6.4.1 Perform Core Steps for SAP Customer Activity
Repository
To set up this application, you must first perform the Core (Mandatory) steps for SAP Customer Activity
Repository. The core steps are mandatory for all the consuming applications.
Procedure
Perform all steps listed under Core (Mandatory for All Applications) [page 73].
For security reasons, all Internet Communication Framework (ICF) services relevant to your SAP Promotion
Management application are made available in an inactive state. In this procedure, you activate an ICF service
required for the SAP Manage Promotional Offers Fiori app.
1. Perform Core Steps for SAP Customer Activity Repository [page 183]
2. Activate SAP Allocation Management SAP HANA Content [page 263]
3. Check Procedure Associated with Function GENIOS_SOLVE Is Active [page 267]
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
262 PUBLIC Set Up the Applications
4. Preselect Product Data [page 268]
5. Configure SAP Allocation Management [page 268]
6. Configure Data Replication [page 269]
7. Configure Front End [page 272]
To set up this application, you must first perform the Core (Mandatory) steps for SAP Customer Activity
Repository. The core steps are mandatory for all the consuming applications.
Procedure
Perform all steps listed under Core (Mandatory for All Applications) [page 73].
Once all previous steps are successfully completed, you can activate SAP Allocation Management SAP HANA
content.
Prerequisites
Before you can start to activate the SAP Allocation Management SAP HANA content, perform these activities:
● Ensure that you have at least one of the SAP_ECC or SAP_S4H schemas in the SAP HANA database. Based
on your source system for all SAP ERP data, you have either a SAP_ECC schema or a SAP_S4H schema
(either physical schemas with these names, or at least authoring schemas). If you have both these
systems, you must have two schemas.
● Ensure that all tables listed for SLT replication are available in the relevant schemas. The spreadsheet with
tables that are relevant for replication and for SAP HANA content activation is available on SAP Help Portal
at https://help.sap.com/viewer/p/CARAB. Select the desired version at the top right and download the SLT
Tables for SAP Customer Activity Repository applications bundle archive from under Installation and
Upgrade and extract the spreadsheet.
Ensure that you have successfully set up the SLT tables in the schemas.
● Ensure that you have implemented the following SAP Notes: 2850296 (Support for S/4H 1909 source
system in report /DMF/CREATE_SLT_TABLES and 2850366 (HANA Content helper report (Dummy
tables)).
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 263
SAP HANA Content Activation Steps
Note
If the SAP Customer Activity Repository and DDF SAP HANA content is already active, you can skip this
step.
SAP Allocation Management depends on active SAP HANA content for SAP Customer Activity Repository
and DDF. Therefore, it is recommended that you first activate the SAP Customer Activity Repository and
DDF SAP HANA content.
Run the program Activate SAP HANA Content for SAP CARAB (/CAR/ACTIVATE_HTA) and select the ECC
Mode relevant to your installation. Under Business Scenario Activation, select the Customer Activity
Repository and Demand Data Foundation options.
Execute the activation report. As a result, you have successfully activated and deployed the SAP HANA
content for SAP Customer Activity Repository and DDF.
Caution
Do not select Allocation Management within this activation run for a simultaneous activation of SAP
Allocation Management SAP HANA content as simultaneous activation leads to activation problems.
Note
The running of the report requires a database user in the ABAP system with the authorization to create
the dummy schema. Check the application log for the report if there were errors.
In your back-end system, start transaction SE38 and execute the following two reports, in the sequence
they are listed:
○ /DMF/CREATE_SLT_TABLES (Create SLT Tables)
1. Select your source system. For S/4HANA, enter the release.
2. Enter the physical source and dummy schema names. For the Physical Source Schema, enter the
physical schema name into which your SLT tables are replicating. For the Physical Dummy Schema,
enter the name for the schema to be created. If the physical source schema already exists in the SAP
HANA database, then only the dummy tables in this schema are created when you execute the report.
3. Select the simulation mode for a test run. After the simulation run, you can check for errors in the
application log.
○ /AMR/CREATE_DYNAMIC_SLT_TABLES (Create SLT Tables Dynamically)
1. Select your source system. For S/4HANA, enter the release.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
264 PUBLIC Set Up the Applications
2. Enter the physical source and dummy schema names. For the Physical Source Schema, enter the
physical schema name into which your SLT tables are replicating. For the Physical Dummy Schema,
enter the name for the schema to be created. If the physical source schema already exists in the SAP
HANA database, then only the dummy tables in this schema are created when you execute the report.
3. Select the simulation mode for a test run. After the simulation run, you can check for errors in the
application log.
4. Set Prework Done for SAP Allocation Management packages.
A precondition for SAP HANA Transport for ABAP (HTA) activation is that the PREWORK_DONE indicator is
set for all packages with activation mode P – prework needed. You can check this setting in the table
CTS_HOT_PACKAGE in field HOT_ACTIVATION_MODE.
You can set the PREWORK_DONE indicator for all packages relevant for SAP Allocation Management
manually or by implementing an SAP Note. To make the setting manually, follow the additional steps listed
in this step. Alternatively, implement SAP Note 2861929 (Setting the PREWORK_DONE flag in table
CTS_HOT_PREWORK for AMR HANA Content packages) instead of setting the indicator manually.
The manual steps are as follows:
1. Run the program Activate SAP HANA Content for SAP CARAB (/CAR/ACTIVATE_HTA) with the
following settings:
○ Select the relevant setting under ECC Mode.
○ Under Business Scenario Activation, select the Allocation Management option.
○ Under Processing Control, select Perform Prerequisite Check.
2. Call transaction SE16 (Data Browser) and display the content of table CTS_HOT_PACKAGE.
Search for package names sap.is.retail.rap.amr* in the field HANA_PACKAGE_ID. Please note,
that the package names are case-sensitive.
You should find 163 entries that match the search criterion. Copy the package names from the result
list of your search.
3. Display the selection screen of table CTS_HOT_PREWORK. Enter the HANA_PACKAGE_ID for all
packages from the result list of your search in table CTS_HOT_PACKAGE.
4. Set the PREWORK_DONE indicator to X for all packages in the CTS_HOT_PREWORK table. The indicator
shows that the SAP HANA content in all packages relevant for SAP Allocation Management is ready for
deployment.
5. Grant Authorization
The two SLT table creation reports use the database user maintained in the ABAP system to create the
dummy schemas. The _SYS_REPO user needs the exact same authorizations on the newly created dummy
schema that this user already has on the physical source schema. In addition, to display the schema in the
navigator, a SELECT authorization on the schema (with GRANT option) must be provided to the database
user for the content activation.
Note
This step must be performed by the SAP HANA database administrator who has the authorization for
these activities.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 265
Maintain a schema mapping in your SAP HANA database, where your customer-specific names are used
as authoring schemas for the physical schema.
7. Activate relevant inactive SAP HANA content for DDF.
Based on your scenario, there can be inactive packages in DDF, even though you have activated the content
earlier via the report /CAR/ACTIVATE_HTA (Activate SAP HANA Content for SAP CARAB).
For the following packages in DDF, perform these actions:
○ In the table CTS_HOT_PREWORK, set the PREWORK_DONE indicator to X for these packages.
○ Call up transaction SCTS_HTA_DEPLOY (SAP HANA Transport for ABAP - Deployment) to check and to
deploy (if not already deployed) these packages, in strictly the sequence they are listed. Do not select
the option to Include subpackages:
○ sap.is.ddf.ecc
○ sap.is.ddf.fms
○ sap.is.ddf.fms_s4h
○ sap.is.ddf.cross.ecc
○ sap.is.ddf.cross.fms
○ sap.is.ddf.cross.fms_s4h
○ sap.is.ddf.cross
Note
If your SAP ERP Retail release has tables that do not contain any FMS fields, some views might not be
activated successfully in the fms and fms_s4h packages. You can continue with further activation
steps nevertheless.
8. Once you have successfully deployed all content as described in the previous steps, call up transaction SAP
HANA Transport for ABAP - Deployment (SCTS_HTA_DEPLOY). To deploy the SAP Allocation Management
packages, enter package name sap.is.retail.rap.amr* and choose Execute.
Note
With this step, the SAP Allocation Management SAP HANA content is finally deployed. It is the last and
most critical activation step.
If content activation errors occur, check for missing views in the database. For more information, see
Troubleshooting: Missing Views in Database [page 267].
Related Information
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
266 PUBLIC Set Up the Applications
6.5.2.1 Troubleshooting: Missing Views in Database
After the SAP HANA content activation, you can check for missing views in transaction DB02.
Check if SAP Allocation Management views are highlighted as objects missing in the database. There could be
some missing objects, despite having received success messages from the previous step of activating SAP
Allocation Management SAP HANA content.
For SAP Allocation Management, confirm that the procedure associated with function GENIOS_SOLVE is active
in the _SYS_AFL catalog.
Prerequisites
You have configured the AFL usage and confirmed that the OFL algorithm was installed successfully as
described in section Check the OFL Installation [page 48].
Context
Procedure
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 267
6.5.4 Preselect Product Data
To make product data available in SAP Allocation Management applications, this data must be preselected.
To do this, you must run the report /AMR/PRECALCULATE_PRODUCT (Precalculation of Products) as part of
system set-up. The report requires no additional data selection and can be executed either directly or as a
scheduled job in the background, depending on the volume of product master data in the system.
Note
You must run this report only once. Any other changes in the data are handled by the general preselection
report (/AMR/PRECALCULATION - Execute Preselection).
To use SAP Allocation Management, you must define several application-specific settings in Customizing.
General Settings
Define the settings under SAP Implementation Guide Cross-Application Components Allocation
Management .
Both scenarios require additional installation steps, which are described in sections SAP Assortment Planning
[page 235] and Complete UDF Setup [page 112] of this guide.
Allocation information from allocation plans can be transferred to follow-on systems to create the
corresponding allocation tables. You set up the transfer of allocation plans with the implementation of SAP
Notes in the follow-on systems. For more information, see Implement SAP Notes for the Installation [page 26].
Activation of Notifications
As part of the promotional push business scenario, you can enable the creation of push notifications for users.
These notifications inform responsible users about important changes that affect existing allocation plans, for
example, the deletion of an offer or product or a change in the offer validity period.
To activate these notifications in your SAP Customer Activity Repository system, proceed as follows:
1. Under SAP Implementation Guide SAP NetWeaver Notification Channel Notification Channel
Provider Enablement Administration Notification Provider Settings , access the Register Notification
Providers Customizing activity.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
268 PUBLIC Set Up the Applications
2. In this activity, make sure that the following information is available:
○ Provider ID: /AMR/NOTIF_PROMO_PUSH
○ Provider class: /AMR/CL_NOTIF_PROVIDER
3. Then activate this provider in the Manage Notification Providers activity in the Notification Provider Settings
group that you accessed in Step 1.
SAP Allocation Management uses master data such as product, store, and product hierarchy that is imported
to the Demand Data Foundation (DDF) and Unified Demand Forecast (UDF) modules using the data replication
framework (DRF, transaction DRFOUT).
Note
Not all of the master data is replicated using the data replication framework. Some data must be replicated
separately using SAP Landscape Transformation Replication Server (SLT).
For detailed information about the SLT replication procedure, see Create/Replicate Source Master Data
System Tables [page 81].
SAP Allocation Management uses master data, such as product, location, and product hierarchy, that is
replicated from SAP Retail or SAP S/4HANA to DDF using DRFOUT.
Procedure
SAP Allocation Management specifically requires that the following data is replicated sequentially from a
connected SAP ERP system using DRFOUT:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 269
Sequence Master Data Technical Details For more information, see:
Master Data
Master Data
Master Data
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
270 PUBLIC Set Up the Applications
Sequence Master Data Technical Details For more information, see:
Master Data
Master Data
You can import the data into staging tables, and then transfer this data to production tables using report /DMF/
PROCESS_STAGING_TABLES. Alternatively, you can skip the staging tables and import the data directly into
the production tables. For more information, see:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 271
More Information
Related Information
Periodic Tasks
When performing a delta load of data from the source master data system using the DRFOUT framework, you
must ensure that the product location data required to enhance the sales records with historical sales cost is
loaded prior to the sales data.
Furthermore, we recommend that you schedule a daily periodic task to replicate data from the source system
to the SAP Allocation Management system.
Check if you have performed the SAP Gateway configuration and that you have activated the OData Services
for distribution curve and SAP Allocation Management.
Assign Roles, Catalogs, and Groups in SAP Fiori Launchpad [page 273]
To be able to access SAP Fiori apps that constitute the SAP Allocation Management user interface from
the SAP Fiori launchpad, your front-end system user must have the necessary roles assigned. Based on
the roles assigned to your user, you can access certain business catalogs and business catalog groups.
Related Information
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
272 PUBLIC Set Up the Applications
6.5.7.1 Activate SAP Allocation Management ICF Services
Perform these steps to activate Internet Communication Framework (ICF) services for SAP Allocation
Management.
For security reasons, all Internet Communication Framework (ICF) services relevant to your SAP Allocation
Management application are made available in an inactive state.
You have activated the central ICF services while configuring the SAP Gateway. This procedure provides the
instructions to activate ICF services required for the SAP Allocation Management SAP Fiori apps.
Procedure
To be able to access SAP Fiori apps that constitute the SAP Allocation Management user interface from the
SAP Fiori launchpad, your front-end system user must have the necessary roles assigned. Based on the roles
assigned to your user, you can access certain business catalogs and business catalog groups.
Your SAP Allocation Management application is delivered with a predefined role, catalog, and group. These
include technical content as well as business content:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 273
Front-End Server Business Content Front-End Technical Content
Technical
Business Role Business Catalog Business Catalog Group Technical Role Catalog
To test the installation of SAP Allocation Management from the SAP Fiori launchpad, you need to assign the
roles to your user on the front-end system.
Procedure
Caution
If you already have an SAP Fiori launchpad open, you must clear your browser cache to apply any
modifications made to your user roles. Otherwise, your changes are not reflected in the SAP Fiori user
interface.
More Information
Security Information section of the Administration Guide for SAP Allocation Management.
In transaction SR13, you can configure your back-end system to point to documentation for your application
that is provided on SAP Help Portal for SAP Customer Activity Repository applications bundle.
Context
You can configure your back-end system to access documentation that is provided on SAP Help Portal for SAP
Customer Activity Repository applications bundle at https://help.sap.com/viewer/p/CARAB. For example, if
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
274 PUBLIC Set Up the Applications
your application is SAP Customer Activity Repository, you can configure access to the application help for SAP
Customer Activity Repository.
Prerequisites
● The documentation you want to access must be available on SAP Help Portal.
● The users who access the documentation must have access to the Internet.
● You can configure an ABAP system to connect to only one combination of product and version. These are
the values that you will specify under Path in the procedure below.
Note
The product CARAB is valid for all the applications delivered with SAP Customer Activity Repository
applications bundle.
The version depends on the release. For example, version CARAB/4.0.2 is valid for all the application
versions delivered with SAP Customer Activity Repository applications bundle 4.0 FPS02.
If you cannot fulfill one or more of these prerequisites, you must install the documentation in your local system
landscape using the download packages or DVDs/CDs provided.
Note
For more information about installing the documentation in your local system landscape, see the SAP
Library Installation and Update Guide for SAP NetWeaver-Based Systems.
Procedure
Caution
You have to create entries for both documentation and XML documentation areas for each platform
you are using and each language in which you want to provide documentation.
You must use the exact combination of uppercase and lowercase characters specified in the product
and version.
4. To create entries for the documentation area, enter the following values:
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Set Up the Applications PUBLIC 275
Name Value to be entered
5. To create entries for the XML documentation area, enter the following values:
Area Select XML Documentation from the list; this will display
as XML_DOCU in the table.
Results
You have configured your back-end system to point to documentation that is provided on SAP Help Portal.
Related Information
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
276 PUBLIC Set Up the Applications
Important Disclaimers and Legal Information
Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:
● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:
● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.
● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such
links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.
Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.
Gender-Related Language
We try not to use gender-specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.
Common Installation Guide for SAP Customer Activity Repository applications bundle 4.0
FPS02
Important Disclaimers and Legal Information PUBLIC 277
www.sap.com/contactsap
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. All
other product and service names mentioned are the trademarks of their
respective companies.