Professional Documents
Culture Documents
Public
Speakers
Las Vegas, Sept 19 - 23
Bangalore, October 5 - 7
Barcelona, Nov 8 - 10
Sebastian Baumgrtner
Edwin Dayanandh
Oliver Schall
Public
Disclaimer
The information in this presentation is confidential and proprietary to SAP and may not be disclosed without the permission of
SAP. Except for your obligation to protect confidential information, this presentation is not subject to your license agreement or
any other service or subscription agreement with SAP. SAP has no obligation to pursue any course of business outlined in this
presentation or any related document, or to develop or release any functionality mentioned therein.
This presentation, or any related document and SAP's strategy and possible future developments, products and or platforms
directions and functionality are all subject to change and may be changed by SAP at any time for any reason without notice.
The information in this presentation is not a commitment, promise or legal obligation to deliver any material, code or functionality.
This presentation is provided without a warranty of any kind, either express or implied, including but not limited to, the implied
warranties of merchantability, fitness for a particular purpose, or non-infringement. This presentation is for informational
purposes and may not be incorporated into a contract. SAP assumes no responsibility for errors or omissions in this
presentation, except if such damages were caused by SAPs intentional or gross negligence.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially
from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only
as of their dates, and they should not be relied upon in making purchasing decisions.
Public
Agenda
Introduction / Motivation for Mixed Case Scenarios
Public
Introduction / Motivation
Public
DMM302 (L1)
SAP HANA Data Warehousing: Models
for SAP BW and SQL DW on SAP HANA
BI Clients
<
SAP BW
Mixed Architecture
SAP HANA
Modeling
BW Modeling
SAP HANA
Sources
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
Introduction / Motivation
Mixed Case Scenarios
In addition to classic BW scenarios, pure native modeling capabilities are now available as well as
BW powered by SAP HANA (BW optimized with SAP HANA features, e.g. BW on SAP HANA
Transformations)
More possibilities / larger flexibility
New know-how / guidelines / best practices required
This session aims to provide insight / experiences how to approach modeling and shows different
options
Public
Introduction / Motivation
Mixed Case Scenarios
Application requirements and the existing landscape are drivers for a new architecture
and its focus area
We will introduce selected options in an overview before showing best practices for detailed
implementation aspects
Public
Architecture Overview
Public
Architecture Overview
Staging Capabilities
Repository
SAP BW
Data Warehousing
SQLScript
Data Acquisition
SAP HANA
Sources
Public
10
Architecture Overview
BI Clients
SAP
HANA
Views
Repository
SAP BW
SAP
HANA
Views
Data Warehousing
Data Acquisition
SAP HANA
gen.
SAP
HANA
Views
Sources
Public
11
Architecture Overview
BI Clients
SAP BW
Analytic Engine
BW Query
Data Warehousing
Workspaces
Repository
BW Query
Data Acquisition
SAP HANA
gen.
SAP
HANA
Views
gen.
SAP
HANA
Views
Sources
Public
12
Architecture Overview
BI Clients
SAP BW
Analytic Engine
Repository
BW Query
Composite Provider
SAP
HANA
Views
Data Warehousing
Data Acquisition
SAP HANA
Sources
Public
13
Architecture Overview
BI Clients
SAP BW
Analytic Engine
Repository
BW Query
Composite Provider
SAP
HANA
Views
SAP HANA
Sources
Public
14
SAP BW
Data Warehousing
SQLScript
Data Acquisition
SAP HANA
Sources
Public
Public
16
Similar to generated program for ABAP the generated SAP HANA Transformation can be displayed
Public
17
CalculationScenario
Public
18
Public
19
HAP
TR_00O2TMRZFVSBOQ6FLWQERAEAH
Standard
0BW_PROJECTION
HAP
TR_00O2TMRZFVSBOQ6FLWQERAEAH2
Standard
0BW_PROJECTION
HAP
TR_00O2TMRZFVSBOQ6FLWQERAEAH1
DTP_00O2TMRZFVSBOQ6FLWQERAEAH
Public
20
Public
21
Public
22
Public
23
Public
24
Initialize Debugging
To debug a SAP HANA Script
it is necessary to execute the
DTP in the Execution mode
(not in the simulation mode)
Debug Perspective
To debug the procedure it is
necessary to switch to the
Debug Perspective
Public
25
Variables
Call Stack Information
Available variables
Public
26
allows the execution in ABAP as well as SAP HANA easier for functional debugging; later SAP HANA as performance
mode
transferring ABAP code to SQL Script in AMDPs requires careful review from performance perspective
new skillset for programming / debugging / performance analysis required (new debugging features with SAP HANA SP10)
expert routine was often used to avoid overhead of the generated program no driver for SAP HANA Expert Script
embedded calculation scenarios create complex plans which are complicated to analyze
even optimized plans might contain more operations than necessary performance drain
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
27
Sources
gen.
SAP
HANA
Views
BW Query
BW Query
Data Warehousing
Workspaces
Data Warehousing
Analytic Engine
Repository
Repository
SAP
HANA
Views
SAP HANA
SAP BW
SAP
HANA
Views
SAP BW
Data Acquisition
BI Clients
gen.
SAP
HANA
Views
gen.
SAP
HANA
Views
Data Acquisition
SAP HANA
Sources
Public
how can you transform your architecture from pull to push (*)?
(*)
TechEd 2015 (DMM301) focused on maintenance aspects as well as feature coverage (Calculation View via Modeler vs. Composite Provider / External Query View)
Push mechanism simplifies governance and allows simple adoption of new BW features. New WEB Modeler and BW Edition for SAP HANA will not support Pull mechanism.
Public
29
An Analytic View for the selected Info Providers will be created in a specified package
Optionally classic (XML-based) Analytical Privileges can be created (view always applies privileges)
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
30
Analytic View will be created in a globally specified package at Info Provider activation
Generated View secured by SQL Analytic Privileges (optionally SQL-APs can be generated
based on BW analysis authorizations)
Public
31
Public
32
Public
33
Public
34
Public
35
Minimal manual effort (reuses old models but not fully governed by BW higher maintenance efforts)
Not feasible in all cases (e.g. no push for Part Providers of SPO possible expose via Composite
Provider)
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
36
Create a new Composite Provider and consume the relevant Info Providers as required
In the SPO case create an empty Composite Provider and add the SPO as a data source
Public
37
Public
38
Public
39
For other BW providers the external view uses the 0BW:BIA view
(internal logical representation) as a datasource (therefore no difference
as both views are identical)
Public
40
Replace Calculation View Node with a Data Source (here: Composite Provider external view)
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
41
Public
42
If Composite Provider and Query designer features can represent original model a full remodeling
governed by BW is possible
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
43
External View for BW Query is exposed in a package named after the underlying Info Provider
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
44
Public
45
In addition to SQL access via the external view, the access via BW BICS is possible with this modeling
approach as well
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
46
Pull
Push
No NLS connection
ADSO push possible (NAV attributes via Composite Provider Note 2215947)
Comparison of the Two Methods for Creating Views in SAP HANA for BW Objects
http://help.sap.com/saphelp_nw75/helpdata/en/17/8745cfaeed428eb1fa6d86ad2e40e6/content.htm
Public
47
Public
48
BW table RS2HANA_AUTH_STR contains filter values according to authorizations for current SESSION_USER
Mapping between BW User and SAP HANA User is maintained in transaction SU01 DBMS Tab
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
49
Per default BW analysis authorizations will be generated at Info Provider activation / transport
Public
50
SQL APs need to be created manually analog to classic APs (no conversion routine available)
SQL APs are assigned to SQL users and will be checked at runtime
Public
51
Transformation to push on physical Info Provider level or Composite Provider / External Query View
level possible
Public
52
BI Clients
SAP BW
Repository
BW Query
Composite Provider
Data Warehousing
SAP
HANA
Views
Analytic Engine
BW Query
Repository
Analytic Engine
SAP BW
Composite Provider
SAP
HANA
Views
Data Acquisition
SAP HANA
Sources
SAP HANA
Sources
Public
create a persistence in BW
Public
54
combines data from BW Info Providers (Info Object, DSO, SPO, Info Cube, SAP HANA Views, Open ODS Views) for
reporting
integrates / conforms data from external objects like database tables, database or SAP HANA views, virtual tables or BW
Datasources with direct access
Public
55
Public
56
Public
57
basic conversions available in Open ODS View (calculation scenario since BW 7.40 SP8)
SQL View not recommended as it can disrupt query optimization especially before SAP HANA SP10
more complex conversions can be explicitly modeled in a calculation view (cast operations with calculated columns) might
prevent filter push-down / causes larger intermediate results
Public
58
additional encapsulation of information view into Open ODS View might be beneficial
consider effects of conforming data types (Open ODS View Conversions to staging solution via SAP HANA enabled
transformations)
Public
59
No exception aggregation in
case several source fields are
mapped to one target field
Referential
Integrity
Null Value
handling
SAP HANA
Composite Provider
Fields w/o
InfoObject
Association
No OLAP Cache
Local SID limitations
No NLS in case HCPR runtime
is required (e.g. Joins,
Navigational Attribute, etc.)
No parallel processing
SAP HANA pushdown
operations may not be possible
Public
60
- To avoid special NULL value handling for SAP HANA models is to guarantee that master data exisits for
any transactional record and referential integrity is flagged.
2016 SAP SE or an SAP affiliate company. All rights reserved.
Public
61
Compounding Problem
-
Public
62
The Flag User confirmed Referential Integrity must only be set if master data values exist in BW for any
transactional record returned by the HCPR. Otherwise the result set of a query might be filtered by the
existing values in the BW master data tables
Referential Integrity in a HCPR with SAP HANA models may be beneficial to avoid the special handling of
NULL values (see also Null value handling)
No exception aggregation push down in case several source fields are mapped to one target field.
NearLine Storage
-
NLS requires a separate data access and is not embedded directly in the CompositeProvider runtime,
therefore NLS can only be used if the HCPR runtime is not required. Joins, navigation attributes which cannot
be read from relevant PartProvider, etc. require HCPR runtime
Key-based processing
-
SAP HANA exception aggregation pushdown with (BW <= 7.40) only possible if master data SIDs are
available in the InfoProvider or by joining the master data SID table
Public
63
Keynotes
Demo Jam
SAP TechEd live interviews
Select lecture sessions
Hands-on sessions
Public
64
Further information
Related SAP TechEd sessions:
DMM104 - SAP HANA Data Warehousing: Overview, Components, and Future Strategy
DMM162 - SAP HANA Data Warehousing: Build and Run a SQL Data Warehouse on SAP HANA
DMM203 - New Approaches for Data Modeling with SAP HANA
DMM260 - Introduction to Data Modeling in SAP HANA
DMM265 - SAP HANA Data Warehousing: Simplified Modeling with SAP BW 7.5 SP4
DMM268 - SAP HANA Data Warehousing: Mixed Scenario for SAP BW and SQL DW on SAP HANA
DMM269 - End-to-End Model Performance Analysis in Native SAP HANA Platform Scenarios
DMM302 - SAP HANA Data Warehousing: Models for SAP BW and SQL DW on SAP HANA
DMM360 - Advanced Data Modeling in SAP HANA
Lecture (1hr)
Workshop (2hr)
Lecture (1hr)
Workshop (2hr)
Workshop (2hr)
Workshop (2hr)
Workshop (2hr)
Lecture (2hr)
Workshop (2hr)
Public
65
Feedback
Please complete your
session evaluation for
DMM300
Contact information:
F name MI. L name
Title
email address
Public
66
Public
67