+ All Categories
Home > Documents > RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best...

RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best...

Date post: 21-Mar-2020
Category:
Upload: others
View: 28 times
Download: 11 times
Share this document with a friend
69
October 2013 RDP303 Master Class for Optimizing SAP NetWeaver Business Warehouse on SAP HANA
Transcript
Page 1: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

October 2013

RDP303 Master Class for Optimizing SAP NetWeaver Business Warehouse on SAP HANA

Page 2: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 2

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: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

3 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

This is a fast paced master class covering many topics

There won’t be enough time to go into great detail but we will do plenty of demos and provide many links to get additional information

Faster Your Seatbelts, Please

Page 4: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

Getting Started

Page 5: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 5

Optimization Finding the Best Solution

Optimizing SAP NetWeaver Business Warehouse

powered by SAP HANA means

following best practice guidelines* in

all areas of system configuration

* Best practices can change as we learn more from successful customer

implementations or when new functionality becomes available

Page 6: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 6

Customer Solution Adoption Our Mission

Making

Innovation Adoption a More Beautiful Experience

for Our Customers

We bring you how to guide, webinars, and now… lots of tools*

* All tools mentioned in this session are either included in the standard solution or available for download via SAP Notes

Page 7: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

7 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Master The Basics and

Understand the Path to BW on HANA

Best Practices

Page 8: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 8

The Basics

To become a master you have to know the basics first (prerequisite for this session)

Getting Started with BW on HANA � Positioning, Introduction & Experiences, and much more

SAP HANA Documentation � Master and Installation Guides �  Technical Operations Manual

SAP NetWeaver BW Documentation � End-to-End Implementation Roadmap for SAP NetWeaver BW, powered by SAP HANA � SAP NetWeaver BW Technical Operations Guide � Using the SAP HANA Database

Page 9: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 9

The Project Approaches

To become a master you have to understand the options for getting to BW on HANA (another prerequisite for this session)* � See webinar for details

* Of course starting from scratch with a brand new install is another option

New Installation In-place Migration

Copy, Upgrade + Migrate

Page 10: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

10 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Know the Tools That Do the Work For You

Best Practices

Page 11: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 11

Tool #1: SAP NetWeaver BW Migration Cockpit for SAP HANA

There are many transactions and programs to help you configure BW on

HANA in an optimal way

The SAP NetWeaver BW Migration Cockpit

for SAP HANA provides

easy access to the

most used and useful tools

Page 12: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 12

Tool #1: SAP NetWeaver BW Migration Cockpit for SAP HANA

Additional Information and Download � SAP Note 1909597

Prerequisites � SAP NetWeaver BW 3.5 or higher

Comments Cockpit layout will depend on release level and database platform �  Tools for release 7.3 will not show up in when running cockpit on release 3.5 or 7.0 �  Tools for release 7.0 will not show up in when running cockpit on release 3.5 �  Tools specifically for SAP HANA will not show up when running on other databases

Page 13: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

13 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Check Your BW System Before and After Migrating to SAP HANA

Best Practices

Page 14: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 14

Tool #2: SAP NetWeaver BW Checklist for SAP HANA

Automated check of best practice guidelines for operations

and prerequisites for migration

of an existing SAP NetWeaver BW deployment

to the SAP HANA platform

Note: The checks are not necessarily complete or intended to replace existing tools and checks (like the ASU-Toolbox or Early Watch Reports). The goal is rather to automate and combine various checks that would have to

be performed manually otherwise.

Page 15: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 15

Tool #2: SAP NetWeaver BW Checklist for SAP HANA

Page 16: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 16

Tool #2: SAP NetWeaver BW Checklist for SAP HANA

Additional Information and Download � SAP Note 1729988

Prerequisites � SAP NetWeaver BW 3.5 or higher

Comments Currently contains over 135 checks in the following areas � General, Database, Basis, Corrections, BW Data Warehouse Management, BW OLAP Technology, BW

Business Planning, BW Enhanced Infrastructure, BW System, BW Technical Content, Customer Objects, and Post Copy Automation Tool

� Highly recommended to run before, during, and after your migration project

Page 17: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

Sizing

Page 18: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 18

Optimizing System Size

Main Activities � Determining Memory Requirements for

SAP HANA (i.e. Database Sizing)

� Configuring Near-line Storage Solution and setting Up Data Archive Processes (DAP)

� Execute Data Archiving via ADK or Process Chains

Page 19: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

19 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Size Your BW System Using a Fully Automated Sizing Tool

Best Practices

Page 20: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 20

