SlideShare uma empresa Scribd logo
1 de 87
SAP Hana Technical Workshop
High Performance Analytics
October 6, 2011
SAP HANA Overview
© 2011 SAP AG. All rights reserved. 4Confidential
AGENDA
 HANA Overview & Roadmap
 HANA Architecture
 Introduction to SAP HANA Studio
 Loading Data into HANA
 Start hands on workshop
• Modeling Data – Attribute Views
• Modeling Data – Analytic Views
• Viewing Results – SAP Business Objects Clients
• Advanced Information Models
 Wrap Up – Q & A
LUNCH IS SCHEDULED FOR 11:30
5
6
SAP in-memory innovations make
the “New Way” a reality
In-Memory
Row
+
Column
Database
Massively
Parallel
Processing
Calculation
Engine
Columnar storage increases the
amount of data that can be
stored in limited memory
(compared to disk)
Column databases enable
easier parallelization of
queries
Row database fast
transactional processing
In-memory processing
gives more time for
relatively slow updates
to column data
In-memory allows
sophisticated calculations
in real-time
MPP optimized software enables
linear performance scaling
making sophisticated calculations
like allocations possible
8
Enabling IT Agility
How Fast Can IT React on Change? – Empower Business People
How can In-Memory help?
 In-Database Analytics
 No aggregates
 No MOLAP cubes
 External hierarchies
 No re-alignment runs
 Virtual structures only
 Stable performance
traditional change management process
© 2011 SAP AG. All rights reserved. 9Confidential
SAP HANA Proof-Points
Enabling Business Agility
10
In-Memory Analytics
SAP HANA real-time operational
analytics
Complete BI Suite with BI 4 runs
on SAP HANA
Begin delivery of Baseline
Reporting packages
One Store for Data and
Analytics
SAP HANA only persistence layer
for SAP Business Suite
SAP Business Suite optimized for in-
memory computing
Flexible real time analysis of
operations at non-aggregated
level
Real-Time operational planning
and simulation capabilities:
link to execution
Primary persistence and
optimized for SAP BW
Reduced landscape complexity
Value chain transformation
CapabilitiesBenefits
Next-gen Applications
SAP BW fully running on SAP HANA
SAP HANA platform for in-memory apps
■ Industry and LOB Analytic Apps
■ Other purpose built apps
Further optimization of BI 4 Suite for SAP
HANA
SAP Business Suite begins move to SAP
HANA
SAP HANA
1.0 sp3
Vision
Longer-Term
SAP HANA Development Roadmap
Product Strategy and Plan
SAP HANA 1.0
Dec 2010
SAP HANA
1.0 sp1, July 2011
sp2
General
Availability
RTC
(Ramp-up)
11
Just Some of the New HANA-Enabled
Applications for 2011
SAP Cash and Liquidity Management: Allows companies to predict inbound and
outbound cash flows and risk management.
Sales and Operations Planning: This application will enable sales and marketing
departments to collaborate with operations and finance in order to evaluate the
impact of their strategies and make accurate predictions.
Intelligent Payment Broker: This application will calculate financing options on
open invoices and will help determine which discounting terms should be offered on
which invoices.
Smart Meter Analytics: The software for intelligent electricity meters: With this
application utility companies can analyze smart meter readings to forecast demand
and develop new products.
SAP Trade Promotion Management : Improves the planning process and helps
develop accurate strategies for particular customers.
12
SAP
CRM Rapid
Deployment
Solution
SAP ERP rapid-deployment solution for operational
reporting with SAP HANA™ software
Business Models and Reports included:
 Financial Reporting
 Sales Reporting
 Procurement Reporting
 Shipping Reporting
 Master Data Reporting
Solution to provide compelling SAP ERP operational analytics quickly and affordably
Description
An essential reporting software with fixed scope, predefined
services at a predictable price with the flexibility for future
extension. It provides a set of reports from the business area
of sales, financial, shipping, procurement, and master data.
Current situation
Reactive business model and lack of business transparency
due to sub-optimal execution speed of the current ERP
operational reporting solution
Value proposition
Provide flexible real time analytics, improve business
performance, strengthen competitive advantage, provide
quick wins for business.
Outcome opportunity
Sales people’s efficiency is increased, plans are more
accurate and reporting is more timely.
SAP HANA Architecture
© 2011 SAP AG. All rights reserved. 14Confidential
In-Memory Computing Engine
Admin and Data Modeling
Real–Time Replication Services
Data Integration Services
In-Memory
Row/Column
Data Store
Calculation
and Planning
Engine
SAP NetWeaver
BW
3rd Party
SAP
Business Suite
Custom
Applications
SAP
BusinessObjects
MDX SQL Optimized
Data Management Service
SAP HANA – Complete Solution
Preconfigured Analytical
Appliance
■ In-Memory software + hardware
(Cisco, Dell, HP, IBM, Hitachi and Fujitsu)
In-Memory Computing Engine
Software
■ Data Modeling and Data Management
■ Real-time Data replication for SAP ECC
■ Data Integration for 3rd Party Systems
Capabilities Enabled
■ Analyze information in real-time at
unprecedented speeds on large volumes of
non-aggregated data
■ Create flexible analytic models based on
real-time and historic business data
■ Foundation for new category of
applications (e.g., planning, simulation) to
significantly outperform current applications
in category
■ Minimizes data duplication
© 2011 SAP AG. All rights reserved. 15Confidential
Architecture Overview
In-Memory Computing Engine and Surroundings
In-Memory Computing Engine
Clients (planned, e.g.) BI4 Explorer
Dashboard
Design
SAP BI4 universes
(WebI,...)
Request Processing / Execution Control
MS Excel
BI4 Analysis
SQL Parser MDX
SQL Script Calc Engine
Transaction
Manager
Session Management
Relational Engines
Row Store Column Store
Persistence LayerPage Management Logger
Disk Storage
Log VolumesData Volumes
Authorization
Manager
Metadata
Manager
In-Memory Computing Studio
Administration Modeling
ERP
ERP DB
System
Landscape
Transformation
SLT
SAP Business Objects BI4
Data
Services
Designer
SBO BI4
servers
( program
for client)
SBO BI4
Information
Design Tool
Other Source Systems
SAP
NetWeaver
BW
3rd Party
Data
Services
© 2011 SAP AG. All rights reserved. 16Confidential
Architecture Overview
In-Memory Computing Engine and Surroundings
Other Source Systems
ERP
ERP DB
In-Memory Computing Engine
Clients (planned, e.g.) BI4 Explorer
Dashboard
Design
SAP BI4 universes
(WebI,...)
Request Processing / Execution Control
MS Excel
BI4 Analysis
SQL Parser MDX
SQL Script Calc Engine
Transaction
Manager
Session Management
Relational Engines
Row Store Column Store
Persistence LayerPage Management Logger
Disk Storage
Log VolumesData Volumes
Authorization
Manager
Metadata
Manager
In-Memory Computing Studio
Administration Modeling
System
Landscape
Transformation
SLT
SAP Business Objects BI4
Data
Services
Designer
SBO BI4
servers
( program
for client)
SBO BI4
Information
Design Tool
SAP
NetWeaver
BW
3rd Party
Data
Services
In-Memory Computing Engine
Request Processing / Execution Control
SQL Parser MDX
SQL Script Calc Engine
Transaction
Manager
Session Management
Relational Engines
Row Store Column Store
Persistence LayerPage Management Logger
Disk Storage
Log VolumesData Volumes
Authorization
Manager
Metadata
Manager
SLT
© 2011 SAP AG. All rights reserved. 18Confidential
ERP
ERP DB
System
Landscape
Transformation
Architecture Overview
Loading Data into SAP HANA
In-Memory Computing Engine
Request Processing / Execution Control
SQL Parser MDX
SQL Script Calc Engine
Transaction
Manager
Session Management
Relational Engines
Row Store Column Store
Persistence LayerPage Management Logger
Disk Storage
Log VolumesData Volumes
Authorization
Manager
Metadata
Manager
In-Memory Computing Studio
Administration Modeling
SLT
Business Objects Enterprise
Data
Services
Designer
SBO BI4
servers
( program
for client)
SBO
Information
Design Tool
Other Source Systems
SAP
NetWeaver
BW
3rd Party
Data
Services
Clients (planned, e.g.) BI4 Explorer
Dashboard
Design
SAP BI4 universes
(WebI,...)
MS Excel
BI4 Analysis
© 2011 SAP AG. All rights reserved. 19Confidential
Architecture Overview
Data Modeling
In-Memory Computing Engine
Request Processing / Execution Control
SQL Parser MDX
SQL Script Calc Engine
Transaction
Manager
Session Management
Relational Engines
Row Store Column Store
Persistence LayerPage Management Logger
Disk Storage
Log VolumesData Volumes
Authorization
Manager
Metadata
Manager
In-Memory Computing Studio
Administration Modeling
SLT
Business Objects Enterprise
Data
Services
Designer
SBO BI4
servers
( program
for client)
SBO
Information
Design Tool
Other Source Systems
SAP
NetWeaver
BW
3rd Party
Data
Services
Clients (planned, e.g.) BI4 Explorer
Dashboard
Design
SAP BI4 universes
(WebI,...)
MS Excel
BI4 Analysis
ERP
ERP DB
System
Landscape
Transformation
© 2011 SAP AG. All rights reserved. 20Confidential
Clients (planned, e.g.)
Architecture Overview
Reporting
In-Memory Computing Engine
Request Processing / Execution Control
SQL Parser MDX
SQL Script Calc Engine
Transaction
Manager
Session Management
Relational Engines
Row Store Column Store
Persistence LayerPage Management Logger
Disk Storage
Log VolumesData Volumes
Authorization
Manager
Metadata
Manager
In-Memory Computing Studio
Administration Modeling
SLT
Business Objects Enterprise
Data
Services
Designer
SBO BI4
servers
( program
for client)
SBO
Information
Design Tool
Other Source Systems
SAP
NetWeaver
BW
3rd Party
Data
Services
BI4 Explorer
Dashboard
Design
SAP BI4 universes
(WebI,...)
MS Excel
BI4 Analysis
ERP
ERP DB
System
Landscape
Transformation
© 2011 SAP AG. All rights reserved. 21Confidential
Architecture Overview
Administration
In-Memory Computing Engine
Request Processing / Execution Control
SQL Parser MDX
SQL Script Calc Engine
Transaction
Manager
Session Management
Relational Engines
Row Store Column Store
Persistence LayerPage Management Logger
Disk Storage
Log VolumesData Volumes
Authorization
Manager
Metadata
Manager
In-Memory Computing Studio
Administration Modeling
SLT
Business Objects Enterprise
Data
Services
Designer
SBO BI4
servers
( program
for client)
SBO
Information
Design Tool
Other Source Systems
SAP
NetWeaver
BW
3rd Party
Data
Services
Clients (planned, e.g.) BI4 Explorer
Dashboard
Design
SAP BI4 universes
(WebI,...)
MS Excel
BI4 Analysis
ERP
ERP DB
System
Landscape
Transformation
© 2011 SAP AG. All rights reserved. 22Confidential
© 2011 SAP AG. All rights reserved. 23Confidential
© 2011 SAP AG. All rights reserved. 24Confidential
© 2011 SAP AG. All rights reserved. 25Confidential
HANA Modeling Process Flow
Import
Source
System
metadata
•Physical tables are
created
dynamically (1:1
schema definition
of source system
tables)
Provision
Data
•Physical tables are
loaded with content.
Create
Information
Models
•Database Views are
created
•Attribute Views
•Analytic Views
•Calculation Views
Deploy
•Column
views are
created and
activated
Consume
•Consume with
choice of client
tools
•BICS, SQL,
MDX
© 2011 SAP AG. All rights reserved. 26Confidential
HANA Information Models
Attribute Views – Think Master data or single
dimension view of data
Analytic Views – Think data cube or Star Schema
model / merged facts and dimension table
Calculation View – Think extended functionality or
complex calculation capabilities.
Introduction to SAP HANA Studio
© 2011 SAP AG. All rights reserved. 28Confidential
Framework for Modeling within HANA
Analyze Data in
Hana
Information
in single
table
Base Tables Only Joins
and
calculated
expressions
no
Access Base
Tables/ Attr
Views
yes
Use Attribute
Views
Star
Schema or
Aggregation
no
yes
Use Analytic
Views
yes
Try
Graphical
Calc View
not enough
Use
Graphical
Calc Views
yes
Use Scripted
Calc Views
not enough
Attribute views
Analytic Views
Calc Views
© 2011 SAP AG. All rights reserved. 29Confidential
Welcome to the SAP HANA Studio
Starting the Modeling Environment
• Find the Modeler short cut on the desktop
and double click to open it.
© 2011 SAP AG. All rights reserved. 30Confidential
Information Modeler – SAP HANA Studio
Tour of the UI:
• Based on Eclipse
• Consistent with other
SAP Modeling/Developer
tools
• Navigation
• Perspectives
• Information Panel
© 2011 SAP AG. All rights reserved. 31Confidential
Check System Status
It is possible to check
the status of the
HANA system from
the Modeler
• Select the IM2
system
• Click on the
Wrench
© 2011 SAP AG. All rights reserved. 32Confidential
Check System Status
From the Status
Window Navigate the
tabs
• Landscape
• Alerts
• Performance
• Load
© 2011 SAP AG. All rights reserved. 33Confidential
Navigating HANA
The Navigator view is the main
way to access content in the
HANA system.
Top level nodes are System
Instances.
Each instance contains:
 Catalog
 Authorizations/Security
 Schemas/Data Tables
 Content
 Virtual Information Models
