v2SAP BW On HANA Quick Guide
v2SAP BW On HANA Quick Guide
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 realtime 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.
Report Performance − You have to perform report performance optimization and tuning for each
application.
Compatibility − Data in Business Warehouse is aggregated and materialized and you can’t get the
data at different granularity level. HANA supports aggregations on the fly when the report is executed.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 1/71
6/20/2018 SAP BW on HANA Quick Guide
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
Procter & Gamble has adapted to SAP BW on HANA with the following business transformations.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 2/71
6/20/2018 SAP BW on HANA Quick Guide
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.
200% increase in productivity by replacing manual data replications with scheduled data loads into
SAP HANA.
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.
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
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 3/71
6/20/2018 SAP BW on HANA Quick Guide
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.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 4/71
6/20/2018 SAP BW on HANA Quick Guide
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 DS O 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.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 5/71
6/20/2018 SAP BW on HANA Quick Guide
This table is used to store the current active data and it contains the semantic key defined for data modeling.
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.
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
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 6/71
6/20/2018 SAP BW on HANA Quick Guide
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.
The toolset for various administration tasks, excluding transportable design-time repository objects. General
troubleshooting tools like tracing, the catalog browser, and SQL Console are also included.
It provides the toolset for content development. It addresses, in particular, the DataMarts and ABAP on SAP
HANA scenarios, which does not include SAP HANA native application development.
SAP HANA system contains a small Web server which can be used to host small applications. It provides the
toolset for developing SAP HANA native applications, like application code written in Java and HTML.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 7/71
6/20/2018 SAP BW on HANA Quick Guide
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.
Step 2 − Enter the database username and password to connect to SAP HANA database. Click Next and then
Finish.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 8/71
6/20/2018 SAP BW on HANA Quick Guide
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.
In the following figure, you can see BW on HANA architecture where all the key activities of BW are HANA
optimized −
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 9/71
6/20/2018 SAP BW on HANA Quick Guide
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 −
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 10/71
6/20/2018 SAP BW on HANA Quick Guide
This layer is similar to the data acquisition layer in SAP BW. The open ODS layer is used to integrate data into
the Data Warehouse and provides the same functionality as the classic data acquisition layer, but with more
flexible data integration possibilities.
This layer is responsible to perform functions like data transformation, data cleansing and consolidation.
This layer is responsible to combine the data from other layers and to make it available for reporting purposes.
This layer contains all the InfoProviders that combine data using join or union, without saving the result:
MultiProvider, Composite Provider, etc. You can use this to access data directly in the SAP HANA database, to
allow queries on Composite Provider, Open ODS View.
Composite provider allows you to merge the data from BW InfoProviders with HANA Modeling views. Union
and Joins are performed in SAP HANA and queries can be run on composite providers, like BW
InfoProviders.
Excellent performance in analytical reporting and data loading using HANA in memory database
capabilities. All BW functions performed in SAP HANA benefits from in-memory database and
calculation engines for faster data processing.
With HANA optimized objects, you can perform complex queries, detailed analysis, high data volume,
and aggregations efficiently.
All existing BI tools such as BEx, Business Objects BI reporting tools, and Microsoft Excel are directly
supported by SAP BW on HANA.
SAP HANA provides high level of data compression. Column storage of tables requires less storage type
and hence provides lower Total Cost of Ownership T C O.
Business Warehouse Accelerator BW A is not required while using HANA underneath BW.
You don’t need aggregated tables and HANA supports on-the-fly aggregations.
It has simplified data modeling by using in-memory-optimized objects. There is no need to load BWA
index.
When you use SAP BW on HANA, the following processes are not required −
Build Index
Delete Index
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 11/71
6/20/2018 SAP BW on HANA Quick Guide
SAP HANA Modeler option is used to create information views on the top of schemas → tables in HANA
database. These views are consumed by JAVA/HTML based applications or SAP Applications such as SAP
Lumira, Office Analysis, or third party software like MS Excel for reporting purposes to meet business logic
and to perform analysis and extract information.
HANA Modeling is done on the top of tables available in Catalog tab under Schema in HANA Studio and all
views are saved under the Content table under Package.
You can create a new Package under the Content tab in HANA Studio using right-click on Content and New.
All Modeling Views created inside one package comes under the same package in HANA Studio and is
categorized according to the View Type.
Each View has a different structure for Dimension and Fact tables. Dimension tables are defined with master
data. Fact table has a Primary Key for dimension tables and measures like Number of Unit sold, Average delay
time, Total Price, etc.
You can create a new Package by a right-click on the Content Tab → New → Package.
You can also create a Sub Package under a Package by a right-click on the Package name. When we right click
on the Package, we get 7 options. We can create HANA Views Attribute Views, Analytical Views, and
Calculation Views under a Package.
You can also create a Decision Table, define an Analytic Privilege and create Procedures in a Package.
When you right-click on Package and click New, you can also create sub packages in a Package. You have to
enter Package Name, Description while creating a Package.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 12/71
6/20/2018 SAP BW on HANA Quick Guide
You can also copy a new Attribute View from an already existing Attribute Views inside other Packages but
that doesn’t let you change the View Attributes.
Attribute Views in HANA are used to join Dimension tables or other Attribute Views.
Attribute Views are used in Analytical and Calculation Views for analysis to pass the master data.
Attribute Views are used for performance optimization in large size dimension tables. You can limit the
number of attributes in an Attribute View, which are further used for Reporting and analysis purpose.
Attribute Views are used to model master data to give some context.
When you click on Attribute View, a New Window will open. Enter Attribute View name and Description.
Then, from the dropdown list, choose View Type and subtype. In subtype, there are 3 types of Attribute views:
Standard, Time, and Derived.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 13/71
6/20/2018 SAP BW on HANA Quick Guide
Time subtype Attribute View is a special type of Attribute view that adds a Time Dimension to Data
Foundation. When you enter the Attribute name, Type and Subtype and click Finish, it will open three work
panes −
Details pane shows the attribute of all tables added to Data Foundation and the joining between
them.
Output pane where we can add attributes from the Detail pane to filter in the report.
You can add Objects to Data Foundation by clicking the ‘+’ sign written next to Data Foundation. You can add
multiple Dimension tables and Attribute Views in the Scenario Pane and join them using a Primary Key.
When you click on Add Object in Data Foundation, you will get a search bar from where you can add
Dimension tables and Attribute views to the Scenario Pane. Once Tables or Attribute Views are added to Data
Foundation, they can be joined using a Primary Key in the Details Pane as shown in the following screenshot.
Once the join is complete, choose multiple attributes in the Details pane, right-click and Add to Output.
All columns will be added to the Output pane. Click the Activate option and you will get a confirmation
message in the job log.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 14/71
6/20/2018 SAP BW on HANA Quick Guide
Now you can right-click on the Attribute View and go for Data Preview.
Note − When a View is not activated, it has a diamond mark on it. However, once you activate it, that
diamond disappears which confirms that the View has been activated successfully.
Once you click Data Preview, it will show all the attributes that has been added to the Output pane under
Available Objects.
You can right-click and add to Labels and Value axis or simply drag the objects as shown in the following
screenshot.
Analytic Views are used to perform complex calculations and Aggregate functions like Sum, Count, Min,
Max, etc.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 15/71
6/20/2018 SAP BW on HANA Quick Guide
Each Analytic View has one Fact table surrounded by multiple dimension tables. Fact table contains a
primary key for each Dimension table and measures.
Analytic Views are similar to Info Objects and Info sets of SAP BW.
When you click Finish, you can see an Analytic View with Data Foundation and Star Join option.
Click Data Foundation to add Dimension and Fact tables. Click Star Join to add Attribute Views.
Add Dimension and Fact tables to Data Foundation using “+” sign. In the following example, 3 dimension
tables have been added DIM_CUSTOMER, DIM_PRODUCT, DIM_REGION, and 1 Fact table FCT_SALES to
the Details Pane. Joining the Dimension table to Fact table using Primary Keys is stored in Fact table.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 16/71
6/20/2018 SAP BW on HANA Quick Guide
Select Attributes from Dimension and Fact table to add to the Output pane as shown in the above screenshot.
Now, change the data type of Facts from the Fact table to measures.
Click the Semantic layer, choose facts and click the measures sign as shown in the following screenshot to
change datatype to measures, and activate the view.
Once you activate the view and click Data Preview, all attributes and measures will be added under the list of
available objects. Add attributes to the Labels Axis and measure to the Value Axis for analysis purpose.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 17/71
6/20/2018 SAP BW on HANA Quick Guide
Calculation View is used to consume Analytic, Attribute, and other Calculation Views.
They are used to perform complex calculations which are not possible with other Views.
There are two ways to create Calculation Views - SQL Editor or Graphical Editor.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 18/71
6/20/2018 SAP BW on HANA Quick Guide
Enter the View name, Description and choose the View type as Calculation View, Subtype Standard or Time
thisisspecialkindof V iewwhichaddstimedimension. You can use two types of Calculation View: Graphical
Graphical Calculation Views − It has default nodes like aggregation, Projection, Join and Union. It is used
to consume other Attribute, Analytic, and other Calculation views.
SQL Script based Calculation Views − It is written in SQL scripts that are built on SQL commands or
HANA defined functions.
Data Category − Cube, in this default node is Aggregation. You can choose Star join with Cube dimension.
Dimension, in this default node is Projection.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 19/71
6/20/2018 SAP BW on HANA Quick Guide
You can check for more details on native HANA modeling in our SAP HANA Tutorial.
In Extended Star Schema, one fact table can connect to 16 dimension tables and each dimension table is
assigned with 248 maximum SID tables. SID tables are also called Characteristics and each characteristic can
have master data tables like ATTR, Text, etc.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 20/71
6/20/2018 SAP BW on HANA Quick Guide
InfoObjects are used in reports to analyze the data stored and to provide information to decision makers.
InfoObjects can be categorized into the following categories −
InfoObjects are created in the InfoObject catalog. It is possible that an InfoObject can be assigned to a
different Info Catalog.
InfoArea in SAP BI is used to group similar types of objects together. InfoArea is used to manage InfoCubes
and InfoObjects. Each InfoObject resides in an InfoArea and you can define it in a folder which is used to hold
similar files together.
Transformation Process
Transformation process is used to perform data consolidation, cleansing and data integration. When data is
loaded from one BI object to other BI object, transformation is applied on the data. Transformation is used to
convert a field of source into the target object format.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 21/71
6/20/2018 SAP BW on HANA Quick Guide
To check SAP NetWeaver version and the DB on which it is installed, click System → Status.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 22/71
6/20/2018 SAP BW on HANA Quick Guide
To check the version of SAP NetWeaver system, click the magnifying glass. You can see the Database version -
HDB Release 1.0 SPS 11.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 23/71
6/20/2018 SAP BW on HANA Quick Guide
Operating System Windows 7 or Windows 8 or Apple Mac OS X 10.8 or higher, or Linux distribution.
SAP GUI for Windows 7.3 or SAP GUI for Windows 7.4 has to be installed on your local drive. You can
download this from SAP Marketplace.
To communicate with the backend system, you need Microsoft Runtime DLLs VS2010 f orW indowsOS
is installed on your local system.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 24/71
6/20/2018 SAP BW on HANA Quick Guide
In the next window, select SAP connection. You can select an existing connection or define a connection
manually to add a new connection.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 25/71
6/20/2018 SAP BW on HANA Quick Guide
In the next screen, as shown in the following screenshot enter client, username and password. Click Next.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 26/71
6/20/2018 SAP BW on HANA Quick Guide
Now, right-click on your new root project folder and choose Attach SAP HANA System. Choose the
preconfigured HANA system HDB and click Finish.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 27/71
6/20/2018 SAP BW on HANA Quick Guide
Only connected SAP HANA system can be attached. Select HANA system → Finish.
To define a BW query on your InfoCube, select the InfoCube in BW Modeling Perspective, right-click and click
New → BW Query and select the InfoProvider.
Enter the name and description and click Finish. This is how you can add a BW query.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 28/71
6/20/2018 SAP BW on HANA Quick Guide
You can apply different functions in BW query. You can apply filters, define local formulas for calculation, etc.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 29/71
6/20/2018 SAP BW on HANA Quick Guide
https://launchpad.support.sap.com/#/notes/
Before migration, you need to perform a feasibility check to understand the load process and to see
performance improvements. As SAP HANA requires Unicode, you need to perform Unicode conversion if you
have a non-Unicode system or you can also plan Unicode conversion as part of the migration.
To perform database migration, you have to perform a hardware check. To migrate BW system to HANA, you
have to perform hardware sizing and that can be performed using report /SDF/HANA_BW_SIZING.
To access the complete checklist tool, you can refer SAP Note: 1729988 on support.sap.com. Search a
Knowledge base article.
This tool automates the check of best practice guidelines for operations and pre-requisites for migration of an
existing SAP BW deployment to the SAP HANA platform.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 30/71
6/20/2018 SAP BW on HANA Quick Guide
You can also check the other K-base SAP Notes i.e., refers to, referred by this SAP Note as shown in the
following screenshot.
SAP Note 1846872 − "No space left on device" error reported from HANA
SAP Note 1740136 − SAP HANA: wrong mount option may lead to corrupt persistency
SAP Note 1894412 − SAP HANA nameserver crash after revision upgrade
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 31/71
6/20/2018 SAP BW on HANA Quick Guide
Software Provisioning Manager 1.0 supports the following provisioning scenarios for SAP systems based on
SAP NetWeaver −
Software Provisioning Manager 1.0 supports the following SAP NetWeaver releases, SAP Business Suite
products, and SAP Solution Manager Releases based on them.
You can get the latest version from the following URL: https://help.sap.com/sltoolset
The SAP BW Migration Cockpit for SAP HANA combines several tools to make the migration of an existing
SAP BW deployment to the SAP HANA platform smooth and easy to perform.
To use the cockpit, install and run ABAP program. In order to use the Check for Updates function, you might
have to maintain the proxy settings in lines 21 and 22 of the code.
Program: ZBW_HANA_MIGRATION_COCKPIT
To get the tool, you can refer to SAP Notes 1909597 - SAP BW Migration Cockpit for SAP HANA.
Go to the attachment tab and you can download the zip file.
In case any of the tool is not available on your local system, you can refer to the documentation tab and you
can access online help and available SAP Notes.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 32/71
6/20/2018 SAP BW on HANA Quick Guide
Number Title
To perform database migration using DMO, SAP HANA version 8.5 or higher is required. Target database SAP
HANA depends on the source database with different requirements to perform an upgrade.
DB6
DB2f orLinux, U N I X, andW indows
DB6 version 09.01.0000 or higher, if target SAP_BASIS release is
lower than 740 SP8
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 33/71
6/20/2018 SAP BW on HANA Quick Guide
SAP BW on HANA provides a setting for active and non-active data so that you can manage the lower total
cost of ownership. Data can be classified into following 3 categories as per data temperature −
Hot Data
In this area, all data under hot data is stored in HANA in-memory database and is available for reporting and
operations. In SAP BW, this is InfoCubes and DSOs that comes under hot data as they are frequently used for
reporting and operations.
This data is frequently used and it typically belongs to past 2-3 years and hence this data has to be put as real
hot data and has to be put in in-memory database to get the best performance for reporting purposes.
Data Type − Data from InfoCubes, standard DSOs, open DSOs, and all master data
Cold Data
Cold data is considered as archived data which is rarely accessed and all data is stored on secondary database.
In SAP BW, standard DSOs and InfoCubes contain the data for operations and reporting. However, in normal
scenario only past few years’ data is frequently accessed for reporting. Data older than 3 years can be normally
stored on lower TCO plan as it is infrequently accessed.
Access − Data that is older than 3 years and is infrequently accessed for reporting and operations.
Warm Data
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 34/71
6/20/2018 SAP BW on HANA Quick Guide
Warm data is the data stored in the disk storage of HANA database and is available for access all the time.
This allows you to access less recent data efficiently in HANA database.
This data is available for read, write and insert, and provides lower total cost of ownership.
Non-Active data
Active/Dynamic tiering
Non-Active Data
This data type is applied to Persistence Staging Area P S As and Write Optimized W /O DSOs. In SAP BW,
PSAs and W/O DSOs are considered as low priority object, and in case of memory shortage non-active data is
first removed from the memory.
Access − Medium frequent data. Data which is accessed more frequently than cold data.
Response − The response is quick when all the partitions are in-memory. When the data is to be
loaded to partition, the response time depends on the volume of data.
Note − The Non-active concept is available since SAP BW 7.3 SP8 and you can use it to efficiently manage
memory in HANA Database.
Active/Dynamic Tiering
In dynamic tiering, there is no concept of displacing data from partition to low TCO memory and involves an
integrated mechanism to access all the data with optimal performance time.
All data - PSAs and W/O DSOs - are stored in the disk and is available for SAP BW 7.4 SP8 and HANA 1.0 SP9
or higher version.
Access − Medium frequent data. Data which is accessed more frequently than cold data.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 35/71
6/20/2018 SAP BW on HANA Quick Guide
Next is to click the Detailed view to check early unload settings. You can check early unload settings for the
following Objects −
Standard DSOs
W/O DSOs
InfoCube
Data Source
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 36/71
6/20/2018 SAP BW on HANA Quick Guide
From the data selection, select the data source from the dropdown. Select Object and click Execute.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 37/71
6/20/2018 SAP BW on HANA Quick Guide
PSA tables and write-optimized DSOs are marked as Warm by SAP in BW by default. It means that the flag is
set as active by default.
This allows these tables to be removed from the main memory with higher priority compared to other tables of
persistent BW InfoProviders. You can customize this setting using Early Unload flag in the window as shown
in the following screenshot.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 38/71
6/20/2018 SAP BW on HANA Quick Guide
When SAP HANA optimized InfoCubes are used, characteristics and key figures are assigned to dimensions.
To improve the system performance, Surrogate IDs S I Ds are used in fact tables.
When you convert standard InfoCubes to HANA optimized InfoCubes, the layout changes at the time of
conversion and it has to be adjusted manually.
You can select your InfoCube and check the various dimension tables. Select InfoCube type −
Aggregate Cube
Standard InfoCube
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 39/71
6/20/2018 SAP BW on HANA Quick Guide
There are two ways to convert standard InfoCube to HANA optimized InfoCube.
Go to InfoCube and click to open the editing screen. Select Conversion to SAP HANA optimized checkbox. You
can also check this property under InfoCube properties → Subtype. Open InfoCube and you can see the
subtype as HANA optimized InfoCube.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 40/71
6/20/2018 SAP BW on HANA Quick Guide
You can also call Transaction RSMIGRHANADB in BW system. This transaction will directly open the
screen to convert objects to HANA optimized objects.
You can select the object type and enter the name of the object. In the following screen, I have selected a
standard InfoCube to convert to HANA Optimized InfoCube.
You can also select an option to view the logs after conversion.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 41/71
6/20/2018 SAP BW on HANA Quick Guide
When the selected object is already HANA optimized object, or conversion is done, you will get the message as
shown in the following screenshot.
When you use SAP BW with non-HANA database, then BWA is a prerequisite to create Composite Providers.
The primary advantage of Composite Providers is that you can create new complex business scenarios by
combining InfoProviders using Join operation.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 42/71
6/20/2018 SAP BW on HANA Quick Guide
In Composite Provider screen, enter the name of the Composite Provider upto10characters and click the
Create button.
You can drag and drop the required InfoProviders f romtheI nf oP rovidertreeonthelef tof thescreen onto the
modeling area.
When you drag the InfoProviders, you can define binding type - Union or Join and click OK.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 43/71
6/20/2018 SAP BW on HANA Quick Guide
Next is to drag the fields from the InfoProviders → Composite Provider. These lines show the InfoProviders
fields that are used in Composite Provider. When you use data binding as Join, it is labeled with name Join.
You can also change the name of the field or can add a description. To change the field name, right-click on
the field name → Change Property → Change.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 44/71
6/20/2018 SAP BW on HANA Quick Guide
You can also assign a currency or unit from a characteristic to key figures. To do so, go to Context menu of Key
figure → Change Property → Change.
You can also see XML structure of composite provider using display XML option.
The next step is to activate the CompositeProvider. When the CompositeProvider is activated, the data is
stored in BW Accelerator or the SAP HANA database.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 45/71
6/20/2018 SAP BW on HANA Quick Guide
Log on to the BW Modeling Perspective with your BW credentials and attach your HANA system using the
context menu on your top project level folder, choosing the option Attach HANA system, without which you
will not be able to include native SAP HANA models in your Composite Provider.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 46/71
6/20/2018 SAP BW on HANA Quick Guide
Scenario − In this tab you add InfoProviders and HANA Views to Composite Provider. Go to Scenario
tab and you will see the default binding type. Click the Add sign.
When you click the Add sign, you will be prompted if you want to select an InfoProvider or HANA view. To
perform a search, enter * and you will see a list of available objects. Select any object that you want to add to
the Composite Provider.
Similarly, add an InfoProvider to your Composite Provider. Next is to add the fields from Source to Target by
dragging the fields. You can use Expand all to expand all the objects added. You can also apply a filter to
search a particular field.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 47/71
6/20/2018 SAP BW on HANA Quick Guide
Go to the output tab and you can see the mapping of added objects.
You can also analyze the result in the Problems log of this perspective.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 48/71
6/20/2018 SAP BW on HANA Quick Guide
To preview the data in HANA Studio, use the magnifying glass icon in the upper right corner → Show Preview.
To use advanced DSOs, you should have SAP HANA database support pack 08 or higher version and in the
backend you should have SAP BW 7.4 SPS9.
To create an Advanced DSO, right-click on your InfoArea and choose New DataStoreObject advanced.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 49/71
6/20/2018 SAP BW on HANA Quick Guide
Enter the name of DataStore - The technical name can be between three and nine characters long. If
you have a namespace for the DataStore object advanced, the name can only be eight characters long.
You can create a Transformation from your standard DSO to Advanced DSO that you have created in HANA
database. Go to SAP BW system, expand InfoCube and copy transformation from the existing DSO to the new
Advanced DSO.
You can create a new transformation and load the data to new Advanced Data Store Object.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 50/71
6/20/2018 SAP BW on HANA Quick Guide
When you execute a BEx query on HybridProvider, the data is read directly from the InfoCube. If you want to
read the data from DSO, you have to change the request in BEx designer.
Go to Properties → Advanced in BEx Query Designer and choose the request status as 2.
The DSO and InfoCube transformation is 1:1 and you can’t change this transformation.
In Hybrid Provider, data can be loaded from any type of source. All of the data is stored in the BW system or
in the BW Accelerator.
This allows you to access real-time data without any delay. You can load the data only from specific data
source.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 51/71
6/20/2018 SAP BW on HANA Quick Guide
When you create Information views in SAP HANA, data from BW data is published. These SAP HANA views
point directly to data and tables that are managed by the BW.
The data from SAP BW can be directly consumed in HANA Modeling views. You can generate SAP HANA
views for queries as InfoProviders in HANA database.
You can call up index maintenance for the object using the following options −
Method 1 − First method is to call the SAP BW Workbench using Transaction RSA1.
Select InfoProvider in the navigation. Right-click and select Maintain BW Accelerator Index. This opens SAP
HANA/BWA index administration screen.
Method 2 − Other ways to directly call SAP HANA/BWA index maintenance screen by using Transaction
RSDDB.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 52/71
6/20/2018 SAP BW on HANA Quick Guide
This opens the SAP HANA/BWA index maintenance screen. Select the BW object type - VirtualProvider or
Query as InfoProvider using the push button option.
Select the query that you want to generate SAP HANA view for → Create.
In the lower part of the screen, the system displays a list of all objects that already have a SAP HANA index.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 53/71
6/20/2018 SAP BW on HANA Quick Guide
You can’t index a query result, if the query meets any of the following conditions −
When a query contains a temporal join as a result, it can’t be stored in flat index because of hierarchy.
Select External SAP HANA Repository View. When you activate the index, SAP HANA view corresponding to
the structure of the object is generated on the SAP HANA database.
Use of Virtual Data Models hide the complexity of SAP business suite applications and data is available with
ease of access on data models. Virtual Data Model consists of the following types of view −
Query View
They are used for direct use in a HTML5 based Analytical application or to be used in an Analytical tool like
BusinessObjects. Query views are normally not reused in other views and always remain on the top of
hierarchy.
Reuse View
These views are the heart of virtual data models and are reused in other views. They are not designed to be
directly used in other analytical tools - Business Objects.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 54/71
6/20/2018 SAP BW on HANA Quick Guide
Private View
They are based on database tables, other private views, or reuse views. They do not contain any clear business
scenario so they are not classified as reuse views and hence cannot be used with other views.
All reporting in SAP HANA Live is based on the underlying computing engine and on realtime data from SAP
Business suite applications, hence there is no need to wait for data load.
In case, customers want to create new reports to enhance the existing ones, they just need to make changes to
virtual data models or create new HANA models to support the report development quickly.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 55/71
6/20/2018 SAP BW on HANA Quick Guide
In this scenario, you have two systems and data replications occur using SAP Landscape Transformation. To
execute SAP HANA Live views, you need to replicate the corresponding tables in HANA database.
Integration Scenario
SAP HANA Live and Business Suite system shares the same SAP HANA appliance and this scenario is suitable
for applications, which run directly on SAP HANA.
SAP HANA Replication allows migration of data from source systems to SAP HANA database. A simple way to
move data from the existing SAP system to HANA is by using various data replication techniques.
System replication can be set up on the console via command line or by using HANA studio. The primary ECC
or transaction systems can stay online during this process. There are three types of data replication methods
in HANA system −
There is a Trusted RFC connection between HANA DB and ECC transaction system which enables trigger
based data replication in HANA system environment. In the following image, you can see SAP HANA SLT
replication scenario for real-time data replication.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 56/71
6/20/2018 SAP BW on HANA Quick Guide
SLT Replication method allows data replication from multiple source systems to one HANA system and
also from one source system to multiple HANA systems.
SAP LT uses trigger-based approach. It has no measurable performance impact on the source system.
It also provides data transformation and filtering capability before loading to HANA database.
It allows real-time data replication, replicating only relevant data into HANA from SAP and non-SAP
source systems.
Using RFC trusted/trusting relationship between two SAP systems, RFC from a trusted system to a trusting
system, password is not required for logging on to the trusting system.
Open the SAP ECC system using SAP logon. Enter transaction number sm59. This is the transaction
number to create a new Trusted RFC connection → Click the third icon to open a new connection wizard →
Click Create and a new window will open.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 57/71
6/20/2018 SAP BW on HANA Quick Guide
Go to Technical Setting: Enter Target host: ECC system name, IP and enter System number.
Go to Logon & Security tab, Enter Language, Client, ECC system username and password.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 58/71
6/20/2018 SAP BW on HANA Quick Guide
Click the Test Connection and it will successfully test the connection.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 59/71
6/20/2018 SAP BW on HANA Quick Guide
Click New. A new window will open. Enter the configuration name. Click Next. Enter RFC Destination
connectionnamecreatedearlier, use search option, choose name and click next.
In Specify Target system, enter HANA system admin username and password, host name, Instance number
and click Next. Enter the No. of Data transfer jobs like 007 itcan′tbe000 → Next → Create Configuration.
Now go to HANA Studio to use this connection and follow the path: Go to HANA Studio → Click on Data
Provisioning → Choose HANA system.
Select the source system nameof trustedRF C connection and target schema name where you want to load the
tables from ECC system. Select the tables you want to move to HANA database → ADD → Finish.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 60/71
6/20/2018 SAP BW on HANA Quick Guide
The selected tables will move to the chosen schema under HANA database.
In the above figure, you can see the simple architecture of SLT data replication with SAP BW system. SLT data
replication is suggested for simple tables without any join or transformation. SLT replication server can be
used by SAP BW customers and it is independent of underneath database.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 61/71
6/20/2018 SAP BW on HANA Quick Guide
DB Connect is used to define other database connection in addition to default connection and these
connections are used to transfer data into the BI system from tables or views.
Tools
Source Application Knowledge
SQL Syntax in Database
Database Functions
Prerequisites
In case, your source Database management system is different from BI DBMS, you need to install database
client for source DBMS on BI application server.
DB Connect key features include loading of data into BI from a database that is supported by SAP. When you
connect a database to BI as the source system, it requires creating a direct point of access to the external
relational database management system.
DB Architecture
SAP NetWeaver component multiconnect function allows you to open extra database connections in addition
to SAP default connection and you can use this connection to connect to the external database.
DB Connect can be used to establish a connection of this type as a source system connection to BI. The DB
Connect enhancements to the database allows you to load the data to BI from the database tables or views of
external applications.
For default connection, DB Client and DBSL are preinstalled for Database Management System DBM S . To
use DB Connect to transfer data into the BI system from other database management systems, you need to
install database-specific DB Client and database-specific DBSL on the BI application server that you are using
to run DB connect.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 62/71
6/20/2018 SAP BW on HANA Quick Guide
Enter logical system name DBC onnect and description. Click Continue.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 63/71
6/20/2018 SAP BW on HANA Quick Guide
Enter the DBMS that you want to use to manage the database.
Enter the database user under whose name you want the connection to be opened and the DB Password has to
enter for authentication by the database.
In Connection Info, you have to enter the technical information required to open the database connection.
Permanent Indicator − You can set this indicator to maintain a permanent connection to database. If the
first transaction is ended, each transaction is checked to see if the connection can be reinitiated.
You can use this option, If the DB connection has to be accessed frequently.
Save this configuration and you can click go back to see in the table.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 64/71
6/20/2018 SAP BW on HANA Quick Guide
Search for Analytical view with the name as InfoCube. Right-click → Open Definition. You can select the auto
layout function.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 65/71
6/20/2018 SAP BW on HANA Quick Guide
When you migrate from SAP BW to HANA database, there are various process types that are obsolete. If you
use SAP HANA database, the following process types in the process chain are not required −
You don’t need to modify the process chains to remove these process types. The process chain continues to
run without errors. When you check the log of Process Chain, you will see these steps are not executed.
You can monitor the status of current runs for selected process chains. You can also navigate to the detailed
view of the process chain runs from this transaction.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 66/71
6/20/2018 SAP BW on HANA Quick Guide
HANA VS BWA
BW Accelerator BW A and HANA both are in-memory tools and provide you the options to accelerate the
query performance by persisting copies of InfoCube in-memory. BWA was the first to bring in-memory
concept to Data Warehousing and SAP HANA allows the entire applications to run on HANA in-memory
database.
Following are the key differences between SAP HANA and BWA −
BW Accelerator BW A
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 67/71
6/20/2018 SAP BW on HANA Quick Guide
BW Accelerator is specifically designed for Business Warehouse system 7.0 or higher to accelerate the
query performance. It reduces the data acquisition time by persisting copies of InfoCube data in-
memory.
BWA is a solution to achieve better performance without making any changes to BI/BW application.
It reads SAP BW/BI data and provides accelerated read process and feeds the results to BI/BW queries.
You can create BEx reports or reporting in Analytical tool like BusinessObjects or even Dashboards
using accelerated queries with BWA.
SAP HANA supports real-time data load and reporting using SLT replication triggerbased data
provisioning.
Data sets are loaded to SAP HANA and using BI tools you can consume HANA data models for data
analysis and reporting.
You can access SAP and non-SAP data in SAP HANA, including SAP BW.
Data is stored in column-based storage and hence provides data compression and less time to perform
aggregations. There is no need to save aggregated data and aggregations can be performed on the fly.
Note −
When you migrate SAP BW powered by HANA, BWA is obsolete. You can check with the BWA
hardware vendor to credit BWA license. Few hardware vendors allow you to credit BWA hardware
when you get a new hardware appliance of SAP HANA.
Query run-time on SAP BW on HANA and BWA is comparable. In some scenarios, queries run faster on
BW on HANA as compared to BWA.
When you use BW on HANA, all BWA index build is eliminated. When data load is performed, it is
immediately available.
In SAP HANA, analytical privileges are used to limit the row level access on modeling views. Analytic
privileges are handled as filters for database queries. Users only see the data for which they have an analytic
privilege.
You can assign different types of right to different users on different component of a View in Analytic
Privileges.
Sometimes, it is required that data in the same view shouldn’t be accessible to other users who do not have
any relevant requirement for that data.
Example
Suppose you have an Analytic view EmpDetails that has details about the employees of an organization - Emp
name, Emp Id, Dept, Salary, Date of Joining, Emp logon, etc. Now if you don’t want your Report developer to
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 68/71
6/20/2018 SAP BW on HANA Quick Guide
see Salary details or Emp logon details of all employees, you can hide this by using the Analytic privileges
option.
Analytic Privileges are only applied to attributes in an Information View. We cannot add measures to restrict
access in Analytic Privileges.
Analytic Privileges are used to control read access on SAP HANA Information views. Hence, we can restrict
data by Empname, EmpId, Emp logon or by Emp Dept and not by numerical values like salary and bonus.
Enter the name and Description of Analytic Privilege → Finish. A new window will open.
You can click the Next button and add Modeling view in this window before you click on Finish. There is also
an option to copy an existing Analytic Privilege package.
In BW, the users can only execute BEx queries on which they are authorized. In case you don’t have a
permission to run a query, an error message is displayed.
To create SAP HANA views from InfoProviders, the following approach can be used: XML- based Analytical
Privilege.
When SAP HANA views are created from InfoProviders from SAP HANA, you can use XMLbased analytical
privilege to be applied: SQL-based Analytical Privilege.
When SAP HANA views are created from BW InfoProviders from SAP BW, SQL-based analytical privileges are
used.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 69/71
6/20/2018 SAP BW on HANA Quick Guide
Package privilege − REPO.READ on the content package where generated SAP HANA views are
stored.
CONSULTANT RESPONSIBILITIES
A person should have good experience in SAP BW with expert level knowledge on SAP BW on SAP HANA
projects. He/she should have worked in projects involving SAP BW modelling with respect to SAP HANA
using composite providers, Advance DSOs, ODP, LSA ++ and using BW objects exposed as HANA views.
Implementing SAP BW on HANA specific modelling like Composite Providers and exposing BW objects
in HANA Views, Operational Data Provisioning, LSA++, etc.
Work on HANA Studio - Schemas and tables on HANA, attribute view, analytical view and Calculation
views.
Developing and handling hybrid scenarios - BW data models and HANA views as per the requirement.
Knowledge on BOBJ tools like WEBI, Lumira, and Design studio is a plus.
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 70/71
6/20/2018 SAP BW on HANA Quick Guide
https://www.tutorialspoint.com/cgi-bin/printpage.cgi 71/71