63
1 © 2014 SAP SE or an SAP affiliate company. All rights reserved. SAP HANA SPS 09 - What’s New? SAP HANA Modeling SAP HANA Product Management November, 2014 (Delta from SPS 08 to SPS 09)

SAP HANA SPS09 - HANA Modeling

Embed Size (px)

DESCRIPTION

See what's new in SAP HANA SPS09- SAP HANA Modeling

Citation preview

Page 1: SAP HANA SPS09 - HANA Modeling

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

SAP HANA SPS 09 - What’s New? SAP HANA Modeling

SAP HANA Product Management November, 2014

(Delta from SPS 08 to SPS 09)

Page 2: SAP HANA SPS09 - HANA Modeling

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

Disclaimer

This presentation outlines our general product direction and should not be relied on in making

a purchase decision. This presentation is not subject to your license agreement or any other

agreement with SAP.

SAP has no obligation to pursue any course of business outlined in this presentation or to

develop or release any functionality mentioned in this presentation. This presentation and

SAP’s strategy and possible future developments are subject to change and may be changed

by SAP at any time for any reason without notice.

This document is provided without a warranty of any kind, either express or implied, including

but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or

non-infringement. SAP assumes no responsibility for errors or omissions in this document,

except if such damages were caused by SAP intentionally or grossly negligent.

Page 3: SAP HANA SPS09 - HANA Modeling

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

Agenda

Topics

Overview What’s New in SAP HANA Modeling

General Model Editor Enhancements

SAP HANA Studio / Modeling related Enhancements

– Incl. Modeling in the development perspective

WebIDE Modeler

Page 4: SAP HANA SPS09 - HANA Modeling

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

SAP HANA SPS 09 – What’s New in SAP HANA Modeling Overview

Enhanced and new SAP HANA Modeling capabilities

Editor usability

Value help entity reference

Calculation Views

Rank node

Table function as data sources

Script-based CV enhancements

Table function support

Output column structure import

History Views support (time travel support)

Spatial support: spatial joins, spatial expressions in filters

Harmonize Development- and Modeler- Studio perspectives

Harmonize object naming

Supportability

Debugging Views with drill-down analysis,

join cardinality

Logging and tracing for modeler plugins

(preferences)

Productivity / object re-usability

Replace node / replace node with a data

source / ..

Propagate semantics from data sources /

extract semantics

WebIDE

Calculation View editor

Analytic Privilege editor

Page 5: SAP HANA SPS09 - HANA Modeling

Model Editor New capabilities and general enhancements in the SAP HANA Model Editor

Page 6: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 6 Public

SAP HANA SPS09 - Modeling Enhancements Semanctic Node – Re-design and Enhancements

Re-designed Semantic node

Tab-based View for columns, View

properties, Hierarchies,

Parameters/Variables

– Improved column output overview

Column details enhancements

– Attribute LOV Value help views/tables

– “Key”-column property

– Direct shared-column alias editing

Page 7: SAP HANA SPS09 - HANA Modeling

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

SAP HANA SPS09 - Modeling Enhancements Semanctic Node – Re-design and Enhancements

Attribute LOV Value help View/Table-Property

Use case: value help dialogs during

multidimensional navigation or

filter lov generation

– Attribute can be directed to a

dedicated value help view/table

– Supports Manage Mappings of

Variable/Parameter from referenced

value help views/tables

for attribute LOV-generation

1

2

Page 8: SAP HANA SPS09 - HANA Modeling

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

SAP HANA SPS09 - Modeling Enhancements General Editor Enhancements – Input Parameters

Input Parameter Enhancements

Multi-Value Parameter support

– Use case: providing multiple values for Input Parameters at

Runtime from client tools

Scenario

– Developer can create and configure input parameters in

calculation views and analytic views to support multiple

values.

– Multi value input parameters can be used in:

1. Apply filter for "List of Values" and "Not in list" options.

2. Expression editor of calculated columns and filter

expression in projection nodes based on if the expression

requires a multi value input.

– Not supported are Input parameters of type derived,

they continue to be only single valued.

1

Page 9: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 9 Public

SAP HANA SPS09 - Modeling Enhancements General Editor Enhancements – Input Parameters

Input Parameter Enhancements

Derive parameter values now support

Derived from procedure

– Input parameter value can hence be passed into a model

based on scalar output value from a stored procedure

– The procedure requires to generate only a scalar output

e.g. using a cursor

Further the procedure itself cannot yet pass in input

parameters.

Page 10: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 10 Public

SAP HANA SPS09 - Modeling Enhancements General Editor Enhancements – Restricted Columns

Restricted Columns Enhancements

Enhancements to Restricted Columns (Enhancement)

– Input parameters supported for restricted columns.

– BT (between) operator supported for applying restrictions

on attribute columns.

– Filter expressions supported for applying restriction on base

measures.

Page 11: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 11 Public

SAP HANA SPS09 - Modeling Enhancements General Editor Enhancements – Currency/Unit Conversion

Currency / Unit Conversion Enhancements

Type Icon indication: column ,attribute or fixes type

Generated column for output currency/unit label

– Available in display currency/unit value help dialog

– Data preview display output

with currency/unit label

Page 12: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 12 Public

SAP HANA SPS09 - Modeling Enhancements General Editor Enhancements – Join Dialog

Join dialog enhancements

Validate Cardinality and Join Type (New)

– Users can validate the join type and cardinality of existing and new

joins. The system analyzes the tables participating in the join, and

recommends an optimal join type and cardinality. This helps users to

avoid performance issues caused by specifying wrong cardinality or

join type information.

Joins column no longer required as output

Model multi column joins

Join cardinality visual indicator (if set)

Page 13: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 14 Public

SAP HANA SPS09 - Modeling Enhancements General Editor Enhancements – Time Travel Support

Time Travel Support with SAP HANA Views

Enable Information Views for Time Travel Queries

– Users can enable their information views to support time

travel queries, which help them to query the past state of

data. They can use input parameters to specify the

timestamp in time travel queries.

Configuration and Usage

– History-enabled column tables

– HANA View with “Enable History”-Flag

– Input-Parameter type direct or derived

of data type Date / Time / TimeStamp

/ ABAP-Date

Page 14: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 15 Public

SAP HANA SPS09 - Modeling Enhancements General Editor Enhancements – Time Travel Support

Time Travel Support with SAP HANA Views

Query Time Travel-enabled Views

– Statement level time travel

<subquery> AS OF UTCTIMESTAMP <timestamp>

SELECT "CustomerStatus", SUM("NetAmount") AS "NetAmount_SUM"

FROM "_SYS_BIC"."HANA_SPS09.general/CV_TIMETRAVEL"

GROUP BY "CustomerStatus"

ORDER BY "CustomerStatus" ASC

AS OF UTCTIMESTAMP '2014-11-04 12:45:00'

Page 15: SAP HANA SPS09 - HANA Modeling

Calculation Views New capabilities and enhancements in the Calculation View Editor

Page 16: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 18 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Rank Node

Rank Nodes in Graphical Calculation Views (New)

Calculate ordered (measure value) and ranked (Top/Bottom N)

partition-by sets (by multiple attributes)

– Allows multiple columns for partition-by

(e.g. Top 3 Player by Team and gender)

– Top/Bottom N-thresholds supports input parameter

– Dynamic Partition Elements allows to prune partition-by column dynamically

if column is not requested by query

Example TOP 3 Players

Page 17: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 19 Public

SAP HANA SPS09 - Modeling Enhancements Calculation View Enhancements – Spatial Operations

Spatial Join Operations in SAP HANA Modeler

Calculation View with now support spatial operations

– Calculating the distance between geometries and

determining the union or intersection of multiple objects.

– These calculations are performed using predicates such as

intersects, contains, and crosses

Spatial operation can be modeled as Spatial Joins

– Users can create spatial joins to query data from database

tables that contain spatial data.

– Spatial predicates

include

Page 18: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 20 Public

SAP HANA SPS09 - Modeling Enhancements Calculation View Enhancements – Spatial Operations Examples

Spatial Join Operations in SAP HANA Modeler

Spatial operation can be modeled as Spatial Joins

– Within Distance (Value dependent on geometry used)

support Input Parameter for distance values

– Touches (one geometry touches another)

– Relates evaluates multiple spatial relationships at once.

For details see SAP HANA Spatial Reference

Page 19: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 21 Public

SAP HANA SPS09 - Modeling Enhancements Calculation View Enhancements – Spatial Operations Examples

Page 20: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 23 Public

SAP HANA SPS09 - Modeling Enhancements Calculation View Enhancements – Semantics from datasources

Re-use Semantic from DataSources

Extract column semantic information from view

datasources and and propagate to semantic node

–From scenario data source context menue or

