Professional Documents
Culture Documents
Sap BW On Hana Tutorial
Sap BW On Hana Tutorial
BW software supports various databases like Oracle, Microsoft, IBM DB2, Teradata, and
many more. BW on HANA suggests that you are using HANA as database for BW data
modeling capabilities and no other database is required.
Audience
This tutorial has been prepared for those having advanced level knowledge on SAP BW
functions and SAP HANA Native modeling. After completing this tutorial, you will find
yourself at a moderate level of expertise in maintaining BW on top of HANA database, and
exploring some key capabilities on BW powered by HANA.
Prerequisites
Before you start proceeding with this tutorial, we assume that you are well-versed with
basic BW and HANA concepts, like DataStore Objects (DSO), Data Transformations,
InfoCubes, Query optimization, HANA Modeling and HANA DB features using HANA Studio.
If you are not aware of these concepts, then we recommend that you first go through our
tutorials on BW and HANA.
All the content and graphics published in this e-book are the property of Tutorials Point (I)
Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish
any contents or a part of contents of this e-book in any manner without written consent
of the publisher.
We strive to update the contents of our website and tutorials as timely and as precisely as
possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt.
Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our
website or its contents including this tutorial. If you discover any errors on our website or
in this tutorial, please notify us at [email protected].
i
SAP BW on HANA
Table of Contents
About the Tutorial .................................................................................................................................. i
Audience ................................................................................................................................................ i
Prerequisites .......................................................................................................................................... i
2. BW ON HANA − BW BASICS................................................................................................ 4
InfoCube ................................................................................................................................................ 6
ii
SAP BW on HANA
Check on Which Database the BW System is Installed On and its Version ........................................... 27
iii
SAP BW on HANA
DB Architecture ................................................................................................................................... 73
iv
SAP BW on HANA
v
1. BW on HANA − Overview SAP BW on HANA
SAP Business Warehouse (BW) powered by SAP HANA helps you speed up data analysis
by consuming data via a Data Warehouse (DW) for analytical reporting and data analysis.
You can achieve key opportunities like real-time data integration and data modeling, and
hence real-time BI reporting on large amount of data in the database.
SAP Business Warehouse continues to act like a powerful data warehouse tool to
consolidate master data and provide flexible reporting options. With SAP HANA underneath
BW system as a database, you can use a combination of DW capabilities with fast in-
memory database to achieve performance improvements and exceptional modeling
capabilities.
HANA in-memory database is much faster as compared to other common databases like
Oracle, SQL Server, and hence DW performs much faster when powered by HANA as
database underneath it. It combines the power of both the tools - BW Modeling and HANA
in-memory computing engine to process huge amounts of data.
BW on HANA supports various exceptional databases and reporting capabilities that are
not possible using other databases - like transformations and DSOs are moved to HANA
database to provide much faster processing of data, data load performance, query
processing and optimization, exceptional HANA modeling capabilities, etc.
Real-time Reporting − Using BW with other databases, you can’t perform real-
time reporting as real-time data is not available in the data warehouse. Data is
moved to Business Warehouse in batches and hence is not available for real-time
reporting.
1
SAP BW on HANA
As mentioned, HANA is much faster as compared to other databases like Oracle and SQL
Server. Hence, when you combine HANA capabilities with BW, you get an exceptional data
processing and reporting features.
https://hana.sap.com/abouthana/customer-stories.html
2
SAP BW on HANA
Reliable, real-time reporting and Better Business Decisions with SAP Software and
Services.
CenterPoint Energy
CenterPoint Energy uses SAP HANA as the foundation to realize their strategic vision.
Adidas
Adidas leveraging SAP HANA platform stays ahead of consumer demand utilizing SAP
Fashion Management application.
Complete visibility from the factory to the shop floor and e-commerce channels.
Point of sale data analysis that provides a better understanding of consumers.
Significantly faster nightly replenishment and allocation runs.
3
SAP BW on HANA
4
2. BW on HANA − BW Basics SAP BW on HANA
SAP BW integrates data from different sources, transforms and consolidates the data,
performs data cleansing, and stores data. SAP BW also includes data modeling,
administration and staging area.
Data in SAP BW is managed with the help of a centralized tool known as SAP Business
Intelligence (BI) Administration Workbench. The BI platform provides infrastructure and
functions to include:
OLAP Processor
Metadata Repository
Process Designer and other functions
Business Explorer (BEx) is a reporting and analysis tool that supports query, analysis, and
reporting functions in BI. Using BEx, you can analyze historical and current data to
different degree of analysis.
SAP BW is known as open, standard-based tool which allows you to extract data from
different systems to BI system. It evaluates the data with different reporting tools and you
can distribute this to other systems.
When you go to SAP BI Administration workbench, the source system is defined there. Go
to RSA1 -> Source Systems.
5
SAP BW on HANA
As per the type of data source, you can differentiate source systems:
You can load the data from any source in the data source structure into BI with an
InfoPackage. The target system where the data is to be loaded is defined in the
transformation.
DataStore Object
DataStore Object (DSO) is known as a storage place to keep cleansed and consolidated
transaction or master data at lowest granularity level. This data can be analyzed using
BEx query.
A DSO contains key figures and characteristic fields. Data from DSO can be updated using
Delta update or other DataStore objects or master data. DSOs are commonly stored in
two-dimensional transparent database tables.
DSO Architecture
DSO component consists of three tables:
Activation Queue
This is used to store the data before it is activated. The key contains request id, package
id, and record number. Once activation is complete, the request is deleted from the
activation queue.
6
SAP BW on HANA
Change Log
When you activate the object, changes to active data are stored in the change log. Change
log is a PSA table and is maintained in Administration Workbench under PSA tree.
InfoCube
InfoCube is defined as a multidimensional dataset, which is used for analysis in a BEx
query. An InfoCube consists of a set of relational tables which are logically joined to
implement star schema. A Fact table in star schema is joined with multiple dimension
tables.
You can add data from one or more InfoSource or InfoProviders to an InfoCube. They are
available as InfoProviders for analysis and reporting purposes.
InfoCube Structure
An InfoCube is used to store the data physically. It consists of a number of InfoObjects
that are filled with data from staging. It has the structure of a star schema.
The real-time characteristic can be assigned to an InfoCube. Real-time InfoCubes are used
differently than standard InfoCubes.
7
3. BW on HANA − HANA Basics SAP BW on HANA
HANA database takes advantage of in-memory processing to deliver the fastest data-
retrieval speed, which is enticing for organizations struggling with high-scale online
transactions or timely forecasting and planning.
Disk-based storage is still the enterprise standard and the price of RAM has been declining
steadily. Thus, memory-intensive architectures will eventually replace slow, mechanical
spinning disks and will lower the cost of Data storage.
In-memory column based storage provides data compression up to 11 times, reduces the
space to store huge amount of data.
The speed advantages offered by RAM storage system are further enhanced by the use
multi-core CPU’s multiple CPUs per node and multiple nodes per server in the distributed
environment.
SAP HANA studio is both the central development environment and the main
administration tool for HANA system. It is a client tool which can be used to access local
or remote HANA system.
It provides an environment for HANA Administration, HANA Information Modeling and Data
Provisioning in HANA database.
Microsoft Windows 32 and 64 bit versions of: Windows XP, Windows Vista,
Windows 7
Depending on HANA Studio installation, all features may not be available. At the time of
Studio installation, specify the features you want to install as per the role. To work on the
most recent version of HANA studio, Software Life Cycle Manager can be used for client
update.
8
SAP BW on HANA
9
SAP BW on HANA
In the Administration view, HANA studio provides multiple tabs to check the configuration
and health of the HANA system. The Overview tab provides General Information such as:
the operational status, the start time of the first and last started service, the version, the
build date and time, the platform, the hardware manufacturer, etc.
Step 1: Right-click in the Navigator space and click Add System. Enter HANA system
details, i.e. the host name and the instance number. Click next.
10
SAP BW on HANA
Step 2: Enter the database username and password to connect to SAP HANA database.
Click Next and then Finish.
11
SAP BW on HANA
Once you click Finish, HANA system will be added to System View for administration and
modeling purposes. Each HANA system has two main sub-nodes, Catalog and Content.
Catalog: It contains all available Schemas, i.e. all data structures, tables and data, column
views, and procedures, which can be used in the Content tab.
Content: The Content tab contains design time repository, which holds all information of
data models created with the HANA Modeler. These models are organized in Packages.
The Content node provides different views on the same physical data.
12
4. BW on HANA − Architecture SAP BW on HANA
When SAP BW is powered by HANA, all the tasks are performed using HANA database
optimized techniques. SAP HANA is responsible to perform key tasks related to Data
Warehousing delivering excellent performance while performing analytical reporting.
In the following figure, you can see BW on HANA architecture where all the key activities
of BW are HANA optimized:
13
SAP BW on HANA
Data delivery
Data modeling
Data staging
Authorizations
Solution delivery
When BW is implemented on SAP HANA, you can create a different LSA which is more
dependent on virtual objects. This is known as LSA++ and it consists of three key layers:
14
SAP BW on HANA
15