Instance
Security
Schemas/Data
Information
Models
© 2011 SAP AG. All rights reserved. 34Confidential
Navigating HANA
Schemas provide a way
to organize and work
with the assets in your
database.
Here we can view and
modify the various
objects that are part of a
schema
For example, you can
look at the Definition of
a Table by Right clicking
on the Table name and
selecting Open
Definition.
© 2011 SAP AG. All rights reserved. 35Confidential
Navigating HANA
While in the Definition
view of the Table, you
can see:
• Names, data types, etc. of
the Table
• Indexes defined for the
Table
• Runtime Information
• Shows Table type (Column
or Row Store)
• Main/Delta Size
© 2011 SAP AG. All rights reserved. 36Confidential
Navigating HANA
Other actions that
are available on a
Table include:
•Open Content
• Displays the Top
1000 records
© 2011 SAP AG. All rights reserved. 37Confidential
Navigating HANA
Other actions that
are available on a
Table include:
•Open Content
• Displays the Top
1000 records
• Open Data
Preview
• Displays data in
table form
• Allows for basic
profiling of the
data.
© 2011 SAP AG. All rights reserved. 38Confidential
Navigating HANA
Other actions that are
available on a Table
include:
•Open Content
• Displays the Top 1000
records
• Open Data Preview
• Displays data in table
form
• Allows for basic profiling
of the data.
• Generate SQL
• Insert Statement
• Select Statement
• Visual SQL
• Use Table as Template
© 2011 SAP AG. All rights reserved. 39Confidential
Navigating HANA
A SQL Editor is
available for free
hand SQL
© 2011 SAP AG. All rights reserved. 40Confidential
Navigating HANA
Information Models are organized
under the Content folder in the
Navigator view.
Create/Modify/View
• Attribute Views
• Analytic Views
• Calculations Views
• Analytic Privileges
• Procedures
© 2011 SAP AG. All rights reserved. 41Confidential
Navigating HANA
Select Data Preview for the Analytic View ORDER_WAREHOUSE
Interact with the virtual views directly in the HANA Modeler
Loading Data into HANA
© 2011 SAP AG. All rights reserved. 43Confidential
Populating HANA with Data
Currently there are three primary ways for transporting data in to HANA:
• Direct import from within HANA
• System Landscape Transformation (SLT)
• Move data directly from ECC to HANA
• Supports near real-time replication from ECC
• SAP BusinessObjects Data Services
 Can be used on a broad array of data source including SAP ECC and SAP BW.
 Can source directly from SAP BW extractors
 Can support transformation logic in the data flow
© 2011 SAP AG. All rights reserved. 44Confidential
SAP BusinessObjects DataServices
Extractor Support
Use extractors in a data flow like a
regular source
© 2011 SAP AG. All rights reserved. 45Confidential
LT Replication Concept: Trigger-Based Approach
Configuration of LT Replication Server
RFC Connection
Table space (optional)
Replication mode
Connection to HANA
Number of jobs
A schema defines the configuration of
the data replication for a source system
© 2011 SAP AG. All rights reserved. 48Confidential
Loading Data into HANA
In the following section we will load data into HANA using SAP
BusinessObjects Data Services. We will perform the following steps:
1. Prepare the HANA system for the load
2. Perform the load from SAP Business Objects Data Services
3. Verify that the data was loaded correctly
© 2011 SAP AG. All rights reserved. 49Confidential
The Data Model
For our Exercise we are using the TPC-H database.
The data was generated with the publicly available utility used to generate
data for this benchmark. The default data set was generated with roughly 6
million records in the main fact table.
© 2011 SAP AG. All rights reserved. 50Confidential
Preparing to Load Data
• Navigate to the
ORDERS table in the
HANA_TPCH Schema.
• Right clink on the
ORDERS table and
select
“Generate”/”Select
Statement”
© 2011 SAP AG. All rights reserved. 51Confidential
Preparing to Load Data
Execute the SQL statement generated.
© 2011 SAP AG. All rights reserved. 52Confidential
Preparing to Load Data
Switch back to the SQL tab and change the SQL statement to the one belwo
and execute the statement. There should br 1.5 million records in the table.
© 2011 SAP AG. All rights reserved. 53Confidential
Prepare to Load Data
Delete the data in the table.
Input the SQL below and execute it.
© 2011 SAP AG. All rights reserved. 54Confidential
Load Data
Start the SAP BusinessObjects Data
Services client ( in a production system this
would be an automated process).
© 2011 SAP AG. All rights reserved. 55Confidential
Load Data
Log into the SAP BusinessObjectes
Data Services Client:
• User name: dsuser
• Password: abc123
• Select the “Log On” button
• Select the “Local Repo” Repository
• Select the “OK” button
© 2011 SAP AG. All rights reserved. 56Confidential
Load Data
Data Services Designer.
© 2011 SAP AG. All rights reserved. 57Confidential
Load Data
Open the “TPCH_Data_Load”
project by double clicking on
the folder in the lower left of
the UI.
© 2011 SAP AG. All rights reserved. 58Confidential
Load Data
Expand the TPCH_Job_Runner node until it looks like this.
© 2011 SAP AG. All rights reserved. 59Confidential
Load Data
Double Click on the Query Icon to see the data mappings from input table to
HANA table.
© 2011 SAP AG. All rights reserved. 60Confidential
Load Data
• Right click on the
“TPCH_Job_Runner”
node in the Project Area
panel and select
“Execute…”
• You will be prompted to
“Save all changes and
execute”. Select the
“Yes” button.
© 2011 SAP AG. All rights reserved. 61Confidential
Load Data
• You will see an “Execution
Properties Dialog.
• Do not alter the default
values and select the “OK”
button.
© 2011 SAP AG. All rights reserved. 62Confidential
Load Data
• Select the “Monitor” button in the top of the main window dialog to watch
the data load into HANA.
• 1,500,000 million rows should load in just under a minute.
• You can now Exit SAP Business Objects Data Services and return the the
SAP HANA Studio.
© 2011 SAP AG. All rights reserved. 63Confidential
Verify the Data
From the SAP HANA Studio Return to your SQL window and execute the
command below.
BEGIN HANDS-ON EXERCISE!
Modeling Data – Attribute Views
© 2011 SAP AG. All rights reserved. 66Confidential
The Data Model
For our Exercise we are using the TPC-H database.
The data was generated with the publicly available utility used to generate
data for this benchmark. The default data set was generated with roughly 6
million records in the main fact table.
© 2011 SAP AG. All rights reserved. 67Confidential
Framework for Modeling within HANA
Analyze Data in
Hana
Information
in single
table
Base Tables Only Joins
and
calculated
expressions
no
Access Base
Tables/ Attr
Views
yes
Use Attribute
Views
Star
Schema or
Aggregation
no
yes
Use Analytic
Views
yes
Try
Graphical
Calc View
not enough
Use
Graphical
Calc Views
yes
Use Scripted
Calc Views
not enough
Attribute views
Analytic Views
Calc Views
Modeling Data – Analytic Views
© 2011 SAP AG. All rights reserved. 82Confidential
Framework for Modeling within HANA
Analyze Data in
Hana
Information
in single
table
Base Tables Only Joins
and
calculated
expressions
no
Access Base
Tables/ Attr
Views
yes
Use Attribute
Views
Star
Schema or
Aggregation
no
yes
Use Analytic
Views
yes
Try
Graphical
Calc View
not enough
Use
Graphical
Calc Views
yes
Use Scripted
Calc Views
not enough
Attribute views
Analytic Views
Calc Views
Viewing Results
• SAP BusinessObjects Explorer
• SAP BusinessObjects Web Intelligence
More Complex Information Models
© 2011 SAP AG. All rights reserved. 119Confidential
Framework for Modeling within HANA
Analyze Data in
Hana
Information
in single
table
Base Tables Only Joins
and
calculated
expressions
no
Access Base
Tables/ Attr
Views
yes
Use Attribute
Views
Star
Schema or
Aggregation
no
yes
Use Analytic
Views
yes
Try
Graphical
Calc View
not enough
Use
Graphical
Calc Views
yes
Use Scripted
Calc Views
not enough
Attribute views
Analytic Views
Calc Views
© 2011 SAP AG. All rights reserved. 120Confidential
Calculation View
Graphical
JOINUNION
 No SQL coding required
 Union, Join, Projection nodes provided
 Join Column Tables (Analytical Views)