Sizing SAP NetWeaver BW on SAP HANA

Avoid Pitfalls and Size Your BW System Properly Must read community blog �  “How NOT to size a SAP NetWeaver BW system for SAP HANA”

For existing BW systems, the one and only way for sizing is to use the fully automated sizing program � SAP Note 1736976

For additional details on sizing the master node � SAP Note 1855041

Exception � Sizing of new installations is done using SAP QuickSizer

Page 21: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 21

Tool #3: SAP NetWeaver BW Sizing Tool for SAP HANA

Page 22: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 22

Tool #3: SAP NetWeaver BW Sizing Tool for SAP HANA

Additional Information and Installation Instructions � SAP Note 1736976

Prerequisites � SAP NetWeaver BW 7.0 SP 1 or higher � ST-PI release 2008_1_700 / 2008_1_710 SP 6 or higher

Comments �  Tool is continuously improved so check the SAP Note that you run the latest version � Can be used for sizing complete systems or for sizing various subsets of data � Approximate runtime is 30 minutes to 2 hours (depending on parallel degree and speed of database)

Page 23: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

23 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Lower TCO by Leveraging Non-active Data Concept and Off-loading Data to

Near-line Storage (or Archive)

Best Practices

Page 24: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 24

Performance Data Volume

•  Data is read and/or written frequently •  In memory •  No restrictions, all features available

•  Infrequent access •  On disk, no need to keep in memory all the time •  No restrictions, all features available

•  Sporadic access •  Not stored in HANA DB; stored in Near-line Storage •  Restricted to NLS capabilities

Optimizing Data Management

Providing lower TCO out-of-the-box by optimized RAM management

hot

warm

cold

Non-Active Data Concept

NLS for Read-only Data

Page 25: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 25

Optimizing Data Management Non-active Data Concept

•  Use write optimized DataStore Objects for at least Corporate Memory objects or „pass-through“ DataStore Objects

•  Follow a proper housekeeping for PSA tables in parallel with non-active data

•  Don’t - or be very careful – by influencing or changing the non-active data concept SAP HANA

SAP NetWeaver BW

CM

DataSource

RAM

Pers.

Page 26: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 26

Non-active Data Concept

Additional Information and Installation Instructions � SAP Note 1767880 � Webinar presentation � Webinar replay

Prerequisites � SAP NetWeaver BW 7.30 SP 8 � SAP HANA 1.0 SPS 5

Comments � By default all PSA and write-optimized DSO tables are “non-active” (early unload flag is set) � No extra maintenance or tuning is necessary (but you have to be on SP level mentioned above) �  For fine-tuning, other InfoProviders and PSA tables can be marked with the ‘early unload’ flag as well

Page 27: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 27

Optimizing Data Management Near-line Storage Scenario

Near Line Storage

SAP NetWeaver BW

Q1/2010 Q2/2010

SAP HANA

Q3/2010 Q4/2010 Q1/2011 Younger …

Locked

Data Archiving Process

NLS Interface

Page 28: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 28

Near-line Storage with Sybase IQ

Additional Information and Installation Instructions � SAP Note 1796393 � Webinar presentation � Webinar replay

Prerequisites � SAP NetWeaver BW 7.30 SP 9 / 7.31 SP 7

Comments � By default all PSA and write-optimized DSO tables are “non-active” (early unload flag is set) � No extra maintenance or tuning is necessary (but you have to be on SP level mentioned above) �  For fine-tuning, other InfoProviders and PSA tables can be marked with the ‘early unload’ flag as well

Page 29: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

Housekeeping

Page 30: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

30 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Keep Your System Lean and Fast by Performing Housekeeping Task Regularly

Best Practices

Page 31: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 31

Optimizing System Size and Performance via Housekeeping

Housekeeping activities must be an integral part of the operational concept of a complex

enterprise data warehouse

Scheduling these activities regularly in the system will ensure

optimal utilization of system resources* thereby

increasing overall system performance

* Especially main memory on SAP HANA

Page 32: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 32

Housekeeping Optimization of Data Retention

Housekeeping of (temporary) Business Data Most Common Activities � Deleting requests from the PSA � Deleting data from the change log � Deleting data selective � Deleting master data and texts for a characteristic � Manage DTP temporary storage

Housekeeping of Administration / Statistic Data Most Common Activities � Archiving of Request Administration Data � Archiving of IDocs � Deletion of Application Logs (or Archiving) � Deletion of Job Logs � Deletion of OLAP and Planning statistics

Additional Information � Webinar presentation � Documentation

