Guidelines for Implementing SAP HANA Live and Tailoring Views to Your Specific Business Needs- Luc Boodts_0

May 3, 2017 | Author: Pradeep | Category: N/A
Share Embed Donate


Short Description

Guidelines for Implementing SAP HANA Live and Tailoring Views to Your Specific Business Needs- Luc Boodts_0...

Description

Guidelines for Implementing SAP HANA Live and Tailoring Views to Your Specific Business Needs

Luc Boodts Expertum Produced by Wellesley Information Services, LLC, publisher of SAPinsider. © 2015 Wellesley Information Services. All rights reserved.

In This Session •







You will get some great tips on how to use SAP HANA Live based on a real-life case of an SAP ECC on HANA scenario Based on customer requirements, it was clear that SAP HANA Live has a gap when it comes to hierarchies. Here we will explain how you can get your financial hierarchies into SAP HANA. We will show you that with a simple ABAP program, you can make your (modeling) life easier How to use HANA Live Authorization Assistant, also for your own created models

1

What We’ll Cover • •

• • • •

Introduction – “What is SAP HANA Live?” and how to modify SAP HANA Live and Hierarchies How to obtain descriptions and make your life easier modeling HANA views Authorization setup for SAP HANA Live Some great tips Wrap-up

2

What We’ll Cover (cont.) • •

• • • •

Introduction – “What is SAP HANA Live?” and how to modify SAP HANA Live and Hierarchies How to obtain descriptions and make your life easier modeling HANA views Authorization setup for SAP HANA Live Some great tips Wrap-up

3

What Is SAP HANA Live Again? • •

• •

Content for Business Suite on HANA deployments Delivered by SAP Basis for reporting and applications Virtual Data Models

Source : SAP

4

SAP HANA Live Modifications •



SAP HANA Live can be copied to your own namespace and modified  Straight-forward, and always able to “refresh” with new SAP HANA Live content SAP HANA Live Extension Assistant (available since mid-2014)  Allows copying existing HANA Live views into your own packages  Easy to add additional columns  Keeps “extensions” updated  Allows for enhancements, but with some limitations (e.g., no unions, …)

http://scn.sap.com/community/hana-in-memory/blog/2014/06/24/extending-hana-live-views 5

What We’ll Cover • •

• • • •

Introduction – “What is SAP HANA Live?” and how to modify SAP HANA Live and Hierarchies How to obtain descriptions and make your life easier modeling HANA views Authorization setup for SAP HANA Live Some great tips Wrap-up

6

SAP HANA Live Content •







You start or plan to start an SAP HANA ECC implementation including SAP HANA Live Content You expect to have flexible and fast reporting by using SAP HANA Live Content Many views are available in various domains including Finance and Controlling You feel confident this will answer a large % of your business reporting … but then

7

SAP HANA Live and Hierarchies •



SAP HANA Live does not offer hierarchy support  This might be a surprise  Hierarchies in ECC are used in Financials, Logistics, …

Corporate EMEA

APJ

US

BE FR

Extract from SAP Note “1778607 – SAP HANA Live for SAP Business Suite”

8

How to Get Hierarchies in Your Views and Reporting • •

• •

Use hierarchies in your usual ECC transactions and reports Use SAP BW and its hierarchy functionality (not real time) Build hierarchies in SAP HANA Go hybrid with SAP BW and SAP HANA

9

How to Add Hierarchies to SAP HANA Live Views with SAP BW •

A possible solution to add hierarchies is by using a hybrid solution combining SAP HANA Live views with SAP BW hierarchies

BW

HANA

Adding BW master data features by using CompositeProvider or Open ODS view Consumption of SAP HANA Live views happens in BW (BW query) Available from SAP BW 7.40 SP8 10

Advantages of Using SAP BW Hierarchies with SAP HANA Live • •

• •





Dynamic selection of hierarchies like in SAP BW on ECC HANA data Faster and easier modeling of hierarchies Recycle BW investments for already built (custom) hierarchies HANA (Live) in combination offers best of both worlds: • Fast HANA DB • BW OLAP functionality such as hierarchies, attributes • BW security concept BW can be used also for complex flow, which require transformations that are not available in ECC (or require ABAP coding) If desired, Business Users can keep on using BEx Analyzer and see no difference with existing BW 11

Why Not Use SAP BW Functionality • •





No investment done in SAP BW Some users don’t like BEx Query Designer Hierarchies well known in SAP ECC and SAP BW, but not in databases including SAP HANA Limited support for SAP BW in SAP Lumira (1.23 version)  only Visualise feature available

