Professional Documents
Culture Documents
2
What We’ll Cover
• SAP Data Services
• SAP HANA
• Wrap-up
3
Data Services Overview
• SAP Data Services is a leading technology for enterprise information management providing
solutions for:
Data integration
Data quality
Data profiling
6
Examples of Other Available Data Sources
• There are many other data sources that can be used in Data Services
8
Defining Table Fields
4. Enter in the field properties
9
Preview Data
5. In the Repository, under Format, right-click and select “View Data” to preview the newly added data source
10
SAP Data Services
• In this section:
Data Services overview, creating batch jobs and loading from flat files
Building transforms and using functions
Creating table joins and Utilizing data merging
11
Transforms Overview
• Transforms are built-in objects that process source data to
bring about desired outputs
• Most commonly used transform is Query Transform
• Query Transform enables you to:
Filter and select data from a source
12
Adding a Data Flow Object to the Workspace
• The tool palette contains icons which allow the creation of new objects in the workspace
14
Query Editor Overview
• The query editor is a graphical interface for carrying out query operations
• It contains three areas:
15
Setting Up the Output Table
16
Creating a New Output Column
1. Right-click on an output field and
select “New Output Column”
18
Using Functions
2. Click on
“Functions”
For this demo, we want to calculate the number of days a case was open
19
Setting Up the Function
23
Job Log Overview (cont.)
24
How to Preview the Output Table
26
Creating Table Joins
A join can be used to combine data from multiple sources into one target
Source 1
Source 2
In this example, Source 1 has the Car Description for the case, while Source 2 has the Resolution to the
case. The query transform will combine the data from the two sources in the schema out section to produce
a result displaying the overall case solution.
27
Result from a Table Join
1. Once the tables have been joined in the 2. Enter the data flow workspace and click on the
query transform, execute the job as discussed magnifying glass to view the results in the output
in the earlier slides table
28
Merges Overview
You can merge rows from two or more sources into a single data set
• All sources must have the same schema to execute the Merge Transform
• Same # of columns
• Same column names
• Columns must have the same data type
29
How to Create a Merge
1. To merge two sources, add a query
form to each source to format all the
data to be the same in both sources
32
SAP HANA
• In this section:
SAP HANA overview
Creating attribute views and analytical views
Making calculation views
33
SAP HANA — In-Memory Options
• SAP HANA is sold as an in-memory appliance. This
means that both Software and Hardware are
included from the vendors.
34
HANA Editions and Components
• While HANA is sold as an appliance, there are
Area Component ID
BC-DB-HDB
Component Name
SAP HANA database many internal components, and the edition you buy
BC-DB-HDB-ENG
BC-DB-HDB-PER
SAP HANA database engine
SAP HANA database persistence may contain different licenses to these
BC-DB-HDB-SYS
BC-DB-HDB-DBA
SAP HANA database interface
SAP HANA database/DBA cockpit components
BC-DB-HDB-POR SAP HANA DB Porting
BC-DB-HDB-BAC SAP HANA Backup and Recovery
BC-CCM-HAG SAP Host agent
Area Component ID Component Name
BC-DB-HDB-CCM SAP HANA CCMS
BC-HAN-SL-STP SAP HANA unified installer
BC-DB-HDB-CLI SAP HANA Clients (JDBC/ODBC)
Lifecycle BC-HAN-UPD Software Update Manager
BC-DB-HDB-R SAP HANA Integration with R
Management BC-DB-HDB-INS SAP HANA database installation
Platform BC-DB-HDB-SCR SAP HANA SQL scripts
BC-DB-HDB-UPG SAP HANA database upgrade
Edition BC-DB-HDB-MDX MDX engine: Microsoft Excel client
BC-HAN-DXC SAP HANA Direct Extractor Connection
BC-HAN-MOD SAP HANA Studio - Information Modeler Enterprise Edition EIM-DS SAP Data Services: ETL-based
BC-HAN-3DM Information Composer
BC-HAN-LOA SAP HANA Load Controller: log-based
BC-HAN-SRC SAP HANA UI toolkit (also have platform
edition components) BC-HAN-LTR SAP Landscape Transformation (SLT): trigger-based
BC-DB-HDB-TXT SAP HANA Text and Search features BC-HAN-REP Sybase Replication Server: log-based
BC-DB-HDB-DXC SAP HANA Direct extraction connector BI-BIP-CMC, BI-BIP BI Platform
BC-DB-HDB-SEC SAP HANA Security and User Mgmt BI-RA-WBI Web Intelligence
BC-DB-HDB-XS SAP HANA Application Services BI-RA-XL Dashboard Designer
BC-DB-HDB-AFL SAP HANA Advanced functions library End User Clients BI-RA-CR, BI-BIP-CRS SAP Crystal reports
BC-DB-HDB-AFL-PAL SAP HANA Predictive analysis library BI-RA-EXP SAP BusinessObjects Explorer
BC-DB-HDB-AFL-SOP SAP HANA Sales & Operations Planning BI-BIP-IDT Information Design Tool (for universes)
BC-DB-HDB-PLE SAP HANA Planning Engine BI-RA-AO-XLA Microsoft Excel add-in
35
Hardware Options as of July 2016 (changes often)
36
SAP HANA
• In this section:
SAP HANA overview
Creating attribute views and building analytical views
Making calculation views
37
Attribute Views — Overview
38
Creating a New Attribute View
39
Naming the New Attribute View
40
Adding Tables to the Data Foundation
1. Open the “Catalog” folder 3. Expand the “Tables” folder
2. Expand the system 4. Drag the necessary table to the “Data
Foundation”
41
Adding More Tables to the Data Foundation
42
Applying Filters to the View
• Filters can be used to
limit the data being
displayed
This example shows the creation of a filter on the “VALID_TO” date field. Setting that value to
“9999-12-31” forces the result set to only show values that are always valid.
43
Making Attributes Visible to End Users
1 & 2. To make an Attribute visible to users, simply click the circle beside each attribute
44
Analytic View — Overview
46
Adding Fields to the Output
You should also select which attributes will be shown in the output by
selecting the gray circles next to each item
47
Setting Attributes and Measures
48
Joining Tables
By default, this creates a referential join of the table to the “Data Foundation”
49
Creating a New Calculated Column
Now we will add a new calculated field called “Net
Sales”
Using the “Advanced” tab, you can set the type of value,
such as currency or percentage
50
Demo — Building Attribute and Analytical Views
51
SAP HANA
• In this section:
SAP HANA overview
Creating attribute views and building analytical views
Making calculation views
52
Creating a New Calculation View
• A calculation view will now be
created to join together other
tables and views and utilize
calculations and aggregations to
analyze the data
53
Naming the New Calculation View
54
Propagate to Semantics
Customer Amount
1 40
Customer 1’s amounts were added up, so 2 30
there is one less row to display 3 25
4 20
57
Adding a Calculated Column to the Aggregation Layer
• In the aggregation node, calculated columns can be added as aggregated columns
58
Assigning Column Types to the View
60
Where to Find More Information
• www.sap-press.com/products/SAP-HANA%3A-An-Introduction-(2nd-Edition).html
Bjarne Berg and Penny Silvia, SAP HANA: An introduction (SAP PRESS, 2014).
• www.saphana.com/welcome
SAP’s main page for all SAP HANA-related information
• www.saphana.com/community/try
Try HANA for free
• http://scn.sap.com/community/hana-in-memory
SAP HANA and In-Memory Computing by SAP HANA Community
61
7 Key Points to Take Home
• SAP Data Services transforms, refines, and delivers trusted data for the Enterprise Data Warehouse
• Multiple data sources can be used for Data Services, including Flat Files, DTDs, XML Schemas, Excel
Workbooks, and more
• Utilize built-in transforms, which are objects that process source data to bring about desired outputs
• SAP HANA indexes data from a variety of sources and stores the results on a dedicated server
• Attributes add details and can be modeled using Attribute Views
• Analytic views join together one central fact table consisting of calculated measures and variables for
reporting
• Calculation views bring together database tables, attribute views, analytic views, and other calculation
views
62
Your Turn!
63
Disclaimer
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the trademarks of their respective companies. Wellesley Information Services is neither owned nor controlled by SAP SE.
64