© 2011 SAP AG. All rights reserved. 121Confidential
Calculation View
SQLScript (Script-based)
 SQL or SQLScript required to create Script based Calculation Views
 Write SQL Select statements against existing raw tables or Column Stores
(preferred)
 Define output structure, activation creates column store based on Script
Output
© 2011 SAP AG. All rights reserved. 122Confidential
Creating a Calculation View
Graphical
A new Analytic View
was created
(Customer_Order) to
support this exercise.
This Analytic View
combines the Order
Fact table with the
Customer Attribute
View. Two
Calculated Attributes
were created to
capture Year and
Month.
© 2011 SAP AG. All rights reserved. 123Confidential
Creating a Calculation View
Graphical
This is the completed
Calculation View that we
will be creating.
The goal of this Calc View
is to Union the Current
Year and Prior Year Sales
together along with some
desired Attributes.
The new Customer_Order
Analytic View is the
source for this Calc View.
In the Projection you
specify the Attributes and
Measures you want to
include from the Analytic
Views, as well as two
calculated columns.
Each Projection will also
filter the data for a specific
Year.
© 2011 SAP AG. All rights reserved. 124Confidential
Creating a Calculation View
Graphical
A Union is configured to
define the mapping to
combine the 2 datasets.
Lastly the Output dataset
is defined.
© 2011 SAP AG. All rights reserved. 125Confidential
Creating a Calculation View
Graphical
Calc View Creation
 Right click on the
Calculation View Folder
and select New =>
Calculation View
 Provide a Name and
Description
 Leave the View Type as
Graphical as click “Next”
© 2011 SAP AG. All rights reserved. 126Confidential
Creating a Calculation View
Graphical
Calc View Creation
 The next dialog window
allows you to choose
tables, but we’re going
to use an Analytic View
so just click “Next”
 Expand the Analytic
Views Folder, Add
Customer_Order, and
Click “Finish”
© 2011 SAP AG. All rights reserved. 127Confidential
Creating a Calculation View
Graphical
Calc View Creation
The Initial View is defined with
the “Customer_Orders”
Analytic View and the Output
component.
 Add a “Projection”
Component
 Link the Customer_Order AV
with the Projection
Component
 Select the Projection
Component and add the
desired fields to the Output
(R_NAME,
N_NAME,C_MKTSEGMENT,
C_NAME, O_YEAR,
O_MONTH,
O_TOTALPRICE)
 Apply a Filter to the O_YEAR
so that Year = 1998 (Most
recent year in this dataset is
1998)
© 2011 SAP AG. All rights reserved. 128Confidential
Creating a Calculation View
Graphical
Calc View Creation
 Create a Calculated Column
for Current Year (The
Expression is just the
O_TOTALPRICE field
because the filter returns the
current year)
 Create a Calculated Column
for the PriorYear with the
Expression defined as 0. We
need this field so that the
Union will function properly
(All Queries in a Union need
the same number of fields.)
© 2011 SAP AG. All rights reserved. 129Confidential
Creating a Calculation View
Graphical
Calc View Creation
The Prior Year dataflow needs to be
added to the Calculation View.
 Drag the CUSTOMER_ORDER
Analytic View onto the pallet
 Add a “Projection” Component
 Link the Customer_Order AV with
the Projection Component
 Select the Projection Component
and add the desired fields to the
Output
 Apply a Filter to the O_YEAR so
that Year = 1997
 Create a Calculated Column for
Current Year (The Expression is 0)
 Create a Calculated Column for the
PriorYear with the Expression
defined as O_TOTALPRICE.
 NOTE: The Output fields and the
Calculated Columns for the Prior
Year Projection must be in the
same order as the Current Year
Projection.
© 2011 SAP AG. All rights reserved. 130Confidential
Creating a Calculation View
Graphical
Calc View Creation
The next step is to “Union” the two
Projections together.
 Add a Union component
 Add links from the two Projections
to the Union component.
 Select the Union component and
add the desired fields from the first
Projection to the Target panel (all
fields with the exception of
O_YEAR and O_TOTALPRICE)
 Map the fields from the second
Projection to the appropriate Target
field.
© 2011 SAP AG. All rights reserved. 131Confidential
Creating a Calculation View
Graphical
Calc View Creation
The next step is to link the Union
component to the Output Component
and specify the Output fields.
 Add a link from the Union
component to the Output
component.
 Add the Attribute fields. Select the
Output component and add the
desired fields as Attributes
 Add the Measure fields using the
same process.
 Save the Calc View
 Activate the Calc View
 Preview the Data
© 2011 SAP AG. All rights reserved. 132Confidential
Calculation View
Script
Calc View
This Calc View
accomplishes the same
thing but is defined using
the Script technique
instead of the Graphical
approach.
© 2011 SAP AG. All rights reserved. 133Confidential
SQLScript / R / BFL (Business Function Library)
Three ways to implement in-memory data mining and statistical analysis
SQLScript
 SQLScript is a set of SQL extensions which allow developers to push data-
intensive logic into the database in order to avoid massive data copies to the
application server and to leverage sophisticated parallel execution strategies of
the database.
R
 Through the R integration solution, developers can leverage open source R’s
3000+ external packages to perform wide-range data mining and statistical
analysis.
BFL (Business Function Library)
 BFL is the calculation library for the applications built on top of the SAP HANA
database. The business functions are written in C++ and executed in database
calculation engine. BFL has a roadmap for data mining and statistical algorithms.
© 2011 SAP AG. All rights reserved. 134Confidential
SQLScript
 The set of SQL extensions for the SAP HANA database which allow
developers to push data intensive logic into the database is called
SQLScript.
 These extensions are keys to avoiding massive data copies to the
application server and to leverage sophisticated parallel execution strategies
of the database.
 SQLScript V2 supports stored procedures, which provides enhanced control
flow capabilities and is positioned to be more suitable for pushing complex
parts of application logic to the database.
 It can meet some simple requirement for reporting, like join, aggregation, etc.
When it comes to data mining and statistic analysis, SQLScript is not
suitable for implementing complex algorithms.
© 2011 SAP AG. All rights reserved. 135Confidential
Calculation View (Scripting)
 Calculation View
 Define Table Output Structure
 Write SQL Statement.
 Ensure that the selected fields corresponds to previously defined Output table structure
of the function.
 Example :
SQL_A = SELECT MATNR, KUNNR, …. FROM
<COPA_ACTUAL_ANALYTICAL VIEW 1>
SQL_P = SELECT MATTNR_KUNNR, … FROM
<COPA_PROJECTED_ANALYTICAL VIEW 2>
TABLE_OUTPUT_STRUCTURE =
SELECT * FROM <SQL_A> UNION
SELECT * FROM <SQL_P>;
© 2011 SAP AG. All rights reserved. 137Confidential
R Integration with the SAP HANA database – Scenario 1
Join
OP
ROP
OLAP
OP
Calc. Engine
R External
Packages
(Forecasting,
Parallelism,
statistics, etc.)
RClient
SAP RHANA
Package
Send data
and R
script
NewDB Space OpenSource R
Space
1
3
NewDB
R
Integration
Open Source
R
2 Run the R scripts
Get back the
result from R
to SAP HANA
Usage Scenario 1
 Utilize Open Source R as the data mining calculation engine.
 Application developer can embedded R scripts in the