Page 33: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 33

Housekeeping Business Data

Identify Large Tables with Business Data � Use technical content with SAP NetWeaver BW

7.30 (0TCT_C25) which provides information on data volumes of various BW objects

� Database Volume can be analyzed according to InfoArea, Application Component, BW Objects types and BW specific table classifications*

Clean-up Large Tables � Use process chains to setup and schedule

corresponding housekeeping tasks

* Also supports SLA monitoring of implemented reporting scenarios for cross charging of cost to business departments

Page 34: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 34

Housekeeping Administration / Statistic Data Identify Large Tables with Administration and Statistic Data � Option 1: Use output of Checklist Tool – section “Database > Large Tables”

Tables are already grouped according to SAP Note 706478 � Option 2: Use output of Sizing Tool – section “Master Node”

Includes all large tables not just the ones mentioned in SAP Note 706478 � Option 3: Use DBA Cockpit

Clean-up Large Tables �  Lookup tables in SAP Note 706478 and follow corresponding instructions given in this note

Comments � Regular housekeeping of these tables is

absolutely essential BW on HANA since these tables are all located on the master node (see SAP Note 1855041)

Page 35: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 35

Housekeeping Task Automation

Additional Information and Installation Instructions � SAP Note 1829728

Prerequisites � SAP NetWeaver BW 7.0 SP 16 or higher � All prerequisites for BW Task Manager are met according to SAP Note 1589145

Comments � SAP delivered task list SAP_BW_HOUSEKEEPING available but can be extended easily by customers � Expected to include more tasks in future support packages/releases

Page 36: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 36

Optimizing System Size and Performance via Housekeeping

Main Activities � Setup Automated Housekeeping via Task

Manager (if available in your system)

� Perform or Schedule Housekeeping Tasks Individually

Page 37: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

Migration and Database Operations

Page 38: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

38 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Avoid Issues During Migration by Using Automated Task Lists

Best Practices

Page 39: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 39

Optimizing System Migration

Use the Checklist Tool � Run it before, during, and after migration for optimal insights � Apply recommended corrections as early as possible i.e. on original system or a copy thereof and before

upgrades and migration process are started

Setup Task Lists �  Leverage predefined task lists for system preparation and system copy � Modify or extend lists with customer specific tasks

Run Post Migration Program � Make sure you have latest version (see Checklist Tool > Corrections) � Run once after migration and resolve any issues

Page 40: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 40

Optimizing System Migration

Main Activities � Prepare System for Migration

� Setup and Perform Upgrade and Migration

Tasks via Task Manager

� Execute Post Migration Task

Page 41: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 41

Optimize System Migration Database Migration Option (DMO)

Software Update Manager (SUM) has been extended to combine system update and migration to SAP HANA called “Database Migration Option (DMO)” �  Ideal solution since it includes automation of mostly all tasks and provides minimal downtime � SAP Note 1799545

Prerequisites � SAP NetWeaver BW 7.0 SP 17 or higher

Comments � Currently “restricted availability” limited to certain source platforms. See SAP Note and “Checklist Tool à

Database” to see if your system qualifies � We also plan to include Unicode conversion �  If DMO is not an option for you, check

“Best Practice Guide - Classical Migration of SAP NetWeaver AS ABAP to SAP HANA”

Page 42: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

42 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Validate SAP HANA Configuration, Check Table Consistency and

Monitor Delta Merge

Best Practices

Page 43: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 43

Optimizing Database Configuration and Operations

Main Activities � Check SAP HANA configuration related

to running SAP NetWeaver BW

� Examine table consistency (indexes, partitions, table distribution, etc.)

� Monitor delta merge activity

Page 44: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 44

Optimizing SAP HANA Configuration General Settings

Use the Checklist Tool to validate BW and SAP HANA configuration especially related to scale-out systems (i.e. SAP HANA appliance with multiple nodes) Included Checks � Setup of list of row store tables � Setup for proper statement routing in scale-out landscapes

(ABAP API, SAP Kernel, SAP HANA revision) � Configuration of open file limit � Configuration for proper table and partition distribution � Configuration of delta merge (i.e. “smart merge”) � Consistency of history tables used for HANA-optimized DataStore Objects

Additional Information � SAP Note 1729988

Page 45: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 45

Optimizing SAP HANA Operations Table Consistency

Consistent table, index, and partition setup and distribution in BW on HANA is essential for optimal operations � Use standard tool to check table consistency on many levels � Keep tool up-to-date since checks are continuously

enhanced and adapted to new best practices

