You are on page 1of 80

An A-to-Z Guide to

Implementing SAP
HANA: Planning,
Scoping, Staffing,
Budgeting, and
Execution
Dr. Berg
Comerit
© Copyright 2014
Wellesley Information Services, Inc.
All rights reserved.
In Part 2 of The Session

• Examine modeling options in SAP HANA Studio and see how


views and tables can be created
• Step through a demo on how to use SAP Data Services for loading
data, building views, and accessing them from SAP
BusinessObjects Explorer
• Learn the various steps and options for migrating BW to HANA or
building your own EDW on HANA
• Take away a solid understanding of how HANA can be
implemented in your organization

1
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

2
Background

• SAP HANA is fundamentally a database and not “magic”


• However, it provides major benefits in terms of:
 Landscape simplification

 Speed of queries and data access

 Simplification of environment management

 Long-term lower Total Cost of Ownership (really!)

 An enabler of the next generation of ERP and data warehouses


for real-time access, model simplification, agility, and support
for Big Data volumes

HANA projects should think big and act small. After the installation project
is ended, what do you plan on deploying in terms of new capabilities?
3
Inside SAP HANA — In-Memory Computing Engine
(ICME)

Metadata Authorization Transaction


Manager Manager Manager
Disk Storage

Data Relational SQL Script SQL Parser


Engine
Volumes Session
Manager
-Row Store Calculation
Log -Column Store MDX
Engine
Volumes

Load
Replication Server
Controller

Inside the Computing Engine of SAP HANA, we have many different components
BusinessObjects Data Services

that manage the access and storage of the data. This includes MDX and SQL
access, as well as Load Controller (LC) and the Replication Server.
4
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

5
Tables Inside HANA Viewed Using HANA Studio

We can view table definitions and data inside HANA Studio. This
includes SAP BW tables, ERP tables, and tables we created ourselves. 6
Creating an Attribute View

• An attribute view is normally used to expose


master data to the front-end tools, such as those
found in the SAP BusinessObjects tool suite
• They can also be accessed by any ODBC/JDBC
compliant third-party tool

A view is a logical way to


simplify the complexity of
a database for users who
need access

7
Adding Table Joins to More Customer Information

In this example we are adding more information, such as country and


language, to the view. This data was stored in other tables, but we want to
make it easy for our users to access without database knowledge. 8
Applying a Filter to an Attribute View

Sometimes we don’t want to give


users access to all the
information, and we can “hard
code” a filter in our view
In this example, we are limiting the
view only to valid customers
9
Deciding What Users Should See and Assigning Key
Attribute

Sometimes, we don’t
want to give access to
everything available in
the tables.
We can then decide
what fields are
available to the users
(these are flagged
with orange balls)

10
Validate and Activate a View

• HANA also provides a


validation of each view to
make sure it is correctly
defined and meets all
standards before it is
activated
• Once activated, you can
expose it to your target
users via standard HANA
security

11
Creating an Analytical View

• An analytical view is a way


to join master data and
transactional data together
for simple access

12
Data Foundations and Logical Joins

• The resulting
models in the
view can be
further refined by
controlling what
is exposed to the
end users
• We call the
transaction-
oriented data the
“data foundation”
and can link
other attribute
views to this
13
Adding a Calculated Field to an Analytical View

• We can also create our


own calculations in the
view
• For example, we are now
creating a new field called
“net revenue”
• This we have defined as
“revenue” minimum
“discount”
• Complex math functions
can be called and custom
coding can also be added

14
Multi-Currency Handling

• If we have loaded other


currencies to the
system, we can also add
these capabilities to the
view
• I.e., in the advanced
section of the calculated
column, we can flag the
field as using a source
and a target currency
and let the system take
care of the translation

15
The Resulting Analytical View

Views are found in the navigator section of the modeler inside HANA Studio. You
can preview the results and also view metadata about the view and its definition.
16
Deploying Analytical View in BO Explorer

The SAP
BusinessObjects
tools can easily
access the views
inside HANA

Here we are building


an Information
Space in SAP
BusinessObjects
Explorer that is
accessing the view
we just created

17
Accessing the View Through an Information Space

All the fields we


exposed and
created in our
analytical view are
now displayed here
for easy access by
the SAP
BusinessObjects
Explorer tool
We don’t have to
do any more
development work!
18
The Result in SAP BusinessObjects Explorer

Users can now navigate the


HANA views at sub-second
speed without having to
develop anything further
More complex analysis can
also be added via other SAP
BusinessObjects tools

19
HANA Development Demo Step-by-Step

In this demo, we will look at our example in more detail and also see how to load data
to our HANA system using SAP Data Services
20
SAP HANA — Some of the Front-End Connections

All SAP BusinessObjects tools can be


connected to SAP HANA. You can even
access HANA using Microsoft Query and
other tools.
21
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

22
New Business Content Optimized for BW on HANA

