Step-by-step guide to implement Modeling Scenarios in SAP BW 7.4 on HANA
About this Document
This Document is based on SALES Business use case scenario.
This manual aims to help you to understand the modeling of BW objects in HANA and reporting based on HANA models in SAP BW on HANA. This kind of processing is done in SAP BW on HANA. This manual also provides details of the steps involved in importing and modeling BW objects in HANA and creating a report based on HANA views. This document is created solely with the intention of sharing information.
Following are the pre-requisites for performing the tasks presented in this manual:
- SAP BW on HANA 7.4 installed on the server with packages sp4 (SAPKW74004).
- SAP BW on HANA 7.3.1 installed on the server with packages sp9 (SAPKW73109).
- SAP BW on HANA 7.3 installed on the server with packages sp10 (SAPKW73010).
- HANA database upgraded to version 1.00.48.372847 and above.
- BW authorization and Analytic privileges.
- Knowledge of BO Objects.
- Knowledge of Lumira
1 Overview of HANA-Optimized DSO and InfoCube in BW 7.4.
2 Source Data Extraction (LO Extraction).
3 Modeling BW Objects in BW 7.4.
3.1 Releasing BEx Query as InfoProvider.
4 HANA-Optimized InfoCube and DSO
5 Importing and Modeling in HANA.
5.1 Modeling in HANA of DSOs.
5.2 Modeling in HANA of InfoCube.
6 Visualization in Lumira.
1 Overview of HANA-Optimized DSO and InfoCube in BW 7.4
DSO and InfoCube in BW 7.4 are HANA-Optimized by default. This reduces the activation time and has a huge impact on the performance .Modeling BW objects in BW on HANA into Analytic /calculation views is only possible if the underlying database is HANA .This is because tables are physically stored in HANA and views are created with respect to the tables .
- SAP HANA-optimized objects help you to achieve significantly better performance in load and activation processes. Up to 80% faster for loading in HANA Optimized Cubes.
- With its high compression rate, the column-based HANA datastore requires less data be materialized.
- Data modeling is simplified. Using in-memory-optimized objects you do not need to load a BWA index, for example. In addition, the architecture of the HANA database allows you to delete characteristics from an InfoCube that still contains data.
- With BW in-memory-optimized objects, complex analysis and planning scenarios with unpredictable query types, high data volume, high query frequency, and complex calculations can be processed with a high degree of efficiency.
- Loading SAP HANA-optimized BW objects can also be done more efficiently.
- The SAP HANA database replaces both any previous database and SAP NetWeaver BWA, reducing infrastructure costs. Instead of both database administration tools and additional SAP NetWeaver BWA administration tools, the SAP HANA database requires just a single set of administration tools for monitoring, backup and restore, and other administrative tasks.
2 Source Data Extraction (LO Extraction)
We will now see the basic feature of Extraction from EC6 system.
- Login to EC6 with proper username and password
- We activate the data sources using a transaction code RSA5.
- Next we have to fill up the set up tables for the data sources. For doing this first we need to delete the contents that are already present in that setup tables.
- Go to the transaction code LBWG and select the application component whose content has to be deleted.
- To check whether the setup table is deleted or not go to the transaction code RSA3 and give the data source name and it will show Record 0 found which means data has been deleted from the setup table.
- Now using the transaction code LBWQ delete the extraction queue of the data source.
- Also delete the delta queue for the data sources using the transaction code RSA7.
- Next is to fill the setup table using the transaction code SBIW or OLI*BW where * denotes the application component
- Click on Logistics under Settings for Application-Specific Data Sources–> Managing Extract Structures —>Application-Specific Setup of Statistical Data.
- Now click on the execute button of Perform setup – Sales and do it for delivery.
- We will now see the set up table contents using transaction code RSA3.
3 Modeling BW Objects in BW 7.4
- We will locate the application component and replicate both the data sources.
- Next we will create the info package for the data sources 2LIS_11_VAHDR and 2LIS_11_VAITM and activate it so that we can see all the data that are selected in the extract structure will be in the PSA table.
- Next we will create the DSO for each data sources and load all the data into it using the data transfer process and activate both the DSOs.
3.1 Releasing BEx Query as InfoProvider
- We create the BEx Query in Query Designer for the InfoCube and display it using transaction code RSRT.
- Next we will set the Query as InfoProvider in the properties tab or using t-code RSDB in order to use it in HANA.
4 HANA-Optimized InfoCube and DSO
- In order to find out whether InfoCube is HANA-Optimized or not. In BW 7.4, by default it is HANA-optimized.
- In order to find out whether DSO is HANA-Optimized or not, this can be find out after activation
5 Importing and Modeling in HANA
We will now see the basic steps of importing and modeling from BW into HANA.
- Login to HANA Database via HANA Studio by clicking add system.
- Go to File->import->import SAP Netweaver BW models.
- Next we enter the credentials of BW on HANA choose the target system.
- Note: target system has to be the underlying database.
- Next we see that it imports, generates, transforms, saves and activate BW objects into views.
- Next select the package for the views.
- DSOs are imported as analytic views.
- InfoCubes are imported as internal analytic views and graphical calculation view.
- BEx query released as infoprovider is imported as analytic view
5.1 Modeling in HANA of DSOs
- Next we created calculation view on top two analytic views.
- We selected the fields which we need for analysis in projection
- We used union since the metadata structure is same in projection and it increases the performance and aggregated it.
- Next we check the value of calculation view.
5.2 Modeling in HANA of InfoCube
- Next we also check the data of calculation view of infoCube imported.
6 Visualization in Lumira
- Login to Lumira using HANA credentials.
- Next select the calculation view to prepare the visualization.
- Next, select the measures and dimensions to prepare visualization
- Next, we can add filter or restrict in order to visualize the data
- Finally we visualize and save the dataset either in local folder or in Excel or in HANA or in Lumira cloud.