SQLScript.
CREATE FUNCTION LR( IN input1 SUCC_PREC_TYPE,
OUT output0 R_COEF_TYPE)
LANGUAGE RLANG AS'''
CHANGE_FREQ<-input1$CHANGE_FREQ;
SUCC_PREC<-input1$SUCC_PREC;
coefs<-coef(glm(SUCC_PREC ~
CHANGE_FREQ, family = poisson
));
INTERCEPT<-coefs["(Intercept)"];
CHANGEFREQ<-coefs["CHANGE_FREQ"];
result<-
as.data.frame(cbind(INTERCEPT,CHANGEFREQ))
''';
TRUNCATE TABLE r_coef_tab;
CALL LR(SUCC_PREC_tab,r_coef_tab );
SELECT * FROM r_coef_tab;
Sample Codes in SAP HANA SQLScript
© 2011 SAP AG. All rights reserved. 138Confidential
Business Function Library
Business Function Library (BFL) is the calculation library for Applications built on top of the SAP HANA
database. It resides in the Calculation Engine and consists of many Business Functions executing at the
database layer and is written in C++.
Significant performance improvements for
SAP apps
1. Utilizing new hardware i.e. multi core,
built in vector engine
2. Massive parallel main memory
processing
3. Changing the boundaries between
application server and data management
layer
Simplification of application programming
model
1. Usage of extended SQL(SQLScript)
2. Rich functionalities in the Calculation
Engine
3. Fast apps delivery
Design GoalsBFL Wiki
Thank You!

Mais conteúdo relacionado

Mais procurados

Hana Training Day 1
Hana Training Day 1Hana Training Day 1
Hana Training Day 1mishra4927
 
Asug SAP HANA Presentation - Perceptive Technologies SAP
Asug SAP HANA Presentation - Perceptive Technologies SAPAsug SAP HANA Presentation - Perceptive Technologies SAP
Asug SAP HANA Presentation - Perceptive Technologies SAPBrendan Kane
 
Introduction to HANA in-memory from SAP
Introduction to HANA in-memory from SAPIntroduction to HANA in-memory from SAP
Introduction to HANA in-memory from SAPugur candan
 
SAP HANA Use Cases in 27 Industries
SAP HANA Use Cases in 27 IndustriesSAP HANA Use Cases in 27 Industries
SAP HANA Use Cases in 27 IndustriesSAP Asia Pacific
 
New Economics of SAP Business Suite powered by SAP HANA
New Economics of SAP Business Suite powered by SAP HANANew Economics of SAP Business Suite powered by SAP HANA
New Economics of SAP Business Suite powered by SAP HANASAP Technology
 
Introducing the SAP high-performance analytic appliance (SAP HANA)
Introducing the SAP high-performance analytic appliance (SAP HANA)Introducing the SAP high-performance analytic appliance (SAP HANA)
Introducing the SAP high-performance analytic appliance (SAP HANA)IBM India Smarter Computing
 
Sap hana online training course ppt
Sap hana online training course pptSap hana online training course ppt
Sap hana online training course pptTrainings Customized
 
Sap hana as a service value propositionslideshare
Sap hana as a service value propositionslideshare Sap hana as a service value propositionslideshare
Sap hana as a service value propositionslideshare Ajay Kumar Uppal
 
Building the Business Case for SAP HANA
Building the Business Case for SAP HANABuilding the Business Case for SAP HANA
Building the Business Case for SAP HANAJohn Appleby
 
Sap HANA Presentation to SAPnsight Dallas Breakfast Huddle in June 2014
Sap HANA Presentation to SAPnsight Dallas Breakfast Huddle in June 2014Sap HANA Presentation to SAPnsight Dallas Breakfast Huddle in June 2014
Sap HANA Presentation to SAPnsight Dallas Breakfast Huddle in June 2014Denis ONeil
 
SAP HANA Native Application Development
SAP HANA Native Application DevelopmentSAP HANA Native Application Development
SAP HANA Native Application DevelopmentZaranTech LLC
 
Bw h 7.4 sp9 sp8-2014 roadmap
Bw h 7.4 sp9 sp8-2014 roadmapBw h 7.4 sp9 sp8-2014 roadmap
Bw h 7.4 sp9 sp8-2014 roadmapRavi Gs
 
Sap S4 HANA Everything You Need To Know
Sap S4 HANA Everything You Need To Know Sap S4 HANA Everything You Need To Know
Sap S4 HANA Everything You Need To Know Soumya De
 
COPA reporting challenges and HANA
COPA reporting challenges and HANA COPA reporting challenges and HANA
COPA reporting challenges and HANA Johannes Le Roux
 

Mais procurados (15)

Hana Training Day 1
Hana Training Day 1Hana Training Day 1
Hana Training Day 1
 
Asug SAP HANA Presentation - Perceptive Technologies SAP
Asug SAP HANA Presentation - Perceptive Technologies SAPAsug SAP HANA Presentation - Perceptive Technologies SAP
Asug SAP HANA Presentation - Perceptive Technologies SAP
 
SAP HANA
SAP HANASAP HANA
SAP HANA
 
Introduction to HANA in-memory from SAP
Introduction to HANA in-memory from SAPIntroduction to HANA in-memory from SAP
Introduction to HANA in-memory from SAP
 
SAP HANA Use Cases in 27 Industries
SAP HANA Use Cases in 27 IndustriesSAP HANA Use Cases in 27 Industries
SAP HANA Use Cases in 27 Industries
 
New Economics of SAP Business Suite powered by SAP HANA
New Economics of SAP Business Suite powered by SAP HANANew Economics of SAP Business Suite powered by SAP HANA
New Economics of SAP Business Suite powered by SAP HANA
 
Introducing the SAP high-performance analytic appliance (SAP HANA)
Introducing the SAP high-performance analytic appliance (SAP HANA)Introducing the SAP high-performance analytic appliance (SAP HANA)
Introducing the SAP high-performance analytic appliance (SAP HANA)
 
Sap hana online training course ppt
Sap hana online training course pptSap hana online training course ppt
Sap hana online training course ppt
 
Sap hana as a service value propositionslideshare
Sap hana as a service value propositionslideshare Sap hana as a service value propositionslideshare
Sap hana as a service value propositionslideshare
 
Building the Business Case for SAP HANA
Building the Business Case for SAP HANABuilding the Business Case for SAP HANA
Building the Business Case for SAP HANA
 
Sap HANA Presentation to SAPnsight Dallas Breakfast Huddle in June 2014
Sap HANA Presentation to SAPnsight Dallas Breakfast Huddle in June 2014Sap HANA Presentation to SAPnsight Dallas Breakfast Huddle in June 2014
Sap HANA Presentation to SAPnsight Dallas Breakfast Huddle in June 2014
 
SAP HANA Native Application Development
SAP HANA Native Application DevelopmentSAP HANA Native Application Development
SAP HANA Native Application Development
 
Bw h 7.4 sp9 sp8-2014 roadmap
Bw h 7.4 sp9 sp8-2014 roadmapBw h 7.4 sp9 sp8-2014 roadmap
Bw h 7.4 sp9 sp8-2014 roadmap
 
Sap S4 HANA Everything You Need To Know
Sap S4 HANA Everything You Need To Know Sap S4 HANA Everything You Need To Know
Sap S4 HANA Everything You Need To Know
 
COPA reporting challenges and HANA
COPA reporting challenges and HANA COPA reporting challenges and HANA
COPA reporting challenges and HANA
 

Semelhante a Hana To Go Presentation Final With Demo Screen Shots Nov8

Sap hana by jeff_word
Sap hana by jeff_wordSap hana by jeff_word
Sap hana by jeff_wordSunil Joshi
 
Disaster Recovery for SAP HANA with SUSE Linux
Disaster Recovery for SAP HANA with SUSE LinuxDisaster Recovery for SAP HANA with SUSE Linux
Disaster Recovery for SAP HANA with SUSE LinuxDirk Oppenkowski
 
SAP HANA – A Technical Snapshot
SAP HANA – A Technical SnapshotSAP HANA – A Technical Snapshot
SAP HANA – A Technical SnapshotDebajit Banerjee
 
MDS ap_OEM Product Portfolio Intorduction to the DT & Analytics
MDS ap_OEM Product Portfolio Intorduction to the DT & AnalyticsMDS ap_OEM Product Portfolio Intorduction to the DT & Analytics
MDS ap_OEM Product Portfolio Intorduction to the DT & AnalyticsMDS ap
 
WHY SAP Real Time Data Platform - RTDP
WHY SAP Real Time Data Platform - RTDPWHY SAP Real Time Data Platform - RTDP
WHY SAP Real Time Data Platform - RTDPugur candan
 
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAPGeneXus
 
0101 foundation - detailed view of hana architecture
0101   foundation - detailed view of hana architecture0101   foundation - detailed view of hana architecture
0101 foundation - detailed view of hana architectureRamakrishna Donepudi
 
Overview and what is sap hana 1.0 online training
Overview and what is sap hana 1.0 online training Overview and what is sap hana 1.0 online training
Overview and what is sap hana 1.0 online training NEWYORKSYS-IT SOLUTIONS
 
Top SAP Online training institute in Hyderabad
Top SAP Online training institute in HyderabadTop SAP Online training institute in Hyderabad
Top SAP Online training institute in HyderabadAadhyaKrishnan
 
Sap%20 high performance%20analytic%20application%201.0%20%e2%80%93%20a%20firs...
Sap%20 high performance%20analytic%20application%201.0%20%e2%80%93%20a%20firs...Sap%20 high performance%20analytic%20application%201.0%20%e2%80%93%20a%20firs...
Sap%20 high performance%20analytic%20application%201.0%20%e2%80%93%20a%20firs...Pallavi Choudhary
 
SAP HANA for SAP Overview
SAP HANA for SAP OverviewSAP HANA for SAP Overview
SAP HANA for SAP OverviewIliya Ruvinsky
 
The truth about hana. CTAC road to hana
The truth about hana. CTAC road to hanaThe truth about hana. CTAC road to hana
The truth about hana. CTAC road to hanaCtac Belgium
 