SAP has developed


specific, new content for
BW on HANA

This takes advantage of HANA


optimized transformations,
consolidated InfoObjects, more
line item details, and in some
cases leverages the BW models
and the HANA models in
combined scenarios
For those “green fielding” a HANA implementation, or planning to develop analytics
in these areas, serious consideration should be spent on leveraging this new content 23
SAP HANA and BW 7.4

• BW 7.4 on HANA introduces the Smart


Data Access that allows us to create:
 Virtual table (real-time) links to a
source system
 CompositeProviders to link BW DSOs
and “native” HANA views and tables
 Create a flexible logical EDW that can
be remodeled without moving data
• We also get a shared modeling tool
based on Eclipse

Using the new Operational Data Provisioning (ODP) we can also remove the
need for PSAs, thereby simplifying data architectures and reduce data latency24
SAP HANA and BW 7.4 — Open ODS View
• For BW 7.4, we get a new object called an Open ODS View
• This new object allows us to include external data models in BW and
to query BW and non-BW data in a single BEx query

In the past, BW has been criticized for the complexity to integrate non-BW data in an EDW.
The new Open ODS view and the new CompositeProvider solves most of these issues. 25
Cool New Feature: Automatically generate HANA
Models from BW

• You can now automatically


create new HANA models
based on InfoCubes and DSOs
in BW
• The generated HANA views
access the data in the
InfoProviders
• All HANA View capabilities are
available for the BW data
• BW Security in leveraged, and views can be accessed by tools such
as SAP BusinessObjects Explorer, SAP Lumira, and other SAP
BusinessObjects tools
In addition to the BW model, import in the HANA modeler, this
functionality leverages the existing metadata in BW to create new views 26
Some of
the
features
in BW 7.4
are HANA
specific

Others are
available
for
traditional
RDBMs

This is an
overview
of what is
available
for HANA
and non-
HANA
BWs
27
• For more on this and an in-depth view of the new BW 7.4 features,
join me at:

“Deep dive into leveraging new features and functions of SAP


NetWeaver® BW 7.4”
 Tuesday, March 25, 2014, 4:45 pm - 6:00 pm

28
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

29
The SAP_BW_HOUSEKEEPING Task List
• If you are on 7.0 SP32 of higher, you can generate an SAP BW Housekeeping task
list and get automated help in cleaning the system weeks before upgrading it

1. Checks BW metadata with DDIC 7. Re-assign requests written into the incorrect PSA partition
2. Delete RSTT traces 8. Verify DataSource segments assignment to PSA
3. Delete BW statistical data 9. Deletes the entries no longer required in table RSIXW
4. Delete Aggregate data via deactivation 10. Clear all OLAP Cache parameters
5. Ensure partitioned tables are correctly 11. Repair InfoCube fact table indices at Data Dictionary level
indexed for PSA 12. Reorganize and delete bookmark IDs & view IDs
6. Ensure request consistencies in the PSA

You first have to install the program from SAP Note 1829728 before you can
generate the SAP_BW_HOUSEKEEPING task list using tcode STC01 30
The SAP_BW_BEFORE_UPGRADE Task List

• If you are on 7.0 SP31 or higher,


you can generate a before the
upgrade tasks list and get help in
preparing the system for the
upgrade

• The more of these tasks you


complete, the faster the upgrade
may proceed since you are
reducing size and complexity,
while assuring that your system
You first have to install the program from is ready for the 7.4 upgrade
SAP Note 1734333 before you can generate the
SAP_BW_BEFORE_UPGRADE task list using
tcode STC01
31
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

32
Pre-Steps — Cleaning up Your BW System

• You can save significant amounts of work by doing a


cleanup effort before you start your HANA migration
or BW upgrade project

• For example, an international company had a BW system with over


108 TB, with only 36 TB in the production box and the remaining
data on their Near-Line Storage (NLS) solution

• This cleaned BW system saved them potentially millions of dollars


in hardware and HANA licensing costs

It is not unusual to reduce a BW system


size by 20-30% during a clean up effort 33
12 Pre-Steps — Cleaning up Your BW System

1. Clean the Persistent Staging Area (PSA) for data already loaded to DSOs.
2. Delete the Aggregates (summary tables). They will not be needed again.
3. Compress the E and F tables in all InfoCubes. This will make InfoCubes
much smaller.
4. Remove data from the statistical cubes (they start with the technical
name of 0CTC_xxx). These contain performance information for the BW
system running on the relational database. You can do this using the
transaction RSDDSTAT or the program RSDDSTAT_DATA_DELETE to
help you.
5. Look at the log files, bookmarks, and unused BEx queries and templates
(transaction RSZDELETE).
6. Remove as much as possible of the DTP temporary storage, DTP error
logs, and temporary database objects. Help and programs to do this
are found in SAP Notes 1139396 and 1106393.

