0% found this document useful (0 votes)
25 views101 pages

OpenSAP Dsp1 Week 1 All Slides

The document outlines a course on SAP Datasphere, focusing on data modeling and integration over several weeks. It includes practical exercises, system setup guidance, and an introduction to key features like the Data Builder and remote source connections. Participants will learn to create models, reports, and manage data access within secured virtual environments called spaces.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views101 pages

OpenSAP Dsp1 Week 1 All Slides

The document outlines a course on SAP Datasphere, focusing on data modeling and integration over several weeks. It includes practical exercises, system setup guidance, and an introduction to key features like the Data Builder and remote source connections. Participants will learn to create models, reports, and manage data access within secured virtual environments called spaces.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 101

Week 1: Introduction and Data Modeling

Unit 1: Course Introduction


Course introduction
What is this course about and what can you expect?

Introduction to SAP Datasphere


▪ A practical example with hands-on exercises will
guide you through the weeks and units
▪ Learn how to leverage features and functions
▪ You will get a very good understanding of how to
use the solution for real world use cases
▪ The focus is on data modeling and extending
your model as new tasks arise

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Course introduction
Week and unit overview

Week 1
▪ Focus on modeling and enhancing existing models
▪ Integrating remote sources, data flows, data integration monitor
▪ How to share data and apply row-level security

Week 2
▪ Advanced modeling using the analytic model & business builder
▪ Data marketplace & intelligent lookup
▪ Repository, impact and lineage, catalog
▪ Command line interface

Week 3
▪ Additional useful components of SAP Datasphere
– Administration, user management, transport, business content
– Analytics and planning integration, BW bridge, and more
© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3
Course introduction
The scenario

Your task is to start building the analytics for the


“Best run bikes” company
▪ The company provides you tenants for
SAP Datasphere and SAP Analytics Cloud
▪ The units will have different tasks and we guide you
on how to solve them
▪ You learn about the system setup and your own
dedicated space to work with your data

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


Course introduction
How to get access to a tenant?

▪ Navigate to sap.com/datasphere
▪ Click on the Experience SAP Datasphere button or
alternatively use the following link
https://www.sap.com/registration/trial.4d48ec23-
eadf-4399-8595-ac3f9c66c64f.html
▪ Enter the mandatory details in the registration form
and proceed using the Submit button.
▪ You then get an email to activate your account by
clicking the button Click to activate your account
▪ After successful registration your login details
(user ID and password) will be emailed to you

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5


Course introduction
How to get access to a tenant?

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6


Course introduction
The home screen

▪ Navigation pane provides direct access to all


essential functions
▪ Menu entries and functions are visible based
on user authorizations
▪ Middle section contains recent news, links to
documentation, and most important functions
▪ Help icon in top right corner gives easy access
to in-app help and SAP Help Portal
▪ Application switch lets you navigate to
SAP Analytics Cloud

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7


Course introduction
Get to know the home screen and the main menu

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Course introduction
What are spaces?

▪ Spaces are secured virtual work environments


which
– provide isolation for metadata objects and space
resources
– define storage quota, control resource usage,
and workload class settings per space
– maintain space-specific source system
connections and a common time dimension
– manage user access for space members
– enable sharing of data and currency conversion
settings with other spaces

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Course introduction
Spaces provide your business process with the right data

LOB /
FINANCE SALES HR
SPACE SPACE SPACE Project
SPACE

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


Course introduction
Spaces

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


Course introduction
Useful information

Useful resources during and after the course


▪ SAP community pages
– Get started
– Best practices
– Business content
– SAP BW Bridge
▪ SAP online documentation
▪ SAP tutorials for developers
▪ SAP learning journey

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12


Course introduction
What you have learned in this unit

▪ Overview of the course and its structure


▪ The scenario used to guide you through the units
over the different weeks
▪ How to register for an account on a guided
experience trial system and get access to your own
space
▪ The focus areas of the course
▪ The home screen and main menu structure of the
solution
▪ What spaces are and how you can use and configure
them for the task ahead
▪ Where to find useful information outside of this
course

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 13


Thank you.
Contact information:

open@sap.com
Follow all of SAP

www.sap.com/contactsap