Hana To Go Presentation Final With Demo Screen Shots Nov8
Hana To Go Presentation Final With Demo Screen Shots Nov8Hana To Go Presentation Final With Demo Screen Shots Nov8
Hana To Go Presentation Final With Demo Screen Shots Nov8Doug Berry
 

Semelhante a Hana To Go Presentation Final With Demo Screen Shots Nov8 (20)

Sap hana
Sap hanaSap hana
Sap hana
 
HANA a PoV
HANA a PoVHANA a PoV
HANA a PoV
 
Sap hana by jeff_word
Sap hana by jeff_wordSap hana by jeff_word
Sap hana by jeff_word
 
Disaster Recovery for SAP HANA with SUSE Linux
Disaster Recovery for SAP HANA with SUSE LinuxDisaster Recovery for SAP HANA with SUSE Linux
Disaster Recovery for SAP HANA with SUSE Linux
 
Project report
Project reportProject report
Project report
 
SAP HANA – A Technical Snapshot
SAP HANA – A Technical SnapshotSAP HANA – A Technical Snapshot
SAP HANA – A Technical Snapshot
 
Saphana
SaphanaSaphana
Saphana
 
S4 HANA Launch MENA
S4 HANA Launch MENAS4 HANA Launch MENA
S4 HANA Launch MENA
 
HANA SITSP 2011
HANA SITSP 2011HANA SITSP 2011
HANA SITSP 2011
 
MDS ap_OEM Product Portfolio Intorduction to the DT & Analytics
MDS ap_OEM Product Portfolio Intorduction to the DT & AnalyticsMDS ap_OEM Product Portfolio Intorduction to the DT & Analytics
MDS ap_OEM Product Portfolio Intorduction to the DT & Analytics
 
WHY SAP Real Time Data Platform - RTDP
WHY SAP Real Time Data Platform - RTDPWHY SAP Real Time Data Platform - RTDP
WHY SAP Real Time Data Platform - RTDP
 
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
97. SAP HANA como plataforma de desarrollo, combinando el mundo OLTP + OLAP
 
0101 foundation - detailed view of hana architecture
0101   foundation - detailed view of hana architecture0101   foundation - detailed view of hana architecture
0101 foundation - detailed view of hana architecture
 
Overview and what is sap hana 1.0 online training
Overview and what is sap hana 1.0 online training Overview and what is sap hana 1.0 online training
Overview and what is sap hana 1.0 online training
 
Top SAP Online training institute in Hyderabad
Top SAP Online training institute in HyderabadTop SAP Online training institute in Hyderabad
Top SAP Online training institute in Hyderabad
 
Sap%20 high performance%20analytic%20application%201.0%20%e2%80%93%20a%20firs...
Sap%20 high performance%20analytic%20application%201.0%20%e2%80%93%20a%20firs...Sap%20 high performance%20analytic%20application%201.0%20%e2%80%93%20a%20firs...
Sap%20 high performance%20analytic%20application%201.0%20%e2%80%93%20a%20firs...
 
Simple Finance
Simple FinanceSimple Finance
Simple Finance
 
SAP HANA for SAP Overview
SAP HANA for SAP OverviewSAP HANA for SAP Overview
SAP HANA for SAP Overview
 
The truth about hana. CTAC road to hana
The truth about hana. CTAC road to hanaThe truth about hana. CTAC road to hana
The truth about hana. CTAC road to hana
 
Hana To Go Presentation Final With Demo Screen Shots Nov8
Hana To Go Presentation Final With Demo Screen Shots Nov8Hana To Go Presentation Final With Demo Screen Shots Nov8
Hana To Go Presentation Final With Demo Screen Shots Nov8
 