34
12 Pre-Steps — Cleaning up Your BW System (cont.)

7. For write-optimized DSOs that push data to reportable


DSOs (LSA approach), remove data in the write- optimized
DSOs. It is already available in higher level objects.

8. Migrate old data to Near-Line Storage (NLS) on a small


server. This will still provide access to the data for the few users who
infrequently need to see this old data. You will also be able to query it
when BW is on HANA, but it does not need to be in-memory.

9. Remove data in unused DSOs, InfoCubes, and files used for staging in
the BW system. This includes possible reorganization of master data
text and attributes using process type in RSPC.

35
12 Pre-Steps — Cleaning up Your BW System (cont.)

10. You may also want to clean up background information stored in the
table RSBATCHDATA. This table can get very big if not managed. You
should also consider archiving any IDocs and clean the tRFC queues.
All of this will reduce the size of the HANA system and help you fit the
system tables on the master node.

11. In SAP Note 706478, SAP provides some ideas on how to keep the
Basis tables from growing too fast in the future; if you are on Service
Pack 23 on BW 7.0 or higher, you can also delete unwanted master
data directly (see SAP Note: 1370848).

12. Finally, you can use the program RSDDCVER_DIM_UNUSED to delete


any unused dimension entries in your InfoCubes to reduce the overall
system size.

36
A Tool to Help to Migrate and Clean Up

• SAP has created a cockpit to:


 Clean up the SAP BW
system
 Reduce system size
 Conduct pre-checks
(readiness checks)
 Size the system
 Find sub-optimal code (i.e.,
transformations)
 Look at table distributions
and loads
 There are over 235 tests in
These tools are thanks to SAP’s Marc Bernard
this tool as of version 3.0 in
and his team at SAP Labs Canada
March 2014
37
Tips to Make the Database Smaller

• Use write-optimized DSOs as first level data stores. These can


easily be off-loaded out of main memory in HANA and save you
money.
• Keep your Persistent Staging Tables (PSA) clean. BTW: The PSA is
often not needed at all in BW 7.4.
• If you are on BW 7.3 Service Pack 8 and HANA with at least Service
Pack 5, the write-optimized DSOs and PSAs are flagged as “early
unload” from the HANA memory. This will help you keep the system
smaller and require less memory.
• You can also flag other InfoCubes, DSOs, tables, and partitions as
“not active”. If you do so, they will only be loaded into memory when
actually required.

The sizing program in SAP Note 1736976 takes these size


savings settings into account when sizing your HANA system 38
Clean up of SAP BW Before Migration — Tool Support
• Areas of database size reduction
 Delete application logs
(and/or archive)
 Delete job logs
 Delete OLAP and planning statistics
 Delete data from the change log
 Delete requests from the PSA
 Delete master data and texts for a
characteristic
 Delete data selective
 DTP temporary storage reduction
 Archive IDocs
 Archive request administration data
• The Technical InfoCube (0TCT_C25)
contains information on large tables that
can be candidates for further reduction
For more details on how to get sizes down and what each of these
areas mean, see the Intro to HANA book, Chapter 5 39
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

40
BW Transformation Finder
• Some custom data transformations in SAP BW can be sub-optimally
written and have negative impact on HANA performance

• The BW Migration Cockpit provides a tool to help you identify them

This part of the tool can be run on


SAP BW 3.5 or higher. See SAP Note
1908367 for more details. 41
Code Inspector and Analyzer for ABAP in BW
• After you have found the codes you
searched for, you can analyze the code
to see if improvements can be made to
make it even faster in HANA

• You get a lot of additional information in


the log (scroll to the end for some great
ideas of how to optimize the code)
This tool also runs on all BW releases
3.5 or higher (see SAP Note 1847431) 42
System Migration Optimization and SUM
• The Software Update
Manager (SUM) was
enhanced and now also
contains an option called the
“Database Migration Option
(DMO)”

• The DMO allows you to


combine the BW upgrade,
Unicode conversion, and
other tasks that are often
required, as well as the
actual HANA migration in You can use the DMO if your are on minimum
one interface instead of two SAP BW version 7.0 and have applied Service
“projects” Pack 17 (see SAP Note 1799545)

43
BW 7.4 DSOs and Re-Conversion of DSOs

• BW optimized DSOs were reccomended in 2013.


• HANA optimized DSOs were available for BW 7.3.

As of February 2014, SAP reccomends that you do not to do any optimization of


DSOs and actually convert back to the old DSOs for SAP (Note: 1849498)

44
Converting InfoCubes and/or Data Flows
• While not required, InfoCubes can be
optimized further for HANA performance
• This basically means “flattening” the
data structures and removing the
dimensions in BW from the physical
layer (they still look as if they exists)

Many refer to this optional step as a “functional migration” and do this after the HANA
migration has been completed, often as a separate initiative (see SAP Note 1849497)
PS! Optimization of DSOs are no longer reccomended 45
Converting InfoProviders and/or Data Flows