12

Solution to Create Financial Hierarchies for Usage in HANA Views •

High-level description of two solutions covered:  Usage of hierarchy mechanism for FI/CO Accelerator (side-car scenario) and build a custom table and build a HANA view with level hierarchy OR  Build a HANA view on the source hierarchy tables and build parent-child hierarchy



Benefits:  No SAP BW setup required  Re-usable in different HANA calculation views  Consumable with SAP BI tools through HANA views

13

SAP HANA Live and Hierarchies •

In this section:  Case 1: Use FI/CO Accelerator and Level Hierarchy  Case 2: Use Parent-Child Hierarchy

14

Case 1: Use FI/CO Accelerator and Level Hierarchy (Limitations) •



• •

FI/CO Accelerator solution for hierarchies in HANA views is ONLY possible for (FI/CO hierarchies):  Cost Center Groups  Profit Center Groups  Account Groups  Cost Element Groups  Order Groups Other hierarchies such as Material Group, … cannot use the FI/CO accelerator mechanism Hierarchies need to be generated with transaction in ECC, so not updated in real-time, Each desired hierarchy needs to be generated with the transaction 15

Case 1: Use FI/CO Accelerator and Level Hierarchy (Case and Tools) • •

• • •



In this use case a specific hierarchy is required This hierarchy has a fixed number of levels In reporting, the Cost element hierarchy needs to be available as a hierarchy Hierarchy should be flattened as each level of the hierarchy has a business meaning This makes the case suitable for a “Level Hierarchy” Use Transaction HDBHIER to generate the hierarchy tables

16

Case 1: Use FI/CO Accelerator and Level Hierarchy (Procedure) •

Procedure

17

Case 1: Use FI/CO Accelerator and Level Hierarchy (Procedure) (cont.) •

Procedure to generate intermediate table for simplicity

18

Case 1: Use FI/CO Accelerator and Level Hierarchy (HANA Model)

19

Case 1: Use FI/CO Accelerator and Level Hierarchy (Reporting Example) • •

Hierarchy filter in AO Each level is available separately and has a business meaning

20

SAP HANA Live and Hierarchies •

In this section:  Case 1: Use FI/CO Accelerator and Level Hierarchy  Case 2: Use Parent-Child Hierarchy

21

Case 2: Use Parent Child Hierarchy — Introduction •





• •

Started with use case of Cost Element Hierarchy, which is unbalanced (number of levels is not always the same) The hierarchy functionality was enhanced with a feature, to select the different hierarchies (like in SAP BW) No intermediate tables or FI/CO accelerator feature is used Usage of tables SETNODE and SETLEAF Leaves only possible for single values

22

Case 2: Use Parent Child Hierarchy (Model — Root Nodes) •

Determine the top nodes

23

Case 2: Use Parent Child Hierarchy (Hierarchy Model) •

KSH3 transaction and mapping to model Top nodes

Subnodes

Leafs Subnodes

Leafs

Top nodes

24

Case 2: Use Parent Child Hierarchy (Hierarchy Model) (cont.) •

Projection on SETNODE on itself to join SETNAME (parent) and SUBSETNAME (child)

Subnodes Subnodes Leafs

Top nodes

Leafs

Top nodes

25

Case 2: Use Parent Child Hierarchy (Hierarchy Model) (cont.) •

Union details

Subnode s

Leafs

Top nodes

26

Case 2: Use Parent Child Hierarchy (Hierarchy Model) (cont.) •

Hierarchy definition in calculation view

27

Case 2: Use Parent Child Hierarchy (Hierarchy Definition)

To pass variables from 1 view to another 28

Case 2: Use Parent Child Hierarchy (Usage in “Transactional View”)

29

Case 2: Use Parent Child Hierarchy (Reporting Example)

30

What We’ll Cover • •

• • • •

Introduction – “What is SAP HANA Live?” and how to modify SAP HANA Live and Hierarchies How to obtain descriptions and make your life easier modeling HANA views Authorization setup for SAP HANA Live Some great tips Wrap-up

31

How to Obtain Descriptions and Make Your Life Easier Modeling HANA Views (ABAP Program) •





A simple ABAP program will update the description of all your SAP tables in the SAP HANA database In the Modeler before … and after …