semantic node icon

Extracted Information

– Labels information, aggregation type, column semantic

– Hierarchies (incl. Hierarchies from referenced Attribute

Views)

Page 21: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 24 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Transparent Filter Flag

Transparent Filter Flag for stacked views with counters

Enables filter push-down for filtering columns to the lower layer-

view with counter-measures

– Required for filtered, non-projected columns with counters

– Set on every node and column of the upper/consuming calculation view

and on the nodes of the lower calculation/analytic view

Filter column customer is not wrongly

added to the projection list of the query

to the lower layer view with the counter

measure.

Example

"Show the distinct number of

stores where customers John

and Susan have bought the

product Mouse".

Page 22: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 25 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Transparent Filter Flag

Correct counter results transparent flag=true.

Incorrect counter results transparent flag=false.

Customer column is added to the

projection list, leading to a different

intermediate set passed into the

upper node.

Page 23: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 26 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Re-designing a Scenario

Scenario Re-design – Replacing Nodes or Data Sources

When reusing/refactoring view copies in different context or during

simple re-design of existing view, the flow of the view requires to

exchange or delete nodes or replace a data source

>> without losing the semantic information and mapping in the

consuming upper nodes

– Unmapped column (columns where new data source has no inputs) require

to be removed, mapped to new source or alias

Replacing of Nodes

– replace view nodes with other underlying view nodes

Replacing of Data Sources

– Replace a data source with available data sources in the catalog object,

without losing the semantic information of the changed node. Similarly, they

can also replace a data source in a column view with other available data

sources in the catalog object

Page 24: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 27 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Re-designing a Scenario

Scenario Re-design – Replacing Nodes or Data Sources

Replacing of consumed Data Sources

– Replace a data source with available data sources in the catalog object,

without losing the semantic information of the changed node. Similarly, they

can also replace a data source in a column view with other available data

sources in the catalog object

Page 25: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 28 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Re-designing a Scenario

Scenario Re-design – Replacing Nodes or Data Sources

Replacing of consumed Data Sources

– Unmapped column (columns where new data source has no inputs) require

to be removed, mapped to new source or alias

Handling unmapped columns

Page 26: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 29 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Re-designing a Scenario

Scenario Re-design – Replacing Nodes or Data Sources

Replacing of Data Sources/Node references within a intermediate node

– Replace a data source with available data sources in the catalog object, without

losing the semantic information of the changed node. Similarly, they can also

replace a data source in a column view with other available data sources in the

catalog object

Page 27: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 30 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Re-designing a Scenario

Scenario Re-design – Replacing Nodes or Data Sources

Replacing of Nodes

– replace view nodes with other underlying view nodes

– Delete intermediate node (e.g. projection)

– Replace Node with a data source

Unmapped column (columns where new

data source has no inputs) require to be

removed, mapped to new source or

alias

Page 28: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 31 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views Enhancements – Enabling Query Results Cache

Enabling query results caching control

Using query cache

– Query cache is only used for complex queries (group by …)

– Suitable to use read-mostly workload, same set of queries is executed

repeatedly, rather non-changing data, rather expensive queries

e.g. Smart Data Access queries

Time-based control view- property, when query cached shall be

invalidated

– A time-based cache invalidation property (advanced view properties),

which invalidates or removes data from the cache after the specified

time interval.

Reviewing chache use.

Page 29: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 32 Public

SAP HANA SPS09 - Modeling Enhancements Calculation Views – Miscellaneous Enhancements

Miscellaneous Calculation View Enhancements

Attribute Keep-Flag additionally to Aggregation-Nodes is now also supported with Projection-Nodes.

– It indicates that the attribute is kept during instantiation and execution of calculation view query for a node and is passed

on to the upper nodes even if it is not requested by the query (~must use attribute).

Star Joins - Top Calculation View-node switch from/to Star Join-Node now supported

Star Joins – now support referential join conditions

Time-Dimension Calculation View now supported

– ~ to Attribute View-type Time-Dimension

Page 30: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 34 Public

SAP HANA SPS09 - Modeling Enhancements Scripted Calculation Views – Used as ValueHelp View

Scripted Calculation Views used as ValueHelp Views

Enhanced support for Input Parameters and Variables-Mapping with

Script-based Calculation Views as Value Help-sources

– Users can map the parameters or variables

of external views for value help also in case

of script-based calculation views.

Page 31: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 35 Public

SAP HANA SPS09 - Modeling Enhancements Scripted Calculation Views – Editing the Output Structure

Scripted Calculation Views – Output Structure

Enhanced copy/paste of script output column

– Incl. between view copy/pase

Add Columns to Output in Script-based Calculation Views

– Users can define the output structure of script-based calculation views with

columns from information views or catalog tables that already exist in their

SAP HANA system.

Page 32: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 36 Public

SAP HANA SPS09 - Modeling Enhancements Scripted Calculation Views – Refactor as Table Functions

Use Script-based Calculation Views as Table Functions

Use of Table Functions as Data Source in Graphical CVs

– In HANA Studio Development Perspective, where Table Function

design-time can be referenced from repository browser

Save or Migrate scripted Calculation Views as Table Functions

– Both existing and new script-based calculations views can be saved

as table functions, which can be used as a data source

in graphical calculation views

Page 33: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 37 Public

SAP HANA SPS09 - Modeling Enhancements Scripted Calculation Views – Considerations on Table Functions

Use Script-based Calculation Views as Table Functions

Use of Table Functions as Data Source in Graphical CVs

– In HANA Studio Development Perspective, where Table Function

design-time can be referenced from repository browser

& added per drag and drop into graphical CVs as a data source

– Note: Table Function Editor is different from Scripted CV Editor

(and only available in Development Perspective)

Table Functions and Input Parameters

– Input to Table Functions can be scalar Input Parameters

(do not support table types as inputs)

– Input to Table Functions can be mapped via Parameter Mapping

in Graphical Calculation View

Page 34: SAP HANA SPS09 - HANA Modeling

Performance Analysis New capabilities and enhancements in the HANA View Performance Analysis Mode

Page 35: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 39 Public

SAP HANA SPS09 - Modeling Enhancements Enhanced Modeler Performance Analysis Capabilities

Performance Analysis Mode in Modeling Environment

Introduced with SAP HANA SPS08

– Hints and indicators on table partitioning and number of rows

Performance Analysis Enhancements

– Modeler detail panel with extended join information on join column

cardinality (incl cardinality analysis) and join type

Debug Information Views (New)

– New debugger editor in SAP HANA modeler targeting analysis of

SQL queries against HANA Views, enabling insight into runtime

behavior of model flow and performance aspects.

– Further integrates with the Plan Visualization capabilities

Switching on

performance analysis

mode

Page 36: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 40 Public

SAP HANA SPS09 - Modeling Enhancements Enhanced Modeler Performance Analysis Capabilities

Performance Analysis Mode in Modeling Environment

Performance Analysis Enhancements

– Modeler detail panel with

extended join information

on join column cardinality

(incl cardinality analysis)

and join type

Page 37: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 41 Public

SAP HANA SPS09 - Modeling Enhancements Enhanced Modeler Performance Analysis Capabilities

Debugging Queries with Information Views

Performance Analysis Debug Editor

– New debugger editor in SAP HANA modeler targeting analysis of

SQL queries against HANA Views, enabling insight into runtime

behavior of model flow and performance aspects.

Generated standard query or custom SQL query

can be used to start debug analysis of the query

based on the HANA view.

Page 38: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 42 Public

SAP HANA SPS09 - Modeling Enhancements Enhanced Modeler Performance Analysis Capabilities

Debugging Queries with Information Views

Performance Analysis Debug Editor

– Highlights only selected columns

(present in query)

– Highlights node pruning / node conversion

(e.g. join to projection) in the scenario

– Investigation of SQL Query + intermediate

result on every level of the scenario

– Drill-down to incoming views for further

analysis

on execute Debug View opens

Visual indication of pruned node operations

e.g. here Employee data not involved in

query, therefore join is pruned to projection.

Page 39: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 43 Public

SAP HANA SPS09 - Modeling Enhancements Enhanced Modeler Performance Analysis Capabilities

Debugging Queries with Information Views

Performance Analysis Debug Editor

– Drill-down to incoming views

for further analysis

Breadcrump for navigation

btw levels of stacked views

in the analysis

Page 40: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 44 Public

SAP HANA SPS09 - Modeling Enhancements Enhanced Modeler Performance Analysis Capabilities

Performance Analysis Mode in Modeling Environment

Debug Information Views and Plan Visualization

– Integrates with the Plan Visualization

capabilities

Plan Visualization tree based on the instantiated

query model of the runtime HANA View artefacts

Page 41: SAP HANA SPS09 - HANA Modeling