• To help you, the SAP Migration Cockpit


also allows you to migrate your data flows
from 3.x to Data Transfer Processes
(DTPs) as used in versions 7.0 and higher
• If you convert the data flows you get
better automated data package DTP
optimization, which loads data faster into
HANA.
• You can also simulate the data flow before you do the real
conversion. When doing so, data is loaded for both versions
(3.x and 7.x) of the dataflows and the results are stored in
cluster tables. The data is then compared to verify that the
dataflow after migration calculates the same data as it did
before migration
• Since the differences are displayed separately, you can
analyze the results and changes in details
46
The Application Specific Upgrade (ASU) Toolbox
• Once you have completed the
SAP_BW_HOUSEKEEPING
and the
SAP_BW_BEFORE_UPGRADE
task lists, you can start the
ASU schedule manager and
prepare the environment

• While there are some


overlapping tasks in these
task lists, you are required to
complete all tasks listed as
“obligatory”

• You start the upgrade by The Direct Migration Option (DMO) for
executing the transaction upgrading BW and moving to HANA at the same
/ASU/START (see SAP Note time also uses these task lists and the ASU
1000009) Toolbox. DMO is an option in the SUM tool.
47
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

48
Direct Migration Option (DMO)

• During the upgrade from BW 3.x to


version 7.0 many companies
decided not to complete Unicode
conversions, security conversion, and other recommended steps
• Since these are now required for the BW 7.4 and the subsequent
migration to HANA, some companies are planning first to do the
upgrade and then do a migration project. That is a mistake!
• With the new Direct Migration Option tool you can accomplish both
the 7.4 upgrade and the HANA migration in one step.

DMO is a key option in the Software Update Manager (SUM), for those with
older, out-of-date, BW systems that want to migrate to HANA. 49
Creating a DMO Migration Run-Book
• The best way to approach this is to start with
the sandbox system and create a runbook with
step-by-step lists on how each problem and
software task are created. It is not unusual to
have a 90-100 page word document with screenshots and
documentation at the end of this first migration.
• The “runbook” is the key to success. You should build on this when
you migrate to the Development and then the QA and the Production
systems
• DMO started supporting Unicode conversions at the end of 2013 and is
now in “controlled availability,” but with SAP approval you can use it
now

Speed is not important in the first sandbox migration. The


creation of a repeatable process is far more important. 50
A 108 Step Example of a DMO Migration Runbook
ID Task Page No.

• There are many repertory task you must do 1.0


2.0
Introduction
Reference documents
5
6

before the actual migration


2.1 Reference SAP Notes Overview 6
2.2 Updated Tools Overview 6
3.0 Access & User ID's 7

• In steps 1,2, and 3 we are reviewing the latest


3.1 Request OS access to source system 7
3.2 Access to OS with sidadm 7

notes and setting up user and system access


3.3 Acess to OS with orasid 7
3.4 Oracle SYSTEM password 7
3.5 Oracle schema password 7
3.6 DDIC in client 000 on source system 7
3.7 Basis role access to SAP default business client 7
3.8 Access to HANA studio with SYSTEM 7
3.9 Access to HANA Linux servers with sidadm 7
3.10 Access to VM-Linux servers 7
3.11 Obtain target instance numbers 7
General Preparations 8
4.1 Check wether SSFS is configured on the Oracle system 8
4.2 Migration key for OS/DB migration 9
4.3 New SAP license for BW on HANA 9
4.4 Check disk space for SUM-DMO 9
4.5 Create MOPZ stack file for SUM-DMO 9
4.6 Request and/or download software & support packs 10
4.7 Download HANA client 10
4.8 Verify recent backup of Oracle system 10
4.9 Verify recent backup of HANA 10
4.10 Switch HANA archivelog mode to overwrite 10
4.11 Download updated exception tables according to OSS Note 996990 10
4.12 Install or upgrade existing SAPHOSTAGENT 10
4.13 Check SNOTE 10
4.14 Check and clear SPDD 10
4.15 Check and clear SPAU 10
4.16 Check table TBATG - transaction ICNV - 11
4.17 SAP notes related to BW-HANA Migration 11
4.18 Update SAP kernel to 720_EXT_REL patch 110 or higher 12
4.19 Update memory parameters for Linux app server 12

In step 4.2 you must request a migration key 4.20


4.21
Update SPAM to version 51 or higher for SAP NetWeaver 7.01
Upgrade BR*Tools to latest verstion
12
51
12
4.22 Apply SP ST-PI 2008_1_710 SP7 in BW system 12
A 108 Step Example of a DMO Migration Runbook (cont.)
5.0 Unicode Preparations 13
• For those doing a Unicode conversion, there are 5.1 Check consistency between DB & DD
Create table CLU4 & VER_CLUSTR in the database for the sake of
13

