You are on page 1of 27

Week 2 Unit 1: Review

Review
The SAP HANA Repository

Object management, versioning,


and transport

Software component delivery


and patching
Built-in support for translatable
texts
Support for server-based
development

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Review
Data Persistence in SAP HANA

Data persistence objects


Schemas
Tables
SQL views

Sequences
Procedures

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Review
Database Schemas for SAP HANA

Database object
Mandatory
Contains logical groups:

Tables
Views
Procedures
Sequences

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Review
Database Tables for SAP HANA

Database object
<package.path>::<TableName>
A set of data elements
Type:
Column
Row

Metadata:
Constraints on table
Constraints on values in particular
columns

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Thank you

Contact information:
open@sap.com

2014 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.
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. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional
trademark information and notices.
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 SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE 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 SEs or its affiliated
companies strategy and possible future developments, products, and/or platform 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, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Week 2 Unit 2: Core Data Services


(CDS): Basics

Core Data Services (CDS): Basics


Concepts

CDS Core Data Services


Data Definition Language
Query Language
Expression Language

UIS
SAPUI5
XSODATA

XSJS

XSXMLA
SINA
HDBTable

HDBRole

CDS/HDBDD
SQLScript
SQL

AFL

Views
2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Core Data Services (CDS): Basics


Development Artifact

New development artifact extension


hdbdd (data dictionary)
Define the schema, reusable types,
and multiple entities (tables) all
within one source file
Multiple catalog objects are
generated upon activation

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Thank you

Contact information:
open@sap.com

2014 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.
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. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional
trademark information and notices.
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 SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE 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 SEs or its affiliated
companies strategy and possible future developments, products, and/or platform 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, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Week 2 Unit 3: Core Data Services


(CDS): Associations, Views,
Outlook

Core Data Services (CDS): Associations, Views, Outlook


Concepts

CDS Core Data Services


Data Definition Language
Query Language
Expression Language

UIS
SAPUI5
XSODATA

XSJS

XSXMLA
SINA
HDBTable

HDBRole

CDS/HDBDD
SQLScript
SQL

AFL

Views
2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Core Data Services (CDS): Associations, Views, Outlook


Associations

Associations define relationships


between entities (tables)

Not yet integrated into the


database/SQL but can be
referenced when defining views
within the same CDS object

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Core Data Services (CDS): Associations, Views, Outlook


Views

CDS syntax expands to


include the definition of
views
Views can utilize the
defined associations
between entities

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Core Data Services (CDS): Associations, Views, Outlook


Outlook

Improved lifecycle management


of the data
Enumerations
Annotations
Backlink
Calculated fields
SQL feature completeness

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Thank you

Contact information:
open@sap.com

2014 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.
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. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional
trademark information and notices.
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 SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE 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 SEs or its affiliated
companies strategy and possible future developments, products, and/or platform 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, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Week 2 Unit 4: Advanced Modeling


Topics

Advanced Modeling Topics


Attribute Views (1)

CDS Core Data Services


Data Definition Language
Query Language
Expression Language

UIS
SAPUI5
XSODATA

XSJS

XSXMLA
SINA
HDBTable

HDBRole

CDS/HDBDD
SQLScript
SQL

AFL

Views
2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Advanced Modeling Topics


Attribute Views (2)

Attribute views:
Model an entity based upon
relationships of multiple source
tables

Can contain:
Columns
Calculated columns
Hierarchies

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Advanced Modeling Topics


Analytic Views

Analytic Views:
leverage the computing power
of SAP HANA to calculate
aggregate data
contain two types of columns:
Attributes
Measures

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Advanced Modeling Topics


Calculation Views

View or Table
Analytic View

2014 SAP SE or an SAP affiliate company. All rights reserved

Join

Public

Advanced Modeling Topics


SAP HANA Interactive Education (SHINE): Sales Order Scenario

Business Case:
As head of sales for a company that deals in IT
equipment and sells it all over the world, I would
like to have the sales analytics (graphical
representation) that would help me to optimize the
sales strategy and enable better sales decisions.

Key process flows covered:


Analysis of sales by region (using hierarchy
region -> country)
Analysis of sales of products by region (using
hierarchy region -> country)
Analysis of sales of a selected product across a
timeline (using filter product)
Analysis of sales per customer (using grouping)
Hot-selling products (using hierarchy
region -> country)

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

Thank you

Contact information:
open@sap.com

2014 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.
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. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional
trademark information and notices.
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 SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE 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 SEs or its affiliated
companies strategy and possible future developments, products, and/or platform 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, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.

2014 SAP SE or an SAP affiliate company. All rights reserved

Public

You might also like