© 2023 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or
warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they
should not be relied upon in making purchasing decisions.
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.
See www.sap.com/trademark for additional trademark information and notices.
Week 1: Introduction and Data Modeling
Unit 2: Your First Model and Report
Your first model and report
Your task

▪ In unit 1 you got access to the system


▪ While IT is setting up the system connectivity in the
backend, you can already start
▪ Upload the provided sales orders sample file
▪ The report should show the revenue by sales
organization
▪ Get an overview of how to achieve that

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Your first model and report
Data Builder overview – Editors

The Data Builder offers a collection of editors


to create artifacts in the data layer like
▪ Table Editor
▪ Graphical View Editor
▪ SQL View Editor
▪ Entity Relationship Editor
▪ Analytic Model Editor
▪ Data Flow Editor
▪ Intelligent Lookup Editor
▪ Replication Flow Editor
▪ Task Chain Editor

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Your first model and report
Data Builder overview – More features

The Data Builder offers more features in addition


to the editors like
▪ Enabling currency conversion
▪ Import data and artifacts
– CSV files
– Objects from CSN/JSON files
– Entities
– Remote tables
▪ Mass deployment and deletion of artifacts
▪ Share artifacts
▪ Show impact and lineage analysis for artifacts

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


Your first model and report
Import Sales Order CSV file

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5


Your first model and report
Import Sales Order CSV file

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6


Your first model and report
Table Editor

▪ Assign semantic usage type:


analytical dataset, dimension, text,
hierarchy or relational dataset
▪ Define primary keys, compound keys,
default values, column visibility,
associations, field names, data types,
descriptions, time-dependency, and
semantics
▪ Delete current and upload new data
from files
▪ Preview data and share tables with
other spaces
▪ Allow to refresh the metadata for the
definition of remote tables and open
SQL schema tables

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7


Your first model and report
Create your first graphical view

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Your first model and report
Create your first graphical view

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Your first model and report
Graphical View Editor

▪ Views on top of remote, replicated, or


local tables
– Define measures and attributes in
analytical datasets
– Create parent-child or level-based
hierarchies in dimension views
– Support multi-language text fields
– Define unions, joins, aggregations,
rename and remove columns, add
calculations, currency conversion, and
filters
▪ Define exposure for consumption and
sharing with other spaces
▪ Apply data access controls, input
parameters, view persistency
▪ View the data at each node
© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10
Your first model and report
Create your first story in SAP Analytics Cloud

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


Your first model and report
Create your first story in SAP Analytics Cloud

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12


Your first model and report
Options for analytic consumption and openness with external tooling

External
Consumption API

SAP Analytics Cloud MS Office Integration APIs for external consumption


▪ Direct consumption of models in ▪ SAP Analytics Cloud, add-in for ▪ Freedom of choice to use a
SAP Analytics Cloud (live Microsoft Office 365 (live consumption interface
connection) connection) online or desktop (SQL/OData) to connect frontend
▪ Any number of SAP Datasphere version tooling to exposed views
systems can be connected to any ▪ SAP Datasphere with ▪ Make your data models accessible
number of SAP Analytics Cloud SAP Analysis for Microsoft Office for consumption tools and other
systems 2.8 SP14+ applications
© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 13
Your first model and report
What you have learned in this unit

▪ Overview of the Data Builder


▪ How to upload a flat file
▪ The Table Editor and its features
▪ The Graphical View Editor and its basic features
▪ The Application Switcher
▪ How to create a simple story in SAP Analytics Cloud

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 14


Thank you.
Contact information:

open@sap.com
Follow all of SAP

www.sap.com/contactsap

© 2023 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or
warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they
should not be relied upon in making purchasing decisions.
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.
See www.sap.com/trademark for additional trademark information and notices.
Week 1: Introduction and Data Modeling
Unit 3: Connect to a Remote Source and
Add a Time Dimension
Connect to a remote source and add a time dimension
Your task

▪ In unit 2 you created your first model and story


▪ IT has set up the system connectivity in the backend
▪ You do not need to start from scratch; simply replace
your local table with a remote table
▪ Add a time dimension to your model and story

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Connect to a remote source and add a time dimension
Replace your local table with a remote table

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Connect to a remote source and add a time dimension
Replace your local table with a remote table

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


Connect to a remote source and add a time dimension
Connection overview (1)

Connections provide access to data from a