Modeling Environment New capabilities and enhancements in the Modeler- and Development perspectives

in SAP HANA Studio

Page 42: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 46 Public

SAP HANA SPS09 - Modeling Enhancements General Modeler Enhancements – Frequently performed tasks

Modeler Quick-View

Easy access to frequently performed tasks via

new Quick View-pane (replacing Modeler Quick-Launch)

– available as a View in SAP HANA studio, allows you to

quickly navigate and perform modeling tasks such as

Validate, Activate, Schema Mapping, etc.

Systems View SAP HANA Modeler-context menu

– Context menue presenting

relevant system-view tasks

Page 43: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 47 Public

SAP HANA SPS09 - Modeling Enhancements General Modeler Enhancements – Object Naming

Standardized object name references

Use of standardized full qualified names for catalog and repository objects.

– Catalog object: "schema".name

Example: "MINI".CUSTOMER

– Catalog object with authoring schema: "AuthoringSchema(PhysicalSchema)".name

Example: "MINI_AUTH(MINI)".CUSTOMER

where MINI_AUTH is the authoring schema and MINI is the physical schema.

– Repository Object: package::name

Example: HANA_SPS09.new::CV_Spatial

Page 44: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 48 Public

SAP HANA SPS09 - Modeling Enhancements General Modeler Enhancements – Managing Schema Mapping

Managing Schema Mapping Enhancements

Schema content may derive from multiple / different

back-end or authoring environments

*In order to ease managing of schema mapping in

such scenarios, package-specific schema mapping

(which overrides the default schema mapping) can be

maintained in _SYS_BI.M_Package_Default_Schema

New UI dialog

– Users can use the new UI in SAP HANA modeler to

maintain package specific default schema. This replaces

the manual process of using SQL statements to maintain

package specific default schema in the table

M_PACKAGE_DEFAULT_SCHEMA (Schema: _SYS_BI).

*Introduced with HANA SPS08

The default schema mapping is overruled by

Package-specific Schema Mapping

Page 45: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 49 Public

SAP HANA SPS09 - Modeling Enhancements General Modeler Enhancement – Data Preview

Modeler Data Preview Enhancements

Data preview query execution control

–Preference to enable/disable immediate default data

preview query execution (default enabled)

–Control explicit query execution with “Execute”

command (e.g. after filter setting etc.)

Page 46: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 50 Public

SAP HANA SPS09 - Modeling Enhancements General Modeler Enhancements – Refactoring

Refactoring Modeler Content in the HANA Modeler perspective

Partial content refactoring supported

– If selected content objects cannot be moved,

the overall refactoring process doesn’t error stop,

but continues to refactor other objects

Notice about refactoring could not be accomplished

due to reference script based calculation view

Page 47: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 51 Public

SAP HANA SPS09 - Modeling Enhancements General Modeler Enhancements – Modeler Tracing

SAP HANA Studio / Modeler Tracing support

Tacing of Modeler actions into log-files (help to track

down support issues)

– nn

• Traicing in enabled in the SAP HANA

Studio preferences dialog

• The trace can be switched ON/OFF in

the preference as shown below.

Page 48: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 52 Public

SAP HANA SPS09 - Modeling Enhancements General Modeler Enhancements – Miscellaneous Enhancements

SAP HANA Studio / Modeler Enhancements

SAP HANA Studio MAC installation supported

Content Application Lifecycle

– Export through delivery unit supports “released version”

content export

Analytic privileges undo/redo actions supported

Job log output structure tree enhancements

– Removal of redundant nodes and levels for better overview

BW on HANA enhancements

– At Re-Import of query snapshots calculated and restricted columns are retained

HANA Studio Logon Language

– Now supported is use with multi-lingual column label

(BW on HANA context)

Page 49: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 53 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Studio Development Perspective – Modeling

Modeling Enhancements in the development perspective

Modeling tasks/capabilities in parity with SAP HANA Studio Modeler perspective

Repository Browser

• Simplified with default

workspace - No

longer is it required to

check out content or

have a project

• All objects are directly

editable simply by

selecting them in the

Repository browser

• File->New; package

creation – all possible

from the Repository

Browser

Project Explorer

• incl. developer

import via drag and

drop (or Menue File

Import/export)

Page 50: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 54 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Studio Development Perspective – Workspace Creation

Simplified Workspace and project creation

• Default workspace setup enables direct use of repository browser with

implicit project workspace

- No longer is it required to check out content or to have a explicit project

• Import existing workspace

• Delete other users workspace

(good for administrative clean up)

Page 51: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 55 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Studio Development Perspective – Modeling

Modeling Enhancements in the development perspective

Direct editing from Repository Browser

Repository Browser

• Default workspace • File->New object /

New package from

the Repository

Browser

• All objects are directly

editable simply by

selecting them in the

Repository browser

• Opened / edited object

are implicitly checked-out

• Object copies shall be

removed from default

workspace after activation

1

2

3

Page 52: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 56 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Studio Development Perspective – Modeling

Refactoring Modeler Content

Refactor Modeler Objects in SAP HANA Development Perspective (New)

– Users can refactor modeler objects in the SAP HANA development perspective. This means they can

now move modeler objects within or across projects in same repository workspace without any

changes to the behavior of the modeler objects.

Repository Browser

> Package context menu > Move

– Searches for all impacted objects

– Adjust package references in source and

impacted objects

Page 53: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 57 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Studio Development Perspective – Modeling

Masscopy / Paste Special (Refactor) Modeler Content

Copy / Masscopy of selected objects / package folders

supports refactoring references using PASTE SPECIAL action

– In the Project explorer on the target folder

select > PASTE SPECIAL

Page 54: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 58 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Studio Development Perspective – Modeling

Visual Error Markers for detecting design-time errors

Development perspective validation-check or activation

trigger visual error markers

Problems-View displays error messages

and with activation error pop-up dialog opens

Visual error markers in the model editor

– Model opens with errors in focus

On hover-over the error marker

tool-tip displays error message

Page 55: SAP HANA SPS09 - HANA Modeling

Web-based Modeling New SAP HANA webIDE-based Model Editors

Page 56: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 60 Public

SAP HANA Web-based Development Workbench New design/foundation

The SAP HANA Web-based

Development Workbench is

now based upon core libraries

as the SAP Web IDE

• New visual design

• Integration of some of the

web tools of the SAP Web

IDE

• Contextual Help via online

documentation

Page 57: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 61 Public

SAP HANA Web-based Development Workbench New design/foundation

New URL Paths:

• /sap/hana/ide/editor

• /sap/hana/ide/catalog

• /sap/hana/ide/security

• /sap/hana/ide/trace

• Old URLs redirect automatically

to new ones

• New Roles

• Old roles still valid as they

include the new roles

Page 58: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 62 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Web-based Modeling Environment

http://server:port/sap/hana/ide/editor/

New Web Editor for Calculation Views

Supports both Graphical and Scripted

Calculation views

– New zero-footprint platform and approach

reaching more HANA Model developers!

New usability approaches

– Mapping based data and column-flow

– Less tabs and different views, instead more

focused use of “master” and “detail” area only

to edit Calculation View details

Note

– No Analytic- and Attribute-View Modeling

– Initial release for Calculation Views not feature complete

but future/mid-term innovation platform

Page 59: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 63 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Web-based Modeling Environment

New Web Editor for Calculation Views

Supports both Graphical and Scripted

Calculation views

– New zero-footprint platform and approach

reaching more HANA Model developers!

Page 60: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 64 Public

SAP HANA SPS09 - Modeling Enhancements SAP HANA Web-based Modeling Environment

New Web Editor for for Analytic Privileges

Development and Editing of

HANA Analytic Privileges

1

Page 61: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 65 Public

How to find SAP HANA documentation on this topic?

• In addition to this learning material, you can find SAP HANA

platform documentation on SAP Help Portal knowledge center at

http://help.sap.com/hana_platform.

• The knowledge centers are structured according to the product

lifecycle: installation, security, administration, development:

SAP HANA Options

SAP HANA Advanced Data Processing

SAP HANA Dynamic Tiering

SAP HANA Enterprise Information Management

SAP HANA Predictive

SAP HANA Real-Time Replication

SAP HANA Smart Data Streaming

SAP HANA Spatial

• Documentation sets for SAP HANA options can be found at

http://help.sap.com/hana_options:

SAP HANA Platform SPS

What’s New – Release Notes

Installation

Administration

Development

References

Page 62: SAP HANA SPS09 - HANA Modeling

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

Thank you

Contact information

Christoph Morgen

SAP HANA Product Management

[email protected]

Page 63: SAP HANA SPS09 - HANA Modeling

© 2014 SAP SE or an SAP affiliate company. All rights reserved. 67 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 SE’s 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.