Hana To Go Presentation Final With Demo Screen Shots Nov8

  • 1. SAP Hana Technical Workshop High Performance Analytics October 6, 2011
  • 3.
  • 4. © 2011 SAP AG. All rights reserved. 4Confidential AGENDA  HANA Overview & Roadmap  HANA Architecture  Introduction to SAP HANA Studio  Loading Data into HANA  Start hands on workshop • Modeling Data – Attribute Views • Modeling Data – Analytic Views • Viewing Results – SAP Business Objects Clients • Advanced Information Models  Wrap Up – Q & A LUNCH IS SCHEDULED FOR 11:30
  • 5. 5
  • 6. 6 SAP in-memory innovations make the “New Way” a reality In-Memory Row + Column Database Massively Parallel Processing Calculation Engine Columnar storage increases the amount of data that can be stored in limited memory (compared to disk) Column databases enable easier parallelization of queries Row database fast transactional processing In-memory processing gives more time for relatively slow updates to column data In-memory allows sophisticated calculations in real-time MPP optimized software enables linear performance scaling making sophisticated calculations like allocations possible
  • 7. 8 Enabling IT Agility How Fast Can IT React on Change? – Empower Business People How can In-Memory help?  In-Database Analytics  No aggregates  No MOLAP cubes  External hierarchies  No re-alignment runs  Virtual structures only  Stable performance traditional change management process
  • 8. © 2011 SAP AG. All rights reserved. 9Confidential SAP HANA Proof-Points Enabling Business Agility
  • 9. 10 In-Memory Analytics SAP HANA real-time operational analytics Complete BI Suite with BI 4 runs on SAP HANA Begin delivery of Baseline Reporting packages One Store for Data and Analytics SAP HANA only persistence layer for SAP Business Suite SAP Business Suite optimized for in- memory computing Flexible real time analysis of operations at non-aggregated level Real-Time operational planning and simulation capabilities: link to execution Primary persistence and optimized for SAP BW Reduced landscape complexity Value chain transformation CapabilitiesBenefits Next-gen Applications SAP BW fully running on SAP HANA SAP HANA platform for in-memory apps ■ Industry and LOB Analytic Apps ■ Other purpose built apps Further optimization of BI 4 Suite for SAP HANA SAP Business Suite begins move to SAP HANA SAP HANA 1.0 sp3 Vision Longer-Term SAP HANA Development Roadmap Product Strategy and Plan SAP HANA 1.0 Dec 2010 SAP HANA 1.0 sp1, July 2011 sp2 General Availability RTC (Ramp-up)
  • 10. 11 Just Some of the New HANA-Enabled Applications for 2011 SAP Cash and Liquidity Management: Allows companies to predict inbound and outbound cash flows and risk management. Sales and Operations Planning: This application will enable sales and marketing departments to collaborate with operations and finance in order to evaluate the impact of their strategies and make accurate predictions. Intelligent Payment Broker: This application will calculate financing options on open invoices and will help determine which discounting terms should be offered on which invoices. Smart Meter Analytics: The software for intelligent electricity meters: With this application utility companies can analyze smart meter readings to forecast demand and develop new products. SAP Trade Promotion Management : Improves the planning process and helps develop accurate strategies for particular customers.
  • 11. 12 SAP CRM Rapid Deployment Solution SAP ERP rapid-deployment solution for operational reporting with SAP HANA™ software Business Models and Reports included:  Financial Reporting  Sales Reporting  Procurement Reporting  Shipping Reporting  Master Data Reporting Solution to provide compelling SAP ERP operational analytics quickly and affordably Description An essential reporting software with fixed scope, predefined services at a predictable price with the flexibility for future extension. It provides a set of reports from the business area of sales, financial, shipping, procurement, and master data. Current situation Reactive business model and lack of business transparency due to sub-optimal execution speed of the current ERP operational reporting solution Value proposition Provide flexible real time analytics, improve business performance, strengthen competitive advantage, provide quick wins for business. Outcome opportunity Sales people’s efficiency is increased, plans are more accurate and reporting is more timely.
  • 13. © 2011 SAP AG. All rights reserved. 14Confidential In-Memory Computing Engine Admin and Data Modeling Real–Time Replication Services Data Integration Services In-Memory Row/Column Data Store Calculation and Planning Engine SAP NetWeaver BW 3rd Party SAP Business Suite Custom Applications SAP BusinessObjects MDX SQL Optimized Data Management Service SAP HANA – Complete Solution Preconfigured Analytical Appliance ■ In-Memory software + hardware (Cisco, Dell, HP, IBM, Hitachi and Fujitsu) In-Memory Computing Engine Software ■ Data Modeling and Data Management ■ Real-time Data replication for SAP ECC ■ Data Integration for 3rd Party Systems Capabilities Enabled ■ Analyze information in real-time at unprecedented speeds on large volumes of non-aggregated data ■ Create flexible analytic models based on real-time and historic business data ■ Foundation for new category of applications (e.g., planning, simulation) to significantly outperform current applications in category ■ Minimizes data duplication
  • 14. © 2011 SAP AG. All rights reserved. 15Confidential Architecture Overview In-Memory Computing Engine and Surroundings In-Memory Computing Engine Clients (planned, e.g.) BI4 Explorer Dashboard Design SAP BI4 universes (WebI,...) Request Processing / Execution Control MS Excel BI4 Analysis SQL Parser MDX SQL Script Calc Engine Transaction Manager Session Management Relational Engines Row Store Column Store Persistence LayerPage Management Logger Disk Storage Log VolumesData Volumes Authorization Manager Metadata Manager In-Memory Computing Studio Administration Modeling ERP ERP DB System Landscape Transformation SLT SAP Business Objects BI4 Data Services Designer SBO BI4 servers ( program for client) SBO BI4 Information Design Tool Other Source Systems SAP NetWeaver BW 3rd Party Data Services
  • 15. © 2011 SAP AG. All rights reserved. 16Confidential Architecture Overview In-Memory Computing Engine and Surroundings Other Source Systems ERP ERP DB In-Memory Computing Engine Clients (planned, e.g.) BI4 Explorer Dashboard Design SAP BI4 universes (WebI,...) Request Processing / Execution Control MS Excel BI4 Analysis SQL Parser MDX SQL Script Calc Engine Transaction Manager Session Management Relational Engines Row Store Column Store Persistence LayerPage Management Logger Disk Storage Log VolumesData Volumes Authorization Manager Metadata Manager In-Memory Computing Studio Administration Modeling System Landscape Transformation SLT SAP Business Objects BI4 Data Services Designer SBO BI4 servers ( program for client) SBO BI4 Information Design Tool SAP NetWeaver BW 3rd Party Data Services In-Memory Computing Engine Request Processing / Execution Control SQL Parser MDX SQL Script Calc Engine Transaction Manager Session Management Relational Engines Row Store Column Store Persistence LayerPage Management Logger Disk Storage Log VolumesData Volumes Authorization Manager Metadata Manager SLT
  • 16. © 2011 SAP AG. All rights reserved. 18Confidential ERP ERP DB System Landscape Transformation Architecture Overview Loading Data into SAP HANA In-Memory Computing Engine Request Processing / Execution Control SQL Parser MDX SQL Script Calc Engine Transaction Manager Session Management Relational Engines Row Store Column Store Persistence LayerPage Management Logger Disk Storage Log VolumesData Volumes Authorization Manager Metadata Manager In-Memory Computing Studio Administration Modeling SLT Business Objects Enterprise Data Services Designer SBO BI4 servers ( program for client) SBO Information Design Tool Other Source Systems SAP NetWeaver BW 3rd Party Data Services Clients (planned, e.g.) BI4 Explorer Dashboard Design SAP BI4 universes (WebI,...) MS Excel BI4 Analysis
  • 17. © 2011 SAP AG. All rights reserved. 19Confidential Architecture Overview Data Modeling In-Memory Computing Engine Request Processing / Execution Control SQL Parser MDX SQL Script Calc Engine Transaction Manager Session Management Relational Engines Row Store Column Store Persistence LayerPage Management Logger Disk Storage Log VolumesData Volumes Authorization Manager Metadata Manager In-Memory Computing Studio Administration Modeling SLT Business Objects Enterprise Data Services Designer SBO BI4 servers ( program for client) SBO Information Design Tool Other Source Systems SAP NetWeaver BW 3rd Party Data Services Clients (planned, e.g.) BI4 Explorer Dashboard Design SAP BI4 universes (WebI,...) MS Excel BI4 Analysis ERP ERP DB System Landscape Transformation
  • 18. © 2011 SAP AG. All rights reserved. 20Confidential Clients (planned, e.g.) Architecture Overview Reporting In-Memory Computing Engine Request Processing / Execution Control SQL Parser MDX SQL Script Calc Engine Transaction Manager Session Management Relational Engines Row Store Column Store Persistence LayerPage Management Logger Disk Storage Log VolumesData Volumes Authorization Manager Metadata Manager In-Memory Computing Studio Administration Modeling SLT Business Objects Enterprise Data Services Designer SBO BI4 servers ( program for client) SBO Information Design Tool Other Source Systems SAP NetWeaver BW 3rd Party Data Services BI4 Explorer Dashboard Design SAP BI4 universes (WebI,...) MS Excel BI4 Analysis ERP ERP DB System Landscape Transformation
  • 19. © 2011 SAP AG. All rights reserved. 21Confidential Architecture Overview Administration In-Memory Computing Engine Request Processing / Execution Control SQL Parser MDX SQL Script Calc Engine Transaction Manager Session Management Relational Engines Row Store Column Store Persistence LayerPage Management Logger Disk Storage Log VolumesData Volumes Authorization Manager Metadata Manager In-Memory Computing Studio Administration Modeling SLT Business Objects Enterprise Data Services Designer SBO BI4 servers ( program for client) SBO Information Design Tool Other Source Systems SAP NetWeaver BW 3rd Party Data Services Clients (planned, e.g.) BI4 Explorer Dashboard Design SAP BI4 universes (WebI,...) MS Excel BI4 Analysis ERP ERP DB System Landscape Transformation
  • 20. © 2011 SAP AG. All rights reserved. 22Confidential
  • 21. © 2011 SAP AG. All rights reserved. 23Confidential
  • 22. © 2011 SAP AG. All rights reserved. 24Confidential
  • 23. © 2011 SAP AG. All rights reserved. 25Confidential HANA Modeling Process Flow Import Source System metadata •Physical tables are created dynamically (1:1 schema definition of source system tables) Provision Data •Physical tables are loaded with content. Create Information Models •Database Views are created •Attribute Views •Analytic Views •Calculation Views Deploy •Column views are created and activated Consume •Consume with choice of client tools •BICS, SQL, MDX
  • 24. © 2011 SAP AG. All rights reserved. 26Confidential HANA Information Models Attribute Views – Think Master data or single dimension view of data Analytic Views – Think data cube or Star Schema model / merged facts and dimension table Calculation View – Think extended functionality or complex calculation capabilities.
  • 25. Introduction to SAP HANA Studio
  • 26. © 2011 SAP AG. All rights reserved. 28Confidential Framework for Modeling within HANA Analyze Data in Hana Information in single table Base Tables Only Joins and calculated expressions no Access Base Tables/ Attr Views yes Use Attribute Views Star Schema or Aggregation no yes Use Analytic Views yes Try Graphical Calc View not enough Use Graphical Calc Views yes Use Scripted Calc Views not enough Attribute views Analytic Views Calc Views
  • 27. © 2011 SAP AG. All rights reserved. 29Confidential Welcome to the SAP HANA Studio Starting the Modeling Environment • Find the Modeler short cut on the desktop and double click to open it.
  • 28. © 2011 SAP AG. All rights reserved. 30Confidential Information Modeler – SAP HANA Studio Tour of the UI: • Based on Eclipse • Consistent with other SAP Modeling/Developer tools • Navigation • Perspectives • Information Panel
  • 29. © 2011 SAP AG. All rights reserved. 31Confidential Check System Status It is possible to check the status of the HANA system from the Modeler • Select the IM2 system • Click on the Wrench
  • 30. © 2011 SAP AG. All rights reserved. 32Confidential Check System Status From the Status Window Navigate the tabs • Landscape • Alerts • Performance • Load
  • 31. © 2011 SAP AG. All rights reserved. 33Confidential Navigating HANA The Navigator view is the main way to access content in the HANA system. Top level nodes are System Instances. Each instance contains:  Catalog  Authorizations/Security  Schemas/Data Tables  Content  Virtual Information Models Instance Security Schemas/Data Information Models
  • 32. © 2011 SAP AG. All rights reserved. 34Confidential Navigating HANA Schemas provide a way to organize and work with the assets in your database. Here we can view and modify the various objects that are part of a schema For example, you can look at the Definition of a Table by Right clicking on the Table name and selecting Open Definition.
  • 33. © 2011 SAP AG. All rights reserved. 35Confidential Navigating HANA While in the Definition view of the Table, you can see: • Names, data types, etc. of the Table • Indexes defined for the Table • Runtime Information • Shows Table type (Column or Row Store) • Main/Delta Size
  • 34. © 2011 SAP AG. All rights reserved. 36Confidential Navigating HANA Other actions that are available on a Table include: •Open Content • Displays the Top 1000 records
  • 35. © 2011 SAP AG. All rights reserved. 37Confidential Navigating HANA Other actions that are available on a Table include: •Open Content • Displays the Top 1000 records • Open Data Preview • Displays data in table form • Allows for basic profiling of the data.
  • 36. © 2011 SAP AG. All rights reserved. 38Confidential Navigating HANA Other actions that are available on a Table include: •Open Content • Displays the Top 1000 records • Open Data Preview • Displays data in table form • Allows for basic profiling of the data. • Generate SQL • Insert Statement • Select Statement • Visual SQL • Use Table as Template
  • 37. © 2011 SAP AG. All rights reserved. 39Confidential Navigating HANA A SQL Editor is available for free hand SQL
  • 38. © 2011 SAP AG. All rights reserved. 40Confidential Navigating HANA Information Models are organized under the Content folder in the Navigator view. Create/Modify/View • Attribute Views • Analytic Views • Calculations Views • Analytic Privileges • Procedures
  • 39. © 2011 SAP AG. All rights reserved. 41Confidential Navigating HANA Select Data Preview for the Analytic View ORDER_WAREHOUSE Interact with the virtual views directly in the HANA Modeler
  • 41. © 2011 SAP AG. All rights reserved. 43Confidential Populating HANA with Data Currently there are three primary ways for transporting data in to HANA: • Direct import from within HANA • System Landscape Transformation (SLT) • Move data directly from ECC to HANA • Supports near real-time replication from ECC • SAP BusinessObjects Data Services  Can be used on a broad array of data source including SAP ECC and SAP BW.  Can source directly from SAP BW extractors  Can support transformation logic in the data flow
  • 42. © 2011 SAP AG. All rights reserved. 44Confidential SAP BusinessObjects DataServices Extractor Support Use extractors in a data flow like a regular source
  • 43. © 2011 SAP AG. All rights reserved. 45Confidential LT Replication Concept: Trigger-Based Approach Configuration of LT Replication Server RFC Connection Table space (optional) Replication mode Connection to HANA Number of jobs A schema defines the configuration of the data replication for a source system
  • 44. © 2011 SAP AG. All rights reserved. 48Confidential Loading Data into HANA In the following section we will load data into HANA using SAP BusinessObjects Data Services. We will perform the following steps: 1. Prepare the HANA system for the load 2. Perform the load from SAP Business Objects Data Services 3. Verify that the data was loaded correctly
  • 45. © 2011 SAP AG. All rights reserved. 49Confidential The Data Model For our Exercise we are using the TPC-H database. The data was generated with the publicly available utility used to generate data for this benchmark. The default data set was generated with roughly 6 million records in the main fact table.
  • 46. © 2011 SAP AG. All rights reserved. 50Confidential Preparing to Load Data • Navigate to the ORDERS table in the HANA_TPCH Schema. • Right clink on the ORDERS table and select “Generate”/”Select Statement”
  • 47. © 2011 SAP AG. All rights reserved. 51Confidential Preparing to Load Data Execute the SQL statement generated.
  • 48. © 2011 SAP AG. All rights reserved. 52Confidential Preparing to Load Data Switch back to the SQL tab and change the SQL statement to the one belwo and execute the statement. There should br 1.5 million records in the table.
  • 49. © 2011 SAP AG. All rights reserved. 53Confidential Prepare to Load Data Delete the data in the table. Input the SQL below and execute it.
  • 50. © 2011 SAP AG. All rights reserved. 54Confidential Load Data Start the SAP BusinessObjects Data Services client ( in a production system this would be an automated process).
  • 51. © 2011 SAP AG. All rights reserved. 55Confidential Load Data Log into the SAP BusinessObjectes Data Services Client: • User name: dsuser • Password: abc123 • Select the “Log On” button • Select the “Local Repo” Repository • Select the “OK” button
  • 52. © 2011 SAP AG. All rights reserved. 56Confidential Load Data Data Services Designer.
  • 53. © 2011 SAP AG. All rights reserved. 57Confidential Load Data Open the “TPCH_Data_Load” project by double clicking on the folder in the lower left of the UI.
  • 54. © 2011 SAP AG. All rights reserved. 58Confidential Load Data Expand the TPCH_Job_Runner node until it looks like this.
  • 55. © 2011 SAP AG. All rights reserved. 59Confidential Load Data Double Click on the Query Icon to see the data mappings from input table to HANA table.
  • 56. © 2011 SAP AG. All rights reserved. 60Confidential Load Data • Right click on the “TPCH_Job_Runner” node in the Project Area panel and select “Execute…” • You will be prompted to “Save all changes and execute”. Select the “Yes” button.
  • 57. © 2011 SAP AG. All rights reserved. 61Confidential Load Data • You will see an “Execution Properties Dialog. • Do not alter the default values and select the “OK” button.
  • 58. © 2011 SAP AG. All rights reserved. 62Confidential Load Data • Select the “Monitor” button in the top of the main window dialog to watch the data load into HANA. • 1,500,000 million rows should load in just under a minute. • You can now Exit SAP Business Objects Data Services and return the the SAP HANA Studio.
  • 59. © 2011 SAP AG. All rights reserved. 63Confidential Verify the Data From the SAP HANA Studio Return to your SQL window and execute the command below.
  • 61. Modeling Data – Attribute Views
  • 62. © 2011 SAP AG. All rights reserved. 66Confidential The Data Model For our Exercise we are using the TPC-H database. The data was generated with the publicly available utility used to generate data for this benchmark. The default data set was generated with roughly 6 million records in the main fact table.
  • 63. © 2011 SAP AG. All rights reserved. 67Confidential Framework for Modeling within HANA Analyze Data in Hana Information in single table Base Tables Only Joins and calculated expressions no Access Base Tables/ Attr Views yes Use Attribute Views Star Schema or Aggregation no yes Use Analytic Views yes Try Graphical Calc View not enough Use Graphical Calc Views yes Use Scripted Calc Views not enough Attribute views Analytic Views Calc Views
  • 64. Modeling Data – Analytic Views
  • 65. © 2011 SAP AG. All rights reserved. 82Confidential Framework for Modeling within HANA Analyze Data in Hana Information in single table Base Tables Only Joins and calculated expressions no Access Base Tables/ Attr Views yes Use Attribute Views Star Schema or Aggregation no yes Use Analytic Views yes Try Graphical Calc View not enough Use Graphical Calc Views yes Use Scripted Calc Views not enough Attribute views Analytic Views Calc Views
  • 66. Viewing Results • SAP BusinessObjects Explorer • SAP BusinessObjects Web Intelligence
  • 68. © 2011 SAP AG. All rights reserved. 119Confidential Framework for Modeling within HANA Analyze Data in Hana Information in single table Base Tables Only Joins and calculated expressions no Access Base Tables/ Attr Views yes Use Attribute Views Star Schema or Aggregation no yes Use Analytic Views yes Try Graphical Calc View not enough Use Graphical Calc Views yes Use Scripted Calc Views not enough Attribute views Analytic Views Calc Views
  • 69. © 2011 SAP AG. All rights reserved. 120Confidential Calculation View Graphical JOINUNION  No SQL coding required  Union, Join, Projection nodes provided  Join Column Tables (Analytical Views)
  • 70. © 2011 SAP AG. All rights reserved. 121Confidential Calculation View SQLScript (Script-based)  SQL or SQLScript required to create Script based Calculation Views  Write SQL Select statements against existing raw tables or Column Stores (preferred)  Define output structure, activation creates column store based on Script Output
  • 71. © 2011 SAP AG. All rights reserved. 122Confidential Creating a Calculation View Graphical A new Analytic View was created (Customer_Order) to support this exercise. This Analytic View combines the Order Fact table with the Customer Attribute View. Two Calculated Attributes were created to capture Year and Month.
  • 72. © 2011 SAP AG. All rights reserved. 123Confidential Creating a Calculation View Graphical This is the completed Calculation View that we will be creating. The goal of this Calc View is to Union the Current Year and Prior Year Sales together along with some desired Attributes. The new Customer_Order Analytic View is the source for this Calc View. In the Projection you specify the Attributes and Measures you want to include from the Analytic Views, as well as two calculated columns. Each Projection will also filter the data for a specific Year.
  • 73. © 2011 SAP AG. All rights reserved. 124Confidential Creating a Calculation View Graphical A Union is configured to define the mapping to combine the 2 datasets. Lastly the Output dataset is defined.
  • 74. © 2011 SAP AG. All rights reserved. 125Confidential Creating a Calculation View Graphical Calc View Creation  Right click on the Calculation View Folder and select New => Calculation View  Provide a Name and Description  Leave the View Type as Graphical as click “Next”
  • 75. © 2011 SAP AG. All rights reserved. 126Confidential Creating a Calculation View Graphical Calc View Creation  The next dialog window allows you to choose tables, but we’re going to use an Analytic View so just click “Next”  Expand the Analytic Views Folder, Add Customer_Order, and Click “Finish”
  • 76. © 2011 SAP AG. All rights reserved. 127Confidential Creating a Calculation View Graphical Calc View Creation The Initial View is defined with the “Customer_Orders” Analytic View and the Output component.  Add a “Projection” Component  Link the Customer_Order AV with the Projection Component  Select the Projection Component and add the desired fields to the Output (R_NAME, N_NAME,C_MKTSEGMENT, C_NAME, O_YEAR, O_MONTH, O_TOTALPRICE)  Apply a Filter to the O_YEAR so that Year = 1998 (Most recent year in this dataset is 1998)
  • 77. © 2011 SAP AG. All rights reserved. 128Confidential Creating a Calculation View Graphical Calc View Creation  Create a Calculated Column for Current Year (The Expression is just the O_TOTALPRICE field because the filter returns the current year)  Create a Calculated Column for the PriorYear with the Expression defined as 0. We need this field so that the Union will function properly (All Queries in a Union need the same number of fields.)
  • 78. © 2011 SAP AG. All rights reserved. 129Confidential Creating a Calculation View Graphical Calc View Creation The Prior Year dataflow needs to be added to the Calculation View.  Drag the CUSTOMER_ORDER Analytic View onto the pallet  Add a “Projection” Component  Link the Customer_Order AV with the Projection Component  Select the Projection Component and add the desired fields to the Output  Apply a Filter to the O_YEAR so that Year = 1997  Create a Calculated Column for Current Year (The Expression is 0)  Create a Calculated Column for the PriorYear with the Expression defined as O_TOTALPRICE.  NOTE: The Output fields and the Calculated Columns for the Prior Year Projection must be in the same order as the Current Year Projection.
  • 79. © 2011 SAP AG. All rights reserved. 130Confidential Creating a Calculation View Graphical Calc View Creation The next step is to “Union” the two Projections together.  Add a Union component  Add links from the two Projections to the Union component.  Select the Union component and add the desired fields from the first Projection to the Target panel (all fields with the exception of O_YEAR and O_TOTALPRICE)  Map the fields from the second Projection to the appropriate Target field.
  • 80. © 2011 SAP AG. All rights reserved. 131Confidential Creating a Calculation View Graphical Calc View Creation The next step is to link the Union component to the Output Component and specify the Output fields.  Add a link from the Union component to the Output component.  Add the Attribute fields. Select the Output component and add the desired fields as Attributes  Add the Measure fields using the same process.  Save the Calc View  Activate the Calc View  Preview the Data
  • 81. © 2011 SAP AG. All rights reserved. 132Confidential Calculation View Script Calc View This Calc View accomplishes the same thing but is defined using the Script technique instead of the Graphical approach.
  • 82. © 2011 SAP AG. All rights reserved. 133Confidential SQLScript / R / BFL (Business Function Library) Three ways to implement in-memory data mining and statistical analysis SQLScript  SQLScript is a set of SQL extensions which allow developers to push data- intensive logic into the database in order to avoid massive data copies to the application server and to leverage sophisticated parallel execution strategies of the database. R  Through the R integration solution, developers can leverage open source R’s 3000+ external packages to perform wide-range data mining and statistical analysis. BFL (Business Function Library)  BFL is the calculation library for the applications built on top of the SAP HANA database. The business functions are written in C++ and executed in database calculation engine. BFL has a roadmap for data mining and statistical algorithms.
  • 83. © 2011 SAP AG. All rights reserved. 134Confidential SQLScript  The set of SQL extensions for the SAP HANA database which allow developers to push data intensive logic into the database is called SQLScript.  These extensions are keys to avoiding massive data copies to the application server and to leverage sophisticated parallel execution strategies of the database.  SQLScript V2 supports stored procedures, which provides enhanced control flow capabilities and is positioned to be more suitable for pushing complex parts of application logic to the database.  It can meet some simple requirement for reporting, like join, aggregation, etc. When it comes to data mining and statistic analysis, SQLScript is not suitable for implementing complex algorithms.
  • 84. © 2011 SAP AG. All rights reserved. 135Confidential Calculation View (Scripting)  Calculation View  Define Table Output Structure  Write SQL Statement.  Ensure that the selected fields corresponds to previously defined Output table structure of the function.  Example : SQL_A = SELECT MATNR, KUNNR, …. FROM <COPA_ACTUAL_ANALYTICAL VIEW 1> SQL_P = SELECT MATTNR_KUNNR, … FROM <COPA_PROJECTED_ANALYTICAL VIEW 2> TABLE_OUTPUT_STRUCTURE = SELECT * FROM <SQL_A> UNION SELECT * FROM <SQL_P>;
  • 85. © 2011 SAP AG. All rights reserved. 137Confidential R Integration with the SAP HANA database – Scenario 1 Join OP ROP OLAP OP Calc. Engine R External Packages (Forecasting, Parallelism, statistics, etc.) RClient SAP RHANA Package Send data and R script NewDB Space OpenSource R Space 1 3 NewDB R Integration Open Source R 2 Run the R scripts Get back the result from R to SAP HANA Usage Scenario 1  Utilize Open Source R as the data mining calculation engine.  Application developer can embedded R scripts in the SQLScript. CREATE FUNCTION LR( IN input1 SUCC_PREC_TYPE, OUT output0 R_COEF_TYPE) LANGUAGE RLANG AS''' CHANGE_FREQ<-input1$CHANGE_FREQ; SUCC_PREC<-input1$SUCC_PREC; coefs<-coef(glm(SUCC_PREC ~ CHANGE_FREQ, family = poisson )); INTERCEPT<-coefs["(Intercept)"]; CHANGEFREQ<-coefs["CHANGE_FREQ"]; result<- as.data.frame(cbind(INTERCEPT,CHANGEFREQ)) '''; TRUNCATE TABLE r_coef_tab; CALL LR(SUCC_PREC_tab,r_coef_tab ); SELECT * FROM r_coef_tab; Sample Codes in SAP HANA SQLScript
  • 86. © 2011 SAP AG. All rights reserved. 138Confidential Business Function Library Business Function Library (BFL) is the calculation library for Applications built on top of the SAP HANA database. It resides in the Calculation Engine and consists of many Business Functions executing at the database layer and is written in C++. Significant performance improvements for SAP apps 1. Utilizing new hardware i.e. multi core, built in vector engine 2. Massive parallel main memory processing 3. Changing the boundaries between application server and data management layer Simplification of application programming model 1. Usage of extended SQL(SQLScript) 2. Rich functionalities in the Calculation Engine 3. Fast apps delivery Design GoalsBFL Wiki

Notas do Editor

  1. So, how is this possible? What gives us the opportunity to transform the way we think about enterprise software?In short – innovation. Innovation in hardware and in software.On the hardware side, processor, memory and server technologies have recently taken huge leaps forward. The number of processor cores we can use on a blade, the amount of addressable memory, and processor and memory speed are all increasing. Massive parallelism, scalability and throughput speed are now at our disposal. And the price/performance of this hardware is amazing.At the same time as these advances have been made, SAP has been developing software to take advantage of them. We use a unique combination of approaches including columnar databases, compression, and parallelization of queries to optimize data access and processing on this new hardware. We can perform complex calculations on real-time data, without pre-calculating aggregates or building custom reporting repositories. The raw speed of the hardware not only allows us to process massive quantities of data but also overcome historical issues with some earlier generations of these software approaches – such as the slow update cycles that prohibited use of columnar databases in disk-based systems.Our joint innovation with leading hardware vendors has made real-time business a reality.
  2. (Optional slide)
  3. 5 day turnaround to 2 day turnaround.
  4. Other applications such as BusinessOne are already running in-memory technology in the labs.
  5. Of the components displayed on this slide, not all are part of HANA. BusinessObjects Enterprise, the ERP system, the clients etc. are optional components whose presence in the system landscape depends on the customer scenario.The components listed here are: The in-memory computing engine itself, which hosts the actual data stores, a persistence layer, a calculation/execution engine, interfaces and other components The in-memory computing studio which is a front-end delivered with HANA which enables administration of the in-memory computing engine and modeling for the engine. An ERP system in which a load controller and a replication engine are installed to enable data transfer from ERP to HANA Optional components are a NetWeaver BW system or third party systems which can be connected to HANA via SAP BusinessObjects Data Services A BusinessObjects Enterprise system with Data Services installed. Client tools for reporting off HANA. These tools might need components in a BusinessObjects Enterprise system (such as Information Design Tool) or database clients (JDBC, ODBC, ...)In the following slides we take a look at several usage aspects of HANA such as data loading, modeling and reporting and discuss which parts of this setup are important for these aspects.
  6. Of the components displayed on this slide, not all are part of HANA. BusinessObjects Enterprise, the ERP system, the clients etc. are optional components whose presence in the system landscape depends on the customer scenario.The components listed here are: The in-memory computing engine itself, which hosts the actual data stores, a persistence layer, a calculation/execution engine, interfaces and other components The in-memory computing studio which is a front-end delivered with HANA which enables administration of the in-memory computing engine and modeling for the engine. An ERP system in which a load controller and a replication engine are installed to enable data transfer from ERP to HANA Optional components are a NetWeaver BW system or third party systems which can be connected to HANA via SAP BusinessObjects Data Services A BusinessObjects Enterprise system with Data Services installed. Client tools for reporting off HANA. These tools might need components in a BusinessObjects Enterprise system (such as Information Design Tool) or database clients (JDBC, ODBC, ...)In the following slides we take a look at several usage aspects of HANA such as data loading, modeling and reporting and discuss which parts of this setup are important for these aspects.
  7. One of the promises of HANA is to deliver real-time analytic insight on vast data volumes.For the real-time aspect, data provisioning in real time is required. This is the task of Sybase Replication Server. Tables from the ERP system are initially loaded into HANA. All subsequent changes to these ERP tables are immediately replicated into the HANA server. To this end, replication server makes use of the database logs in the ERP system.There is a tool that helps selecting the tables to be loaded and replicated. This tool is integrated into the In-Memory Computing Studio (Modeling).Replication Server only allows connecting one SAP ERP system to HANA. Some additional requirements apply regarding the ERP system such as server OS, DBMS system, ERP version, SAP kernel and Unicode state (only Unicode is supported).Systems not fulfilling these requirements can be accessed via data services. This requires a BusinessObjects installation, with a data services server and data services designer on the client.Note: for practical purposes it will probably not be reasonable to connect to several ERP systems with one HANA box (one via replication, the other(s) via data services) for obvious reasons (same tables existing in all the ERP systems etc).Note: Loading from NetWeaver BW into HANA via data services technically is an application of OpenHub.
  8. Once tables are created in HANA and loaded from the source system, the semantic relationships between the tables need to be modeled.In an ERP system, these relationships are modeled via database views and ABAP code. In HANA, these relations initially do not exist at all.Modeling can be done in several places (bottom-up description): If data services is used to create and fill the table, first modeling decisions can be made here. Data models can be created within the In-Memory Computing Engine. Models are stored in form of views and associated metadata in the engine. The front-end tool to create these models in the In-Memory computing Studio (Information Modeler within that tool). Depending on the front-end tool used to retrieve data from the In-Memory Computing Engine, further modeling decisions can be made in universes (SAP BusinessObjects Information Design Tool) or other semantic layers.
  9. In reporting, client tools create queries against the database. Where the actual query is generated depends on the tool used. BusinessObjects Explorer will directly create a call against a HANA interface. Excel will also directly request data via MDX. Front-end tools which report against Universes will have the SQL request against HANA created in the universe layer. Please note that at the time of creating these slides, it is not yet decided which front-end tools will be supported in combination with HANA. The front-end tools listed in these slides are candidates.The following client side drivers are delivered with HANA: JDBC ( SQL) ODBC ( SQL) ODBO (short for OLEDB for OLAP  MDX)Which of the drivers will be used depends on the front-end tool that&apos;s being used (and sometimes even the way in which the front-end tool is used).
  10. For Administration of the HANA, the In-Memory Computing Studio has an administration component. Tasks offered by the studio include (but are not limited to): Starting/stopping the In-Memory Computing Engine (upon start, the in-memory stores are reconstructed from the persistence layer) User administration including creating/deleting users and authorizations Table administration, including creating indexes or some part of the configuration for data replication Creating or restoring a backup
  11. You can browse and import extractors in an SAP application’s datastore and use them in an ABAP data flow. Optionally, you can combine the extractors with other extractors or ABAP tables.
  12. Hot Tips:It is most likely that you will access an Analytical view.You can get the table structure by doing a data definition on column view for an Analytical view. You can also do a SQL select statement on column view for an Analytical view.
  13. With the R integration project in SAP HANA, users can run R scripts transparently in the SAP HANA database environment. You can write R scripts yourself or invoke thousands of existing R external packages. There are two scenarios for R integration for two difference use cases. Scenario 1 is to leverage R to extend NewDB’s data mining and statistic analysis capability through the SQLScript interface in a stored procedure way. Scenario 2 is to provide the SAP HANA database as a data source for open source R. You can explore the SAP HANA data in a interactive way.The blue components are the core NewDB components. The green ones are the pure open source R. The orange ones are the components to achieve the seamless integration.
  14. Just like R, BFL can be embedded into SQLScript and be called by an application easily through ODBC or JDBC. Since BFL are C++ components inside the SAP HANA database, it should deliver excellent performance.