Session_4_HANA_curriculum - Lenoir

advertisement
Session 4: The HANA Curriculum
and Demos
Dr. Bjarne Berg
Associate professor Computer Science
Lenoir-Rhyne University
Introduction
This last session is more technical as we explore what
ETL options HANA has, what applications exists and
review some core exercises students in the SAP
University Alliance completes as part of their curriculum.
We also see demos of BO Explorer on SAP HANA and a
demo of the new BusinessObjects BI 4.1 tool suite and
integrated BI environment on-top of HANA
We end with an overview of where you can get more
information about HANA and have a quick round with
questions and answers.
2
Session Agenda
•
Introduction
•
HANA Overview
•
SAP University Alliance: Student Exercise and Demo: BO
Explorer on HANA
•
Overview of Extract, Transform and Load (ETL) into HANA
•
SAP University Alliance: Student Exercise – Step-by-Step
•
Demo: BI 4.1 (new) on HANA
•
Where to Find More Information
•
Questions and Answers
3
HANA – The Detailed Architecture
Modeling in SAP HANA
HANA Applications Overview and Discussion
Views in SAP HANA
•
Attribute views
 Represent master data (attributes,
texts, hierarchies)
 Provide reusable dimensions
for analytic and calculation views
•
Analytic views
 Join facts with relevant attribute
dimensions
•
Calculation views
 Address more complex
requirements than analytic views
 Can include both tables and views
Session Agenda
•
Introduction
•
HANA Overview
•
SAP University Alliance: Student Exercise and Demo:
BO Explorer on HANA
•
Overview of Extract, Transform and Load (ETL) into HANA
•
SAP University Alliance: Student Exercise – Step-by-Step
•
Demo: BI 4.1 (new) on HANA
•
Where to Find More Information
•
Questions and Answers
8
Exercise #1 Using SAP HANA and BO Explorer
1.
In this first exercise, the students access
SAP HANA through an Information Space
Some of the Different BusinessObjects BI tools that can access HANA
BO Explorer on SAP HANA
BO Explorer on HANA Demo
Session Agenda
•
Introduction
•
HANA Overview
•
SAP University Alliance: Student Exercise and Demo: BO
Explorer on HANA
•
Overview of Extract, Transform and Load (ETL) into HANA
•
SAP University Alliance: Student Exercise – Step-by-Step
•
Demo: BI 4.1 (new) on HANA
•
Where to Find More Information
•
Questions and Answers
13
Data Provisioning
Trigger Based Replication
•
SAP LT Replication Server
 Trigger-based concept that only considers the tables
relevant for data replication
 Allows real-time (and scheduled) data replication from SAP
ERP Systems and non-SAP systems (SAP supported
databases only) into HANA
 Based on the SLO (System Landscape Optimization)
technology
SAP LT
Replication Server
Source System
RFC
connection
SAP HANA
DB
connection
ETL Based replication with DataServices
DataServices – The work environment
Data flows Vs. Workflows
•
Data flows



•
Extract, transform and load data (ETL
process)
Determines the flow of data – from the
source to the target
Similar to SAP BW transformations with
data source and data target
Workflows




Optional objects
Organize data flows
Define the decision-making process to
execute data flows and organizes data flows
Similar to SAP BW process chains for
automation of complex schedules
Source
Target
Definitions and Metadata
•
•
•
Datastores:
 Provide the logical connection to a database (must be
specified for each source and target database)
 Are used to import metadata for source and target databases
 Are used to read data from source tables and load data to
target tables
Metadata includes:
 Database tables: Table name, Column names, Column data
types, Primary key columns, Table attributes
 RDBMS functions
 Application-specific data structures
Connection metadata is defined in the object library as
Datastores (for tables) and file formats (for flat files)
Importing Metadata from HANA
•
•
Import the metadata of the database tables (e.g. master data and
transaction data tables), which should be populated at the end of the
ETL process
Examples:


Customer attributes table (master data)
Sales data table (transaction data)
Table‘s
metadata
Import datastore
tables
Name
CUSTOMER_N
UMBER
CUSTOMER_N
AME
CITY
VALID_TO
VALID_FROM
SALES_ORGA
NIZATION
COUNTRY
Key
Data type
Length
(Dim)
X
VARCHAR
10
VARCHAR
20
VARCHAR
DATE
DATE
VARCHAR
35
VARCHAR
2
X
4
Creating a Dataflow
Query mapping and transformations
•
•
The query transform enables you to select data from a source,
filter or reformat the data and move it to the target
You need to create a relationship between the input and output
schemas for the data to move from the source to the target
BW ETL Vs. DataServices ETL with HANA
Session Agenda
•
Introduction
•
HANA Overview
•
SAP University Alliance: Student Exercise and Demo: BO
Explorer on HANA
•
Overview of Extract, Transform and Load (ETL) into HANA
•
SAP University Alliance: Student Exercise – Step-by-Step
•
Demo: BI 4.1 (new) on HANA
•
Where to Find More Information
•
Questions and Answers
24
Student Case Study Example
1.
2.
3.
In this HANA case study, the students load
data to SAP HANA
Then they create attribute and analytical
views
Finally, they deploy it to BO Explorer
Creating a new Datastores in BOBJ DataServices
Importing table definition
Result
Linking to Flat file
Defining flat file
Result
35
Student’s do the same for
Products and sales flat files
Creating a Project and adding Dataflow
Linking to flat file and make it a source
Mapping flat file Source to Target table in
HANA
Executing the job and Monitoring Progress
Result inside HANA viewed using HANA Studio
Creating an Attribute View
Adding table joins to more Customer Information
Applying a Filter to an Attribute View
Deciding what Users Should See and assign Key Attribute
Validate and Activate a View
Creating an Analytical View
Data Foundations and Logical Joins
Adding a Calculated Field to an Analytical View
Multi-Currency Handling
The Resulting Analytical View
Deploying Analytical View in BO Explorer
Building an Information Space
The Result in BO Explorer
Session Agenda
•
Introduction
•
HANA Overview
•
SAP University Alliance: Student Exercise and Demo: BO
Explorer on HANA
•
Overview of Extract, Transform and Load (ETL) into HANA
•
SAP University Alliance: Student Exercise – Step-by-Step
•
Demo: BI 4.1 (new) on HANA
•
Where to Find More Information
•
Questions and Answers
50
BOBJ BI 4.1 (new release) on HANA Demo
Session Agenda
•
Introduction
•
HANA Overview
•
SAP University Alliance: Student Exercise and Demo: BO
Explorer on HANA
•
Overview of Extract, Transform and Load (ETL) into HANA
•
SAP University Alliance: Student Exercise – Step-by-Step
•
Demo: BI 4.1 (new) on HANA
•
Where to Find More Information
•
Questions and Answers
52
Good Sources for Getting up-to-speed – SAPHana.com
Good Sources for Getting up-to-speed: experienceHana.com
Good Sources for Getting up-to-speed: InsiderLeaningNetwork.com
Good Sources for Getting up-to-speed:
scn.sap.com/community/developer-center/hana
Good Sources for Getting up-to-speed: SAP HANA Book on Amazon
Good Sources for Getting up-to-speed: SAP University Alliances
Questions and Answers
Dr. Berg
Bergb@lr.edu
Download
Study collections