many additional steps. We first need to check what 5.2

5.3
Unicode checks in DMO
Re-check consistency between DB & DD
13

14
is already in-place. Thankfully, SAP provides 5.4
5.5
Run report UCCHECK
Conversion of customer-defined code pages
14
15
programs to help you with these to check the config. 5.6 Pre-conversion correction of table data BDCP* 16
5.7 Consistency check for cluster tables 17
5.8 Check installed langauges 18
5.9 Check tables TCPDB and TCP0I 18
5.10 Run Program TWTOOL01 to find Match Code IDs 18
5.11 Run report RSCPINST 19

5.12 Run report TERM_DELETE_INCORRECT_CHARSET SAP Note 1280494 19


5.13 Re-run report TERM_DELETE_INCORRECT_CHARSET 20
5.14 Check table DBTABLOG SAP Note 1255556 21
5.15 Delete the contents of ADR tables as described in OSS Note 673941 21
5.16 Remove temporary objects SAP note 449891 22
5.17 Delete QCM invalid temp tables 22
5.18 Run report RADNTLANG SAP Note 480671 23
5.19 Reset nametab buffer after RADNTLANG report 24
5.20 Database statistics update 24
5.21 Check Nametab 24
5.22 SPUMG 25
5.23 Upload newest exception tables according to OSS Note 996990 25
5.24 Start additional preparation steps 26
5.25 Continue with transaction SPUMG 27
5.26 Check language lists 27
5.27 Set global fall-back codepage 28
5.28 Initialise the worklist 28
5.29 Schedule Worker jobs 29
5.30 Check status of consistency check 30
5.31 Update worklist 30
5.32 Nametab Handling 31
You can get this report by running the report 5.33
5.34
Generate statistics for active nametab tables
Create the Unicode nametabs
31
31
UCCHECK and seeing the installed languages in the 5.35 Run UMG_SHOW_UCTABS 33
5.36 Generate statistics for active nametab tables 34
source system by using the transaction SMLT 5.37 Run additional downtime steps 52
34
A 108 Step Example of a DMO Migration Runbook (cont.)
• Thenext major step is to extract the files needed for the migration.
Here you will need the migration keys you obtained in step 4.2.
6.0 Software Update manager (SUM) and Direct Migration Option 35
6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
53
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)

• If you are working with a


BW system that is not 6.0 Software Update manager (SUM) and Direct Migration Option 35

heavily used, or one that has lots of processing 6.1


6.2
Extract SUM-DMO
Create a softlink to HANA Client
35
35
6.3 Configure SAP Host Agent 35

capacity, you can minimize the downtime by 6.4


6.5
Adjust DMO parameter file
Launch SUM-DMO
35
36

using a “shadow system” during the upgrade


6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47

If you use a shadow system (option 2/3), the


6.10 Checks phase 52
• 6.11
6.12
Error with Partitioned DSOs at DB level
Error with inactive transfer rules in RSUPGRCHECK
54
58

system will be copied (not the data) and many of 6.13


6.14
6.15
Extend tablespaces
Extend PSAPTEMP
Post processing phase
58
58
60

the upgrade tasks will happen on this “shadow’ 6.16


6.17
Error with DB view ZCUST_SALES
Migration uptime phase
62
66
6.18 Prepare for downtime 70

system” while the real system is still running 6.19


6.20
Suspend batch jobs program BTCTRNS1
Check users in AL08
70
71
6.21 Check jobs running 71
6.22 Confirm backup 72

• Only in the later stages is the system unavailable 6.23


6.24
Confirm prepare completed
Starting migration
73
73

to the users while the configuration and data are


6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77

moved to SAP HANA 6.28


6.29
6.30
ASCS Switch
Adapt soft links on the ASCS server
Switch logmode & backup HANA database
82
82
83

• This minimizes the downtime of the system


6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
54
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)
• Now
we have to tell the DMO what system we are coming from and
what system we want to migrate to
6.0 Software Update manager (SUM) and Direct Migration Option 35
6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
55
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)
• It is now time to check inside SAP HANA Studio that the BW schema has
been created by DMO. You find this under “users” in the HANA navigator.
6.0 Software Update manager (SUM) and Direct Migration Option 35
6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47

• We also have to decide what 6.10


6.11
6.12
Checks phase
Error with Partitioned DSOs at DB level
Error with inactive transfer rules in RSUPGRCHECK
52
54
58

support packages we want to 6.13


6.14
Extend tablespaces
Extend PSAPTEMP
58
58

include in the upgrade. Normally


6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66

we pick the latest and ignore the


6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71

equivalent SPs. 6.21


6.22
6.23
Check jobs running
Confirm backup
Confirm prepare completed
71
72
73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
56
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)
• In the check phase, you may get “soft warnings” or items that have to be
fixed before progressing. Pay close attention to both and make sure you
understand what each mean. 6.0
6.1
Software Update manager (SUM) and Direct Migration Option
Extract SUM-DMO
35
35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
57
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)
• If
you did not complete the in-depth cleanup tasks we
recommended earlier, you can now do some basic system cleanup
as well 6.0
6.1
6.2
Software Update manager (SUM) and Direct Migration Option
Extract SUM-DMO
Create a softlink to HANA Client
35
35
35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
Most of the cleanup tasks are better 6.32
6.33
Downtime finished message
PSA post processing has shortdump
85
86

performed prior to starting this process 6.34


6.35
DMO Post-processing
Restart RDA DAEMON
87
88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
58
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)
• Since the “shadow system” is created, no more changes to the
configuration or settings in the existing BW system can occur after this
stage 6.0
6.1
Software Update manager (SUM) and Direct Migration Option
Extract SUM-DMO
35
35
6.2 Create a softlink to HANA Client 35

• NOTE: Users can still access the system


6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
59
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)

6.0 Software Update manager (SUM) and Direct Migration Option 35


6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60

• If
we want to make changes to the shadow
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70

instance, we can do that by logging on as


6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71

user DDIC and changing the system setting


6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73

using the transaction code SE06.


6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85

We can now make changes directly using


6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88

the transaction code SPDD 6.36


6.37
SPAU
Error in DB Check
88
60
89
6.38 Update finished 91
A 108 Step Example of a DMO Migration Runbook (cont.)

6.0 Software Update manager (SUM) and Direct Migration Option 35


6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58

• After
the tables have been created in the 6.13
6.14
Extend tablespaces
Extend PSAPTEMP
58
58
6.15 Post processing phase 60

HANA system, you can reorganize them 6.16


6.17
6.18
Error with DB view ZCUST_SALES
Migration uptime phase
Prepare for downtime
62
66
70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71

• Thisallows you to load balance the HANA 6.22


6.23
Confirm backup
Confirm prepare completed
72
73
6.24 Starting migration 73

system even further before completing the 6.25


6.26
6.27
Error when RFC dedisnation for FINBASIS is not available
Error for D version update rules
Error during execution of RDDEXECL
74
76
77

migration of the data from BW to HANA 6.28


6.29
6.30
ASCS Switch
Adapt soft links on the ASCS server
Switch logmode & backup HANA database
82
82
83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87

This is not a required step for most systems


6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
61
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)

• We now have to lock down the system and stop all jobs and access
6.0 Software Update manager (SUM) and Direct Migration Option 35
6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
62
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)

• Beforewe proceed any further and start migrating the data, we


should complete a full backup of the system
6.0 Software Update manager (SUM) and Direct Migration Option 35
6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
63
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)
• We
now are in the lockdown and downtime phase. The instance is
running as a “remote host” and we will start moving data to the
new system. 6.0
6.1
6.2
Software Update manager (SUM) and Direct Migration Option
Extract SUM-DMO
Create a softlink to HANA Client
35
35
35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
64
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)

6.0 Software Update manager (SUM) and Direct Migration Option 35


6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70

• Beforewe provide users and


6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71

developers access to the new system


6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73

and start testing, you should run


6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77

another backup of the system so that


6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83

valuable time can be saved if you have


6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86

to revert back to a pervious system


6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
65
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)

6.0 Software Update manager (SUM) and Direct Migration Option 35


6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43

• Atthis stage the users can access the new


6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54

system and start the testing of the


6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58

migration. We normally have both


6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66

technical and functional testers involved in


6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71

this phase.
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85
6.33 PSA post processing has shortdump 86
6.34 DMO Post-processing 87
6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
66
89
91
A 108 Step Example of a DMO Migration Runbook (cont.)

• We
are now ready to access the HANA system and all post-
processing tasks have been completed
6.0 Software Update manager (SUM) and Direct Migration Option 35
6.1 Extract SUM-DMO 35
6.2 Create a softlink to HANA Client 35
6.3 Configure SAP Host Agent 35
6.4 Adjust DMO parameter file 35
6.5 Launch SUM-DMO 36
6.6 Extraction phase 37
6.7 Configuration phase 42
6.8 Check BW standard RFC 43
6.9 Check whether DMO created schema on HANA 47
6.10 Checks phase 52
6.11 Error with Partitioned DSOs at DB level 54
6.12 Error with inactive transfer rules in RSUPGRCHECK 58
6.13 Extend tablespaces 58
6.14 Extend PSAPTEMP 58
6.15 Post processing phase 60
6.16 Error with DB view ZCUST_SALES 62
6.17 Migration uptime phase 66
6.18 Prepare for downtime 70
6.19 Suspend batch jobs program BTCTRNS1 70
6.20 Check users in AL08 71
6.21 Check jobs running 71
6.22 Confirm backup 72
6.23 Confirm prepare completed 73
6.24 Starting migration 73
6.25 Error when RFC dedisnation for FINBASIS is not available 74
6.26 Error for D version update rules 76
6.27 Error during execution of RDDEXECL 77
6.28 ASCS Switch 82
6.29 Adapt soft links on the ASCS server 82
6.30 Switch logmode & backup HANA database 83
6.31 Errors reported when restarting SAP 85
6.32 Downtime finished message 85

The next step is to start the development 6.33


6.34
PSA post processing has shortdump
DMO Post-processing
86
87

migration using the runbook


6.35 Restart RDA DAEMON 88
6.36 SPAU 88
6.37
6.38
Error in DB Check
Update finished
67
89
91
After Migration — The Delta Merge Monitor

• The Delta Merge Monitor can


help developers and
administrators in load
optimization and processing of
queries in HANA

• Since the tool can be very


resource intensive, it is
recommended to be used when
the system has minimal usage
(i.e., weekends and nights)

To use the tool, you will have to be on HANA 1.0 Service Pack 5 and BW version 7.3
Service Pack 6 or higher. More details are available in SAP Note 1663501.
68
After Migration — Optimize Database with
Secondary Indexes

• Normally SAP BW with HANA doesn’t use


secondary indexes. But this can be added
for improving lookup performance in cases
such as transformations.

• It is important to be aware that secondary indexes, if used extensively,


can require more memory and can also slow down data loads.
Therefore, you may consider adding “HANA hints” in the ABAP code
first (see SAP Note 1662726) or deleting the filter in the SQL statement
and instead executing it in the ABAP engine after HANA returned non-
filtered data (see SAP Note 1740373)

While HANA is much faster than a traditional database, it also can be performance
tuned even faster (this is not normally required as part of typical HANA migration)
69
After the Migration — Table Consistency Checks

• Once migrated to HANA, you can


check your tables, indexes, and
partition distribution and setup
to assure optimal operations

• Thistool requires that your BW


on HANA system is at least a BW
7.3 Service Pack 6

• You can access it by running


RSDU_TABLE_CONSISTENCY

To get more information on this tool, check SAP Note 1695778


70
Automated Updates and More Information

• The BW Migration
cokpit also
provides
information on
new updates,
documentation
and also
additional
information links
for SAP HANA.

• It is a key tool for all


who do a BW to
HANA migration.

71
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

72
An Example of a Mid-Sized (10 TB) HANA
DMO Migration Plan
Nov-13 Dec-13 Jan-14 Feb-14 Mar-14 Apr-14 May-14 Jun-14 Jul-14 Aug-14 Sep-14 Oct-14 Nov-14 Dec-14

12-May
19-May
26-May
10-Mar
17-Mar
24-Mar
31-Mar
16-Dec
23-Dec
30-Dec
11-Nov
18-Nov
25-Nov

11-Aug
18-Aug
25-Aug

15-Dec
22-Dec
10-Nov
17-Nov
24-Nov
10-Feb
17-Feb
24-Feb

15-Sep
22-Sep
29-Sep
14-Apr
21-Apr
28-Apr

13-Oct
20-Oct
27-Oct
13-Jan
20-Jan
27-Jan

16-Jun
23-Jun
30-Jun
5-May

14-Jul
21-Jul
28-Jul
4-Nov

3-Mar

3-Nov
3-Feb

1-Sep
8-Sep
2-Dec
9-Dec

4-Aug

1-Dec
8-Dec
2-Jun
9-Jun
7-Apr

6-Oct
6-Jan

7-Jul
Project

BW/HANA Transformation
Install PCA & SAP notes
BEx Queries 3x to 7x

Pre-requisites ABAP Unicode Conversion

Analysis Authorizations 3x to 7x

Sizing & Detail Roll-out Planning

Project DMO
Setup Go / No Go
DMO
Migration Prep
Test 1
DMO Functional & Technical
Test 2 Tests
DEV Migration BWD BDH DEV Functional & Production
HANA & CI Prep Migratio Technical Tests Go / No Go
Delivered
Foundation QA Migration BWQ BQH Functional & Technical User
HANA & CI Prep Migratio Tests cut-over
Delivered
Pre-Prod PRD BHH
Migration Delta Cutover
HANA & CI Dry #1 Perfor. Test
Go / No Go
Delivered Migratio PRD
Delta
PRD n Prep Dry # 2
HANA & CI
Migratio PRD Oct Decommission
Delivered Delta
n Prep Migratio close Oracle landscape

Parallel Support HANA & Oracle Landscape

I/W, R&A Data Analysis


Reporting HANA Data Modeling
Conversion
Build & Test HANA Models
Build out Sidecar with BODS
transformations
Information Steward Discovery of Document transformations in XSSH and Build & Test BODS Transformations