wide range of sources: cloud and on-premise
sources, SAP and non-SAP sources, and
partner tools.
▪ You only see spaces you are a member of in the
Space overview
▪ Create, edit, delete, and validate local
connections
▪ Pause and restart connections with real-time
replications
▪ Integrate Open Connectors and connect to
supported third-party data sources

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5


Connect to a remote source and add a time dimension
Connection overview (2)

SAP Databases & Hyperscaler & External


Applications Generic Connections Cloud Apps Tool Support

SAP S/4HANA SAP S/4HANA Cloud SAP HANA On-Prem & Cloud Google Cloud Storage Google BigQuery SAP Data Intelligence* SAP Data Services*

SAP ERP ABAP Oracle Microsoft SQL Server Azure SQL Database Azure Blob Storage SAP HANA Smart Data Integration*

SAP BW/4HANA Model Transfer Generic JDBC Generic OData Azure Data Lake Store Gen1 SAP Landscape Transformation*

SAP BW SAP HANA Data Lake Generic SFTP Local CSV File Azure Data Lake Store Gen2 Adverity APOS* Datazeit*

SAP HANA, Data Lake Files Generic Cloud Data Integration Amazon S3 Amazon Athena Informatica* Precog Snaplogic*

SAP SuccessFactors SAP Fieldglass Amazon Redshift HDFS

SAP Marketing Cloud Open Connectors

SAP Help: Connection Overview Available Partner * No dedicated connection tile


© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6
Connect to a remote source and add a time dimension
Virtual data access

▪ Virtual access using remote tables, which points


to a table in an external system
▪ Access remote data as if it were stored in local
tables
▪ Remote tables access data without copying the
data
▪ Data is transferred through the network each
time a query is executed
▪ Restrict data transfer using central filters and
selected columns only*
▪ Seamless switching between remote access and
data replication (or snapshots) without the need
to change the data models

* Filtering depends on source connection and column data types.


See more information in the online documentation.
© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7
Connect to a remote source and add a time dimension
Real-time replication and snapshots via remote tables

▪ Switch from remote access to snapshots or real-


time replication for change-data-capture (CDC)
enabled tables
▪ Schedule snapshot loading for remote tables
▪ Create partitions for snapshot and real-time
replication to split larger data transfers and execute
these single transactions in parallel
▪ Ability to start and stop, pause and resume, and
cancel real-time replication

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Connect to a remote source and add a time dimension
How to create a new connection

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Connect to a remote source and add a time dimension
Your story with remote data

▪ Just refresh your story


▪ There is no need to change anything else
after the local table has been replaced by
the remote table
▪ Your story now shows all data for all years
▪ You want to show a time split for years,
quarters, months, and so on
▪ This is where the time dimension comes in

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


Connect to a remote source and add a time dimension
How to create a time dimension and use it in your story

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


Connect to a remote source and add a time dimension
The time dimension

▪ Enrich your models and stories with a time


dimension
▪ Create the time dimension in Space Management
▪ Enrich your models with years, quarters, months,
and days
▪ By creating hierarchies based on a specific
granularity, time dimensions also allow you to drill
down on stories
▪ A time table is created only once per space

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12


Connect to a remote source and add a time dimension
Associations

▪ Associations can be created in the Entity


Relationship Model, Table, and View Editors
▪ Create an association from any table or view
to any other table or view at any level of the
data layer
▪ This creates a join, which is only executed at
runtime when the associated data is queried
▪ Analytical datasets can associate to
– Dimensions or
– Text entities
▪ Dimensions can associate to
– Dimensions or
– Text entities or
– Hierarchies

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 13


Connect to a remote source and add a time dimension
What you have learned in this unit

▪ Overview of available connections and the


connectivity options for remote tables
▪ How to replace a source table with a remote table
while the models and reports on top stay stable
▪ The time-dimension feature and how to create the
time tables and time dimension in a space
▪ Associations and how to use them with your time
dimension

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 14


Thank you.
Contact information:

open@sap.com
Follow all of SAP

www.sap.com/contactsap

© 2023 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or
warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they
should not be relied upon in making purchasing decisions.
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.
See www.sap.com/trademark for additional trademark information and notices.
Week 1: Introduction and Data Modeling
Unit 4: Enhance Your Model with Joins and
Dimensions
Enhance your model with joins and dimensions
Your task

