SAP HANA SPS10- SAP HANA Modeling

  • Published on
    13-Aug-2015

  • View
    1.167

  • Download
    14

Embed Size (px)

Transcript

  1. 1. 1 2014 SAP AG or an SAP affiliate company. All rights reserved. SAP HANA SPS 10 - Whats New? SAP HANA Modeling SAP HANA Product Management June, 2015 (Delta from SPS 09 to SPS 10)
  2. 2. 2015 SAP SE or an SAP affiliate company. All rights reserved. 2Public Agenda Topics Overview Whats New in SAP HANA Modeling SPS10 Web-based SAP HANA Model Editor Enhancements and new capabilities SAP HANA Studio Model Editor Calculation View Modeling enhancements SAP HANA Studio Modeling environment enhancements Designing Analytic Privileges enhancements
  3. 3. 2015 SAP SE or an SAP affiliate company. All rights reserved. 3Public SAP HANA SPS 10 Whats New in SAP HANA Modeling SAP HANA Modeling Enhancements & New Capabilities Overview SAP HANA Studio Model Editor General Modeling Environment Column lineage analysis within a model scenario Comment support in Views Multilanguage-label support in Views Designing SQL based analytic privileges Performance Analysis Mode enhancements Calculation View Modeling Rank Node supporting output rank column Time dependent hierarchies, hierarchy SQL integration for filtering and aggregation, hierarchy variables & input parameters, hierarchy dependent LoVs, CDS entities and MultiDB tables as data sources Support Labels/Descriptions in value help dialogs Web-based SAP HANA Model Editor General Modeling Environment Column semantic extraction and propagation View scenario re-design (replace nodes / data sources) Comment support in Views Graphical Data Preview Support Designing SQL based analytic privileges Performance Analysis Mode Calculation View Modeling Support for StarJoin-, Union- and Rank-Node support Hierarchy design (incl. new features like time dependencies) Hierarchy-based value help LoVs for variable and Input parameters Table functions as data sources Select output columns for Script-based Calculation Views
  4. 4. Web-based SAP HANA Model Editor SAP HANA Web IDE-based Model Editor Enhancements
  5. 5. 2015 SAP SE or an SAP affiliate company. All rights reserved. 5Public SAP HANA SPS09 - Modeling Capabilities Web-based SAP HANA Model Editor Initial Release http://server:80/sap/hana/ide/editor /New Web Editor for Calculation Views Supports both Graphical and Scripted Calculation views Browser-based platform and approach reaching more HANA Model developers New usability approaches Mapping based data and column-flow fewer dialogs, instead more real estate and focused view in the current activity context when editing Calculation View details Note No Analytic- and Attribute-View Modeling Initial release for Calculation Views with SAP HANA SPS09 not feature complete, but future/mid-term innovation platform
  6. 6. 2015 SAP SE or an SAP affiliate company. All rights reserved. 6Public SAP HANA SPS10 - Modeling Enhancements Web-based SAP HANA Model Editor Enhancements Overview SAP HANA Web-based Modeling Enhancements Calculation View Modeling Support for StarJoin-, Union- and Rank-Node support Hierarchy design (incl. new features like time dependencies) multiple default values support for Variable and Input Parameter, derived values from scalar functions Hierarchy-based value help LoVs for variable and Input parameters View Modeling SQL-Script Integration table functions as data sources, Output column selection dialog from other tables/views for Script-based Calculation Views Analytic Privileges Support for SQL based analytic privileges Usability and Productivity features Extract semantics from source objects and semantic propagation Replace node with data source / other node and replace of a data source Enhanced expression editor Visual design time error indication support (e.g. star join) Comments in Calculation Views View Modeling Environment Graphical Data Preview Support Time Dimension data generation support Model Performance Analysis Workbench Initial Performance Analysis capabilities
  7. 7. 2015 SAP SE or an SAP affiliate company. All rights reserved. 7Public SAP HANA SPS10 - Modeling Enhancements Web-based View Modeling Star Joins Modeling Star Joins Create Star Joins (New) Create graphical calculation views with star joins to join multiple dimensions with a fact data input set. Star Join - Join Definition incl. details (Referential, LeftOuter, ) Star Join Input Fact Column Mapping to Output Star Join All columns, incl. Shared columns from Dimension Views
  8. 8. 2015 SAP SE or an SAP affiliate company. All rights reserved. 8Public SAP HANA SPS10 - Modeling Enhancements Web-based View Modeling Unions Modeling Calculation Views using Unions Leverage Union nodes (New) Use union nodes in graphical calculation views to combine the result set of two or more data sources. Directly map union input column to the output set Custom Mapping & Mapping constant values
  9. 9. 2015 SAP SE or an SAP affiliate company. All rights reserved. 9Public SAP HANA SPS10 - Modeling Enhancements Web-based View Modeling Ranked Sets Modeling Calculation Views using Ranked Sets Create Rank Nodes (New) Use rank nodes in graphical calculation views to rank the data over a set of partition columns, and perform an order by operation on the partitioned data based on a measure Define Rank Node Details Rank Output
  10. 10. 2015 SAP SE or an SAP affiliate company. All rights reserved. 10Public SAP HANA SPS10 - Modeling Enhancements Web-based View Modeling Enabling Hierarchies Creating and Managing Hierarchies Design and edit Hierarchies Level and Parent-Child Hierarchies Incl. new properties like time-dependency Local and shared hierarchies in Star-Join Calculation Views
  11. 11. 2015 SAP SE or an SAP affiliate company. All rights reserved. 11Public SAP HANA SPS10 - Modeling Enhancements Web-based View Modeling Hierarchies & Variable/InputParameter Using Hierarchies with Variables/IPs Hierarchy-based Variables and Input Parameter Enables hierarchically structured value help dialogs for e.g. default values or run-time value help Parent-Child Hierarchies Incl. new properties like time-dependency Local and shared hierarchies in Star-Join Calculation Views Value Help Dialogs Supporting Description with values (Details see Studio)
  12. 12. 2015 SAP SE or an SAP affiliate company. All rights reserved. 12Public SAP HANA SPS10 - Modeling Enhancements Web-based View Modeling Data Preview Data Preview Options of Calculation Views SQL-based Data Preview
  13. 13. 2015 SAP SE or an SAP affiliate company. All rights reserved. 13Public SAP HANA SPS10 - Modeling Enhancements Web-based View Modeling Data Preview Data Preview Options of Calculation Views Preview output using SAP Design Studio Viewer for as a multi dimensional data preview Note: Prototype Screenshots
  14. 14. 2015 SAP SE or an SAP affiliate company. All rights reserved. 14Public SAP HANA SPS10 - Modeling Enhancements Web-based Model Editor Further Enhancements Summary Web-based Modeling Enhancements Calculation View Modeling Column properties: assigning value help references, drill- down enablement for calc attributes* Column propagation to semantic node and extract semantic information from data sources General Model Editor usability enhancements (managing mappings, layout, ..) Enhanced expression editor* Input Parameter/Variables support for multiple default values*, derived values from scalar function*, input enablement for derived values* Design column output structure of SQLScript-based Calculation views Use SQLScript Table Functions as Data Sources Modeling Environment Enhancements Scenario re-design capabilities Support for comments in Views* Design-Time error support for unresolved references Copy & paste of Views in content tree Dimension Views of type Time and generated time dimension data support Model execution hints* (for support scenarios) Analytic privilege editor supporting SQL-based Analytic privileges design* View performance analysis mode support *General new capabilities in SPS10.
  15. 15. SAP HANA Studio Model Editor New capabilities and enhancements in the SAP HANA Studio Model Editor
  16. 16. 2015 SAP SE or an SAP affiliate company. All rights reserved. 16Public SAP HANA SPS 10 Whats New in SAP HANA Modeling SAP HANA Studio Model Editor Enhancements Overview SAP HANA Studio Model Editor enhancements and new capabilities General Model Editor Enhancements Support Labels/Descriptions in value help dialogs Multiple default values for IPs, VARs MultiDB tables as data sources, CDS entitities in CVs as data sources Calculation View Editor Enhancements Rank Node supporting output rank column Copy/paste of parts of a model scenario Hierarchy Enhancements Time dependent hierarchies Supporting additional attributes for PC hierarchies Hierarchy-based variable and Input parameter value help LoVs Drill down enablement for calculated attributes Modeler Performance Analysis Enhancements Virtual tables, Filter indication, Performance validation, SAP HANA Modeling Environment Content node performance improvement Multilanguage Views, Deprecating views, renaming views, propagation of renamed columns, Data preview enhancement, spatial preview Column lineage analysis within a model scenario Comment support in Views CV scenario design time warnings if model is incomplete (some patterns) Analytic Privilege Editor support for SQL based analytic privileges
  17. 17. 2015 SAP SE or an SAP affiliate company. All rights reserved. 17Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Input Data Structures Calculation View new supported Data Sources Support for CDS Entities as Data Source (Enhancements) you can also use CDS entities as a data source type
  18. 18. 2015 SAP SE or an SAP affiliate company. All rights reserved. 18Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Input Data Structures Calculation View new supported Data Sources Support for SAP HANA multitenant database container tables from external containers Model graphical calculation views in a SAP HANA system having multiple isolated databases containers. This means, while modeling graphical calculation views, you can add data source from any of the isolated databases. Before deployment of models referencing external tenant tables, schema mapping shall be set to new physical schema Schema mapping extends to multiDB schemas
  19. 19. 2015 SAP SE or an SAP affiliate company. All rights reserved. 19Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Input Data Structures Calculation View new supported Data Sources Decision Table design time references Previously only run time structures (generated column views were supported) Object search includes decision tables Support of SQL views as data source
  20. 20. 2015 SAP SE or an SAP affiliate company. All rights reserved. 20Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Rank Node Enhancements to Rank Nodes Generate an additional output column to store the columns rank value. Helpful for scenario, where the actual rank value is of value and shall be re-used
  21. 21. 2015 SAP SE or an SAP affiliate company. All rights reserved. 21Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Enhanced Expression Editor Enhanced Expression Editor Smart autocomplete with filter-, variable-, parameter- restricted- and calculated column expressions Display of operators, all functions and model elements Validation occurs automatically on the fly Expression language selection for Calculation Views Explicit distinction between Column Engine expression and SQL Expression The use of SQL expressions allows further optimizations by the overall SQL optimizations of instantiated Calculation Views queries 1764658 - HANA Calculation Engine Instantiation Process 1811723 - SQL Execution on graphical calculation views
  22. 22. 2015 SAP SE or an SAP affiliate company. All rights reserved. 22Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Hierarchies Time Dependent Hierarchies HANA hierarchies support a validity time span, based on single point in time or a time interval the hierarchy trees will be pruned Supported for Parent-Child Hierarchies Hierarchy source table requires two date columns VALID_FROM and VALID_TO *Note: Use of time dependent hierarchies using a from-to hierarchy interval query is initially targeted for SAP Applications accessing SAP HANA hierarchy views directly via SQL and will only be fully enabled for customer use, once hierarchy-SQL expression are documented for external use in the SAP HANA SQL documentation.Result example from a respective hierarchy view query From/To parameters enable return of a hierarchy tree including changes at different point in times. From/To parameters also require to be set as data filters of the calculation view data source itself.
  23. 23. 2015 SAP SE or an SAP affiliate company. All rights reserved. 23Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Hierarchies Hierarchy SQL Integration Hierarchy-based SQL processing capabilities enabled via SAP HANA View based hierarchies SQL processing includes hierarchy-based* filtering, aggregations as well as analytic privileges. Usage scenario and enablement Shared hierarchies from Dimension-type and StarJoin-type Calculation Views. SQL use of hierarchies needs to be activated in the view properties (for all shared hierarchies). Once activated custom node-column name and hierarchy-expression parameter* can be given custom name *Note: Use of hierarchy expression will be fully enabled, once hierarchy- expression are documented in the SAP HANA SQL documentation.
  24. 24. 2015 SAP SE or an SAP affiliate company. All rights reserved. 24Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Hierarchies Hierarchy SQL Integration - Additional Attributes Additional hierarchy attributes can be specified for use from BI Clients (once supported) or via Hierarchy SQL Integration* *Note: Use of hierarchy additional attributes will be fully enabled for customer use, once hierarchy-SQL expression to leverage the additional attributes are documented in the SAP HANA SQL documentation.
  25. 25. 2015 SAP SE or an SAP affiliate company. All rights reserved. 25Public SAP HANA SPS10 - Modeling Enhancements Calculation Views Enhancements Hierarchies Hierarchy SQL Integration Hierarchy-aggregation The node column can be used for group by: .. Note, that the filter on the node column constrains to the hierarchy subtree. All the descendants of the node are selected. Note: the Revenue and Cost column contain the hierarchical aggregated values, i.e. the Revenue for MAJESTIX is the sum of the revenue of all its. The calculated column Margin (percentage) is calculated correctly after the aggregation on each hierarchy level. Filtering on a...