This
DataMart other sources
Data
Transformation Design To-Be Transformations
Conversion
73
An Example of a Very Large (40 TB) HANA Migration Plan
Jul-13 Aug-13 Sep-13 Oct Nov-13 Dec-13 Jan-14 Feb-14 Mar-14 Apr-14 May-14 Jun-14 Jul-14 Aug-14 Sep-14 Oct-14 Nov-14 Dec-14

12-May
19-May
26-May
10-Mar
17-Mar
24-Mar
31-Mar
12-Aug
19-Aug
26-Aug

16-Dec
23-Dec
30-Dec
11-Nov
18-Nov
25-Nov

12-Aug
19-Aug
26-Aug

16-Dec
23-Dec
11-Nov
18-Nov
25-Nov
16-Sep
23-Sep
30-Sep

10-Feb
17-Feb
24-Feb

16-Sep
23-Sep
30-Sep
14-Apr
21-Apr
28-Apr
14-Oct
21-Oct
28-Oct

14-Oct
21-Oct
28-Oct
13-Jan
20-Jan
27-Jan

10-Jun
17-Jun
24-Jun
5-May
15-Jul
22-Jul
29-Jul

15-Jul
22-Jul
29-Jul
4-Nov

3-Mar

4-Nov
2-Sep
9-Sep

3-Feb

2-Sep
9-Sep
5-Aug

2-Dec
9-Dec

5-Aug

2-Dec
9-Dec
3-Jun
7-Apr
7-Oct

7-Oct
6-Jan
1-Jul
8-Jul

1-Jul
8-Jul
Project

BW/HANA Production Dry Run SP strategy


DEV Optimization
PRD OCT
SP10

Delta Scope Go-Live


Migratio Close
Dry Run #2
Stress Test (CD4)
Optimization
Cutover Testing

BW/HANA Transformation
USF CAT

Design Optimized Data Models


T-Sys Migration Detail Roll-out SBX Build and Unit test

Structured
Walkthru
Project Planning Migratio Optimized Data model - SD4
Dev
Build in Dev DD4
Migratio

Export and Import of Development ACC ITC - Interface


Migration Transition Test
Go / No Go
CAT/PSU
UAT User cut-over
Migration
PRD PRD OCT
Delta Delta
Migratio Migratio Close
Decomm Oracle
Production Dry
Production Migration PD4
Run #2 PD4
Organizational Readiness
HA/DR/Backup
Operations Training
User Cutover Procedures

Hana Appliances:
#1 15TB Appliance Pa DEV DD4 + PSU ZD4 + DR (assuming not Hot Standby)

#2 4TB Appliance SC SC Dev DH2 + BW ACC AD4

#3 4TB Appliance PRD Sidecar PH2

#4 15TB Appliance Order PRD Rehearsel PD4 PRD PD4

This very large 110+ TB system with NLS and substantial complexity
was moved in less than 5 days in the final test migration 74
What We’ll Cover

• Background
• The standalone HANA project: Creating views and tables
• SAP NetWeaver BW 7.4 on HANA – New features
• Preparing for the BW upgrade and HANA migration
• Cleaning up existing BW system and reducing HANA size
• BW transformation and HANA optimization
• Demo of non-BW HANA development
• The Direct Migration Option (DMO) for BW
• Project execution examples
• Wrap-up

75
Where to Find More Information

• www.sap-press.com/products/SAP-HANA%3A-An-Introduction-
(2nd-Edition).html
 Bjarne Berg and Penny Silvia, SAP HANA: An introduction, SAP
Press; 2nd edition (May 1, 2013)
• http://www.saphana.com/welcome
 SAP’s main page for all SAP HANA related information

• http://www.saphana.com/community/try
 Powered by HANA demos Dr Berg: I wasn’t able to see
the BW powered by HANA
• http://scn.sap.com/community/netweaver-bw-hana
demo at this site. Can you
double check? Berg: Fixed
 SAP NetWeaver BW Powered by SAP HANA Community

76
7 Key Points to Take Home

• There are programs to do pre-readiness checks for an ERP and BW


system for migration to HANA
• A BW Migration Cockpit and a new DMO tool are now available to
assist in the tasks
• While one is more common, there are actually four possible
approaches to the BW on HANA migration project
• SAP is providing guidance and support — more than ever — to make
customers successful, and HANA is now very mature
• Standalone HANA projects are also becoming very common, even
with companies that also have BW
• Most HANA projects can be done in a matter of weeks, only
extremely large systems may require 4-7 months
• Experienced resources with hands-on knowledge is in high demand
77
Your Turn!

How to contact me:


Dr. Berg
bberg@comerit.com

Please remember to complete your session evaluation


78
Disclaimer

SAP, R/3, mySAP, mySAP.com, SAP NetWeaver®, Duet™®, PartnerEdge, 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 in several other countries all over the world. All other product and
service names mentioned are the trademarks of their respective companies. Wellesley Information Services is neither owned nor controlled by SAP.

79

You might also like