Prerequisites � SAP NetWeaver BW 7.30 SP 6 � Plus corrections for program

RSDU_TABLE_CONSISTENCY

Additional Information � SAP Note 1695778

Page 46: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 46

Optimizing SAP HANA Operations Delta Merge

Operation of SAP HANA requires a solid understanding of the delta merge process � Allows administrators to optimize data loading and can help improve the performance of query processing in

SAP HANA or any application (e.g. SAP NetWeaver BW) � Delta merge processing can consume a non-trivial amount of

system resources and therefore needs to be understood in order to manage any system powered by SAP HANA

Prerequisites � SAP NetWeaver BW 7.30 SP 6 � SAP HANA 1.0 SPS 5

Additional Information � How To - Delta Merge for SAP HANA and

SAP NetWeaver BW powered by SAP HANA � SAP Note 1663501

Page 47: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 47

Optimizing Database Selections Secondary Indexes

As default, BW on HANA does not use any secondary database indexes. However, in certain situations it might be beneficial to create secondary indexes, for example for DSO lookups.

Prerequisites � SAP Note 1740373

Recommendations � Optimize ABAP code with use of hints as per SAP Note 1662726 (must have only equal clauses or constants) �  If this did not help (sufficiently), consider removing unselective filtering criteria (that prove to be expensive from

performance perspective) form SQL statement and perform filtering inside ABAP engine once SAP HANA returns unfiltered data set

�  If this did not help (sufficiently) or is not feasible, create secondary index

Implications of Creating Secondary Indexes �  Larger memory footprint and more expensive update processes (i.e. consider carefully)

Page 48: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

Data Flows and InfoProviders

Page 49: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

49 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Improve Performance and Simplify Administration and Infrastructure by

Converting Data Flows and InfoProviders

Best Practices

Page 50: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 50

Optimizing Data Flows and InfoProviders

Main Activities � Convert Data Flows from 3.x to 7.x

� Convert InfoCubes and Semantically

Partitioned Objects to HANA-optimized version

�  Identify 1:1 or n:1 transformations to potentially retire InfoProviders

Page 51: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 51

Optimizing Data Flows 3.x to 7.x Conversion

Reasons for Conversion of Data Flows �  Lower maintenance, more features, better performance (for example

automated data package optimization in DTPs which improves data loads to SAP HANA)

Simulate Data Flow Before Conversion � Data is internally loaded for both versions (3.x and 7.x)

of migrated dataflow and results are stored in cluster tables � Data is compared to see if dataflow after migration calculates the same

data as before migration � Differences are displayed separately and can be analyzed

Additional Information � Documentation

Results of 7.x

data flow

Results of 3.x

data flow

=

Page 52: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 52

Optimizing InfoProviders and Modeling Conversion to SAP HANA-optimized Version

Do Not Convert DataStore Objects to HANA-optimized �  Fast activation is available for all standard DSOs without conversion to HANA-optimized � Prerequisites: SAP NetWeaver BW 7.30 SP 6 or 7.31 SP 7 � See details and recommendations � SAP Note 1849497

Benefits of Converting to HANA-optimized InfoCubes � Simplified data modeling �  Faster remodeling of structural changes �  Fast data loads � Exception aggregation in SAP HANA

Additional Information � Webinar presentation

Page 53: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 53

Optimizing Data Layers Layered Scalable Architecture (LSA++)

Streamline You Data Layers �  Identify InfoProviders that contain

redundant data (typical 1:1 or n:1 aggregations)

� Use BW virtual data mart layer (Virtual-, Multi-, Transient-, CompositeProvider) to report on lower and potentially more granular layer

� Remove higher layers

Additional Information � Webinar presentation

Page 54: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 54

Tool #4: SAP NetWeaver BW Transformation Finder

Quickly find transformations

in SAP NetWeaver BW systems for example to identify InfoProviders

that can potentially be retired when using SAP HANA

Note: The checks are not necessarily complete. The goal is rather to automate and combine various checks that would have to be performed manually otherwise.

Page 55: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 55

Tool #4: SAP NetWeaver BW Transformation Finder

Page 56: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 56

Tool #4: SAP NetWeaver BW Transformation Finder

Additional Information and Download � SAP Note 1908367

Prerequisites � SAP NetWeaver BW 3.5 or higher

Comments � Works on all supported platforms (not just SAP HANA) � Allows for a lot of different search patterns, although primary purpose is to identify “1:1” and “n:1”

transformations

Page 57: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

Code Optimization

Page 58: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

58 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Tune Custom Code According to Best Practices for ABAP on SAP HANA

Best Practices

Page 59: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 59

Optimizing ABAP Code

Main Activities � Analyze custom ABAP routines in data

flows and business planning applications

� Run code inspector on other custom ABAP developments

� Monitor and analyze system-wide SQL activity and implement performance tuning recommendations

Page 60: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 60

Tool #5: SAP NetWeaver BW ABAP Routine Analyzer

Automate the check of best practice guidelines

for ABAP routines in SAP NetWeaver BW systems

focused on statements that can potentially be

optimized for SAP HANA

Note: The checks are not necessarily complete. The goal is rather to automate and combine various checks that would have to be performed manually otherwise.

Page 61: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 61

Tool #5: SAP NetWeaver BW ABAP Routine Analyzer

Page 62: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 62

Tool #5: SAP NetWeaver BW ABAP Routine Analyzer

Additional Information and Download � SAP Note 1847431

Prerequisites � SAP NetWeaver BW 3.5 or higher

Comments � Works on all supported platforms (not just SAP HANA) � A lot of links to additional information about optimizing transformations are provided at end of the log � Checks custom code “hidden” in generated BW programs which can not be analyzed using ABAP Code

Inspector

Page 63: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 63

Optimizing ABAP Code for SAP HANA

For all other custom code, use standard tools � ABAP Code Inspector � SQL Monitor* � SQL Performance Tuning Worklist*

Additional Information � ABAP for SAP HANA Community � Performance Guidelines for ABAP Development on the SAP HANA Database � Optimization of Custom ABAP Codes for SAP HANA (Presentation) � How to Evaluate ABAP Coding for Optimization On SAP Suite on HANA (also relevant for BW)

* Available as of SAP NetWeaver 7.4 or a part of SAP NetWeaver 7.3 + recent ST-PI support package

Page 64: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

Summary

Page 65: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 65

Summary

1.  Master The Basics and Understand the Path to BW on HANA

2.  Know the Tools That Do the Work For You

3.  Check Your BW System Before and After Migrating to SAP HANA

4.  Size Your BW System Using a Fully Automated Sizing Tool

5.  Lower TCO by Leveraging Non-active Data Concept and Off-loading Data to Near-line Storage

6.  Keep Your System Lean and Fast by Performing Housekeeping Task Regularly

7.  Avoid Issues During Migration by Using Automated Task Lists

8.  Validate SAP HANA Configuration, Check Table Consistency and Monitor Delta Merge

9.  Improve Performance and Simplify Administration by Converting Data Flows and InfoProviders

10.  Tune Custom Code According to Best Practices for ABAP on SAP HANA

Page 66: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

66 ©  2013 SAP AG or an SAP affiliate company. All rights reserved.

Thank you very much for attending this master class!

Wishing you successful implementations of SAP NetWeaver BW powered by SAP HANA

Congratulations, We Made It

Page 67: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 67

Further Information

SAP Education and Certification Opportunities https://training.sap.com/us/en/curriculum/hana-sap-hana-g-en BW362 SAP NetWeaver BW 7.3 on SAP HANA HA400 ABAP Programming for SAP HANA

Watch SAP TechEd Online www.sapteched.com/online

SAP Public Web BW on HANA FAQ - http://spr.ly/bwonhanafaq BW on HANA http://scn.sap.com/community/netweaver-bw-hana ABAP on HANA http://scn.sap.com/community/abap/hana

Page 68: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 68

Further Information

SAP Customer Solution Adoption Know-How Webinars http://scn.sap.com/community/webinars/technology-rig-know-how/content •  SAP NetWeaver BW on SAP HANA Project Approaches •  New Tools to Ease Migration to SAP NetWeaver BW on SAP HANA •  SAP NetWeaver BW / SAP HANA Mixed Scenarios – News, Added Value, and Customer Examples •  Data Management with SAP NetWeaver BW powered by SAP HANA in the SAP Real-Time Data Platform •  SAP HANA as Driver of EDW Evolution: LSA++ (Layered Scalable Architecture) for BW on SAP HANA

SAP Community Network What's New with SAP NetWeaver BW 7.30 and BW Accelerator 7.20 (also applies to SAP HANA!)

Page 69: RDP303 Master Class BW on HANA · SAP NetWeaver BW Checklist for SAP HANA Automated check of best practice guidelines for operations and prerequisites for migration of an existing

©  2013 SAP AG or an SAP affiliate company. All rights reserved. 69

© 2013 SAP AG 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 AG. The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group 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.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.


Recommended