▪ You are interested in enhancing your simple story


with the top five sales partners per region and year.
▪ As the sales partners show only the partner ID in the
story, you want to add the partners’ company
names instead of IDs.
▪ Next to this you also are asked to add information
about the best selling products.
▪ To achieve that, you will have to learn
– how to create dimension tables,
– how to join a table, and
– how to leverage some other important features.

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Enhance your model with joins and dimensions
Add your business partner dimension

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Enhance your model with joins and dimensions
Enhance your story with the top five sales partners per region and year

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


Enhance your model with joins and dimensions
Remote tables

Virtual Access Persisted

Real-time virtual data access Single table replication


▪ Leave data in the source system and ▪ Real-time table replication for up-to-date
access remotely when needed data
▪ No upfront data movement ▪ Materialize views and update snapshots
▪ Federation is supported across various using automated, scheduled data loads
sources and hyperscalers ▪ Schedule in task chains
© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5
Enhance your model with joins and dimensions
Semantic usage and semantic types

▪ When creating a table or view there are several


options for the semantic usage to choose from:
– Analytical dataset to indicate that your entity
contains one or more measures that can be
analyzed
– Relational dataset contains columns with basically
no specific analytical purpose
– Dimensions indicate that your entity contains
attributes that are used to analyze and categorize
measures defined in other entities, like product
master data
– Hierarchy to indicate that your entity contains
parent-child relationships for members in a
dimension
– Text to indicate that your entity contains strings
with language identifiers to translate text attributes

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6


Enhance your model with joins and dimensions
Dimensions

▪ Dimensions indicate that your entity contains


attributes that can be used to analyze and
categorize measure defined in other entities
▪ Typical types of dimensions include:
– Geography – region, country, state, city
– Product – range, category, product
– Business Partner – customer, supplier, partner
– Organization – company, department,
organizational unit
– Time – year, quarter, day

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7


Enhance your model with joins and dimensions
Load schedule and snapshots

▪ Use snapshot replication to copy the full set of data


from your source object
▪ For a successful load, you will see the status
“Available” and the date and time of the latest
update
▪ Schedule snapshot loading for remote tables,
orchestrated via task chains

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Enhance your model with joins and dimensions
What are the best selling products?

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Enhance your model with joins and dimensions
What are the best selling products?

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


Enhance your model with joins and dimensions
Joins and unions

▪ Use join or union operators to combine data


from multiple sources
▪ Several types of SQL joins available:
– Cross
– Full
– Inner (default)
– Left
– Right
▪ Union properties available:
– Union All
– Union
▪ Set properties and mapping specifics to fit your
needs

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


Enhance your model with joins and dimensions
What you have learned in this unit

▪ How to import remote tables from Data Builder


overview and from within the View Editor
▪ The semantic usage of tables and the available
semantic types
▪ Dimensions and when to use them
▪ Creation and scheduling of snapshots for remote
tables
▪ How to join and union datasets

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12


Thank you.
Contact information:

open@sap.com
Follow all of SAP

www.sap.com/contactsap

© 2023 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or
warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they
should not be relied upon in making purchasing decisions.
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.
See www.sap.com/trademark for additional trademark information and notices.
Week 1: Introduction and Data Modeling
Unit 5: Data Flows, Task Chains, and SQL Views
Data flows, task chains, and SQL views
Your task

▪ The story needs to be enhanced such that it also


shows the Top Sales Person per region
▪ This data is available in two remote tables that must
be brought into SAP Datasphere using data flows so
that all the data can be joined and stored in one local
table in the space
▪ To ensure that data loading is a systematic process,
you must start creating a sequence of loading tasks
in a task chain

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Data flows, task chains, and SQL views
Data flows

▪ Data integration from variety of data sources


▪ Easy-to-use data flow modeling experience for
ETL requirements
▪ Load and combine data from different data
sources, both SAP and non-SAP
▪ Use standard transformation capabilities and
scripting for advanced requirements
▪ Apply a generic filter-based delta or select only
specific columns to reduce the amount of data
that needs to be transferred
▪ Dynamic memory allocation and auto restart
option

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Data flows, task chains, and SQL views
Script operator in data flows

Standard Transformations Scripting


▪ Combine data sets with no-code operators for Projection, ▪ Advanced transformation requirements like
Aggregation, Join, Filter, Union, Add Table extraction of text
▪ Data source can be tables, ABAP CDS views, OData, ▪ Embedded scripting editor in data flow modeler
remote files (JSON/JSONL, CSV, ORC, EXCEL, or ▪ Support of standard Python 3 scripting language
PARQUET)
▪ Target mode: Append/Upsert, Truncate, Delete
© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4
Data flows, task chains, and SQL views
Data flows

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5


Data flows, task chains, and SQL views
Task chains

▪ Group multiple tasks into a task chain and run


them once manually, or periodically through a
schedule
▪ Tasks chain scheduling may include execution of
– Remote table replication
– View persistency, and
– Data flow runs
▪ Serial processing
▪ Customizable email notification of success and/or
failure of entire task chains

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6


Data flows, task chains, and SQL views
Task chains execution

Execute task chains directly from the Run and/or schedule task chain execution
task chain modeling screen from the Data Integration Monitor like other
replication tasks

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7


Data flows, task chains, and SQL views
Task chains

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Data flows, task chains, and SQL views
SQL View Builder

▪ Create SQL views to query sources in powerful


SQL editor along with drag-and-drop support
▪ Two ways to compose the SQL view
– SQL: writing a standard SQL query using
Select statements and operators such as Join
and Union
– SQLScript: to produce a table function
▪ Subset of SQL syntax supported by
SAP HANA Cloud

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Data flows, task chains, and SQL views
View persistence

▪ Graphical and SQL views can be configured as


persisted views to materialize the output result
▪ Improve performance for views with heavy
transformations or slow remote sources
▪ Result set is persisted similar to remote table
snapshots or data flow target tables
▪ Store only required data instead of full 1:1 remote
table replication
▪ Monitoring, scheduling, and view analyzer access
via the Data Integration Monitor
▪ Supports partitioning and partition-wise refresh
▪ Can be used in task chains (optional)

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


Data flows, task chains, and SQL views
View persistence

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


Data flows, task chains, and SQL views
Associate Employees dimension to dataset

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 12


Data flows, task chains, and SQL views
What you have learned in this unit

▪ How to use the Data Flow Editor


▪ How to use the script operator for data flows
▪ How to use task chains
▪ How to persist a view

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 13


Thank you.
Contact information:

open@sap.com
Follow all of SAP

www.sap.com/contactsap

© 2023 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or
warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they
should not be relied upon in making purchasing decisions.
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.
See www.sap.com/trademark for additional trademark information and notices.
Week 1: Introduction and Data Modeling
Unit 6: Sharing Data, Access Controls, and ER
Models
Sharing data, access controls, and ER models
Your task

▪ You have created a story that shows a good view


over sales, business partners, products and
employees
▪ Need to enhance the product information into the
Sales Order view and then share it with the sales
organization for their reporting
▪ Use the Products view from the master data space
and share the resulting Sales Order view to the
Sales Org space for consumption
▪ But before releasing this report, we need to ensure
that users see data based on their authorizations
which is region-specific – use data access control for
the same

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Sharing data, access controls, and ER models
Hierarchies

▪ Add a hierarchy to a dimension to support drill-


down and drill-up in BI clients
▪ Supported hierarchy types
– Parent-Child
– Level-Based
– External Hierarchy

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Sharing data, access controls, and ER models
Hierarchies

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


Sharing data, access controls, and ER models
Data access controls

▪ Allow more granular access to data on row level


▪ Any user viewing data will see only the rows for
which they are authorized, based on the specified
Data
criteria Data
View Access
▪ Applied on artifacts in the data layer Layer Control
▪ Cannot be overruled
▪ Data access controls are defined once and can be
applied to multiple artifacts in the data layer

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5


Sharing data, access controls, and ER models
Data access controls

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6


Sharing data, access controls, and ER models
Cross-space sharing

▪ Share a Data Builder table or view to another space to allow that space's members to use it as a source for
their objects
▪ Your space is a secure area, and its entities and other objects cannot be seen in other spaces unless you
choose to share them
▪ When you share an entity to another space, users in that space can use it as a source for their views and
other objects

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7


Sharing data, access controls, and ER models
Cross-space sharing

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Sharing data, access controls, and ER models
Entity relationship models

▪ Definition of entity relationship models


▪ Design physical or remote database models
▪ Reverse model engineering
▪ Re-use existing entities (table, view) from
Data Builder
▪ Add new entities on-the-fly
▪ In-editor real-time data preview
▪ Integrated impact and lineage analysis
▪ Model import / export

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Sharing data, access controls, and ER models
Entity relationship models

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


Sharing data, access controls, and ER models
Summary

What you have learned in unit 6


▪ How to create hierarchies
▪ How to use data access controls
▪ How to use cross-space sharing
▪ The entity relationship modeler

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 11


Thank you.
Contact information:

open@sap.com
Follow all of SAP

www.sap.com/contactsap

© 2023 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or
warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they
should not be relied upon in making purchasing decisions.
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.
See www.sap.com/trademark for additional trademark information and notices.
Data Integration Monitor
Your task

▪ This is a section called “Know Your SAP Datasphere”


where you will learn more about SAP Datasphere
capabilities that range from integration through
hybrid scenarios to administration
▪ The theme for this unit is integration and monitoring.
In this unit, we will learn how to analyze integration
jobs using the SAP Datasphere UI as well as the
underlying database access. Furthermore, we will
learn how to use the system monitor to understand
the tenant health and status.

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 1


Data Integration Monitor
Overview

▪ Central monitoring for remote tables, data flows,


persistent views, remote queries, and task chains
▪ Ability to start, stop, pause, resume, and cancel
real-time replication ​for change-data-capture (CDC)
enabled tables
▪ Switch seamlessly between remote access, real-
time replication, and snapshots
▪ Add and manage persistent views
▪ Create and manage schedules for data flows, task
chains, snapshots on remote tables, and persistent
views
▪ Remote query monitoring and display active SQL
statement
▪ Enable statistics on virtual tables

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2


Data Integration Monitor
Data Integration Monitor – Demo

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3


Data Integration Monitor
System monitor

▪ The system monitor tool allows administrators to


monitor the performance of their system and
identify storage, task, out-of-memory, and other
issues across all spaces
– Disk and memory assignment and consumption
– Out-of-memory events
– Failed tasks (24h/48h)
– An overview of all tasks across spaces, and more
– The top five statements with the highest peak
memory consumption and run duration
– Drill down to task log and statements

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4


Data Integration Monitor
System monitor – Demo

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5


Data Integration Monitor
Monitoring configuration

Expensive Statements Tracing


▪ Analyze SQL queries that exceed one of the
following thresholds –
– CPU time, memory, run duration

Monitoring View Enablement


▪ Select up to 2 spaces that get access to the
monitoring views in the Data Builder
– Administrator privilege required to enable access

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6


Data Integration Monitor
DB analysis user

▪ Supports monitoring, analyzing, tracing, and


debugging of runtime database
▪ DB analysis user has read privilege over the
underlying runtime database (with optional
access to space schema)
▪ Create user with pre-configured expiration date
▪ Use the DB analysis user for
– Accessing SAP HANA Cloud cockpit
– Consuming SAP HANA Cloud monitoring
views

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7


Data Integration Monitor
SAP HANA Cloud cockpit

▪ Administration tool for administering and monitoring


runtime database
▪ Use DB analysis user to access the cockpit to get
read-only view
▪ What can you do with the cockpit –
– Monitoring
– Error analysis & trace files
– Performance monitor
– Workload analyzer
– User & role analysis

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8


Data Integration Monitor
SAP HANA Cloud cockpit

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9


Data Integration Monitor
What you have learned in this unit

▪ How to use the Data Integration Monitor and its


capabilities
▪ How to use the system monitor to understand tenant
health and status
▪ How to configure the system for monitoring
▪ How to use the DB analysis user for monitoring
▪ The SAP HANA Cloud cockpit

© 2023 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 10


Thank you.
Contact information:

open@sap.com
Follow all of SAP

www.sap.com/contactsap

© 2023 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of
SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its
distributors contain proprietary software components of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or
warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty
statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or
any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation,
and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and
functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason
without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or
functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they
should not be relied upon in making purchasing decisions.
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.
See www.sap.com/trademark for additional trademark information and notices.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy