HANA db and Modeling

27
Week 2 Unit 1: Review

description

HANA db and Modeling

Transcript of HANA db and Modeling

  • Week 2 Unit 1: Review

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 2 Public

    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 3 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 4 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 5 Public

    Review Database Tables for SAP HANA

    Database object

    ::

    A set of data elements

    Type:

    Column

    Row

    Metadata:

    Constraints on table

    Constraints on values in particular columns

  • Contact information:

    [email protected]

    Thank you

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 7 Public

    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.

  • Week 2 Unit 2: Core Data Services

    (CDS): Basics

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 2 Public

    CDS Core Data Services

    Data Definition Language

    Query Language

    Expression Language

    Core Data Services (CDS): Basics Concepts

    SAPUI5

    UIS

    XSJS XSODATA

    SINA

    XSXMLA

    CDS/HDBDD

    SQLScript

    SQL

    Views

    AFL

    HDBTable HDBRole

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 3 Public

    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

    Core Data Services (CDS): Basics Development Artifact

  • Contact information:

    [email protected]

    Thank you

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 5 Public

    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.

  • Week 2 Unit 3: Core Data Services

    (CDS): Associations, Views,

    Outlook

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 2 Public

    CDS Core Data Services

    Data Definition Language

    Query Language

    Expression Language

    SAPUI5

    UIS

    XSJS XSODATA

    SINA

    XSXMLA

    CDS/HDBDD

    SQLScript

    SQL

    Views

    AFL

    HDBTable HDBRole

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

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 3 Public

    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

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

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 4 Public

    CDS syntax expands to

    include the definition of

    views

    Views can utilize the

    defined associations

    between entities

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

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 5 Public

    Improved lifecycle management

    of the data

    Enumerations

    Annotations

    Backlink

    Calculated fields

    SQL feature completeness

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

  • Contact information:

    [email protected]

    Thank you

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 7 Public

    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.

  • Week 2 Unit 4: Advanced Modeling

    Topics

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 2 Public

    CDS Core Data Services

    Data Definition Language

    Query Language

    Expression Language

    Advanced Modeling Topics Attribute Views (1)

    SAPUI5

    UIS

    XSJS XSODATA

    SINA

    XSXMLA

    CDS/HDBDD

    SQLScript

    SQL

    Views

    AFL

    HDBTable HDBRole

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 3 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 4 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 5 Public

    Advanced Modeling Topics Calculation Views

    Analytic View

    View or Table

    Join

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 6 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)

  • Contact information:

    [email protected]

    Thank you

  • 2014 SAP SE or an SAP affiliate company. All rights reserved 8 Public

    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.

    openSAP_HANA2_Week_2_Unit_1_DMR_PresentationopenSAP_HANA2_Week_2_Unit_2_DSB_PresentationopenSAP_HANA2_Week_2_Unit_3_AVO_PresentationopenSAP_HANA2_Week_2_Unit_4_AMT_Presentation