Run the program after each change to the system, such as upgrade, patching and developments (can be done selectively) (Based on blog http://scn.sap.com/community/developer-center/hana/blog/2014/06/02/update-table-and-column-comments-from-abap-dictionary)

32

How to Obtain Descriptions and Make Your Life Easier Modeling HANA Views (ABAP Program) (cont.) •

ECC table in HANA before …



and after …

33

What We’ll Cover • •

• • • •

Introduction – “What is SAP HANA Live?” and how to modify SAP HANA Live and Hierarchies How to obtain descriptions and make your life easier modeling HANA views Authorization setup for SAP HANA Live Some great tips Wrap-up

34

SAP HANA Live — Installation SAP HANA Live Authorization Assistant •

Download from SMP (http://support.sap.com/swdc) and unzip and import the .tgz file in SAP HANA Studio

35

SAP HANA Live — Usage Analytics Metadata •

Available after the installation of SAP HANA Live Authorization Assistant in SAP HANA Studio



Is a separate option in the properties (click on “Semantics”) of the SAP HANA Live view Example: Authorization object K_CSKS is used for view CostCenterQuery

36

Authorization Assistant for Custom Built — Step 1 •

Maintain the properties in Analytics Metadata and add the desired Authorization Object

37

Authorization Assistant for Custom Built — Step 2 •

Generate privileges from Authorization Assistant and choose packages and deselect “show only query views”

38

Authorization Assistant for Custom Built — Step 3 •

Select the users for which you want to inherit the SAP (PFCG) roles and transform into privileges

39

Authorization Assistant for Custom Built — Step 4 •

After selection of users when you proceed (next), you are informed of the privileges that will be generated, and after, it will be generated in the system

40

Authorization Assistant for Custom Built — Step 5 •

Comparing the Analytic Privilege and the SAP Role

41

What We’ll Cover • •

• • • •

Introduction – “What is SAP HANA Live?” and how to modify SAP HANA Live and Hierarchies How to obtain descriptions and make your life easier modeling HANA views Authorization setup for SAP HANA Live Some great tips Wrap-up

42

Great Tips When Starting to Model in SAP HANA • •









SAP Dictionary DB Views cannot be used in HANA models (e.g., COVP) If ABAP coding is not to be optimized for HANA, think about creating an SAP HANA view and exposing in ABAP Dictionary  (Use NVARCHAR as VARCHAR cannot be translated to Dictionary) Union: Think about Fixed Mappings, which means you can specify constants in the actual union, ideally fit, e.g., actual/planned scenario Sometimes it is better for performance to specify a calculation view to be run in SQL Engine, which means that the whole view is translated into one big SQL statement Attribute views cannot be used in “Star join” calculation views and must be embedded in calc views – but then no SQL engine can be used Specify the Client number in the user profile as without it, data preview can be empty 43

What We’ll Cover • •

• • • •

Introduction – “What is SAP HANA Live?” and how to modify SAP HANA Live and Hierarchies How to obtain descriptions and make your life easier modeling HANA views Authorization setup for SAP HANA Live Some great tips Wrap-up

44

Where to Find More Information •





http://help.sap.com/hba  SAP HANA Live on the SAP Help Portal http://scn.sap.com/community/hana-in-memory/blog/2014/06/24/extending-hana-liveviews  Vivek Singh Bhoj, “Extending HANA Live Views” (SCN, June 2014). http://scn.sap.com/community/bw-hana/blog/2014/05/26/go-hybrid--sap-hana-live-sap-bwdata-integration  Matthias Kretschmer, “Go Hybrid – SAP HANA Live & SAP BE Data Integration!” (SCN, May 2014).

45

7 Key Points to Take Home • •

• •







Start by using the ABAP program to get descriptions for your table fields Even if SAP HANA Live not does have the desired hierarchy, it is possible to build it Each customer will have a different use case for hierarchies In specific cases it will be possible to reproduce a hierarchy selection like in SAP Business Warehouse If you want to re-use your ECC authorisation, you can use the SAP HANA Live Authorisation Assistant to speed up the setup In Unions with a plan and actual view, prefer using constant mapping instead of calculated columns Specify the SAP client in the user profiles to avoid searching for authorisation issues

46

Your Turn!

How to contact me: Luc Boodts Email: [email protected] Please remember to complete your session evaluation 47

Disclaimer 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. Wellesley Information Services is neither owned nor controlled by SAP SE.

48

Wellesley Information Services, 20 Carematrix Drive, Dedham, MA 02026 Copyright © 2015 Wellesley Information Services. All rights reserved.

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF