Pre-configured multi-target application with calculation views for deployment in XS Advanced or SAP Cloud Platform, Cloud Foundry.
The current repository contains templates with Calculation Views for SAP HANA and models and setup instructions for connecting to this content from SAP Analytics Cloud.
The Calculation Views and other design-time artifacts can be cloned into SAP Web IDE for SAP HANA. The artifacts can be deployed into SAP HANA, extended application services, advanced model (XS Advanced).
The current repository contains sample data so that the models can be tested without configuring the replication through Smart Data Integration.
The replication from the SAP Netweaver system is done through the activation of Operational Data Provisioning extractors and the ABAP adapter.
For replication:
To clone the calculation views:
You can find step-by-step instructions in the following tutorial: https://developers.sap.com/tutorials/haas-ecc-operational-reporting-sample-data.html
Git -> Clone Repository
. Paste the URL for the current repository and clone.Remove the folders with names CONFIGURE_ME
in db
and in db/src
db
folder and choose Build. After a successful build, the models can be executed.The integration requires the publication of ODP extractors from the ABAP system using the ABAP adapter in Smart Data Integration. The Calculation Views will be deployed in an HDI container and the virtual tables will access a remote source. The remote source is accessed in the same way as a plain or replicated schema. Further context about this process is provided in this blog post.
Create a user with permissions to the remote source. Here is a sample SQL statement creating a user and setting permissions to a source with name SAPECC
CREATE USER PLUSR PASSWORD "HanaRocks01" NO FORCE_FIRST_PASSWORD_CHANGE ;
CREATE ROLE CCROLE;
grant "CREATE VIRTUAL TABLE", "DROP", "CREATE REMOTE SUBSCRIPTION", "PROCESS REMOTE SUBSCRIPTION EXCEPTION" on remote source "SAPECC" to CCROLE with grant option;
grant CCROLE to PLUSR with admin option;
Create a user-provided service to provide the credentials for access to the remote source form the HDI Container. Call it CC_ACCESS unless you want to adapt references to it. See sample steps in Step 3 in this tutorial
Remove _CONFIGURE_ME
from the folders cfg
, src/loads
and from the file remote.hdbgrants
. Be sure to Save all the modified artifacts
Note: The virtual tables use a remote source called
SAPECC
, adapt them if the name of your remote source is different. The.hdbgrants
file refers to a user-provided service calledCC_ACCESS
and also references the remote sourceSAPECC
. Adapt them if necessary.
Delete the folder demo_loads
.
The SAP HANA Advanced Analytics adapter allows for the consumption of Calculation Views in HDI Containers through Information Access. SAP Analytics Cloud uses Information Access for Live connection. Other tools, such as Analysis for Office work with this connector too.
Follow the instructions or the installation on on-premises systems.
HANALIVE
. Note that the models currently depend on the connection being called HANALIVE. This can be adapter later. Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.