Professional Documents
Culture Documents
How To Upgrade To SAP BW4HANA and BW 7.5 On SAP HANA - Potential Pitfalls and Tried and True Instructions For Success
How To Upgrade To SAP BW4HANA and BW 7.5 On SAP HANA - Potential Pitfalls and Tried and True Instructions For Success
2
There is a Difference Between BW 7.5 “Powered by” & “Edition” for HANA
3
Why SAP BW 7.5, edition for SAP HANA
Simplified administration
Faster development time
Easierto maintain by having
less replicated object and
data
Smaller HANA memory
footprint
Bettermodeling interface in
Eclipse
Centralized
development
and admin interface.
4
SAP BW 7.5, ‘edition for HANA’ and ‘on HANA’
• As you plan to move to SAP BW 7.5, you can still leverage the older objects, but long-
term you should migrate to the new BW 7.5 edition for HANA objects
5
SAP BW 7.5, ‘edition for HANA’ – Compatibility Mode
Date New Release
• Administrative tasks are currently October 23rd, 2015 First release of BW 7.5
7
What We’ll Cover
• Introductions
• BW 7.5 Edition for HANA Vs. BW 7.5 on HANA
• New Enterprise Data Warehousing Capabilities
• Hardware and Landscape Deployment Options
• The DMO and the Logical Upgrade Approach
• Wrap-up
8
Simplifying Source Connectivity Options
10
Advanced DataStore Object – New in SAP BW 7.5
11
Enhanced Composite provider in SAP BW 7.5
• In
BW 7.5 you can also convert
existing CompositeProviders and BW
SAP is working on adding the support for temporal joins in
MultiProvider automatically. CompositeProviders. This may allow customers to completely
remove the need for InfoSets
12
New Features in SAP BW 7.5 – Query Designer in Eclipse
13
New Workspace Query Designer in BW 7.5
• In
the new Workspace Query Designer you
can now let key business users upload and
merge data in queries with local and BW
data..
15
SAP BW 7.5 Dynamic Tiering - Enhanced support
As first introduced in HANA in 2015, BW 7.5 now takes more advantage of Dynamic Tiering, thereby keeping
more of low usage data in BW on disk instead of memory (costs savings).
16
Operational Data Provisioning
• You can even use OData for Delta data loads from ADSOs
in BW 7.5
With OData, SDI, SDA, ODBC, JDBC, DBSQL and standard SAP
interfaces, SAP BW 7.5 on HANA is a truly open data platform
17
SAP BW 7.5 - Smart Data Integration (SDI) on HANA
19
Hardware Options 2016 Onward
20
Key Hardware Options 2016 Onward
Note:
21
Key Cloud Options
22
HANA Sizing Tool for Existing BW Implementations
Using the BW Automated Sizing tool in the Migration Cockpit
23
HANA Sizing Tool for Existing BW
Implementations
To increase speed, you can
suppress analysis tables with
SAP has an updated tool that generates a report less than 1 MB size
significantly better for sizing SAP BW than using
the QuickSizer.
25
Historical Landscape Deployment Planning Options
Availability Supported for DEV & QA Supported for DEV & QA Defined by: Business Suite components
systems systems White List 1661202 for BW SCM and/or SCM co-
White List 1826100 for Suite deployed with ERP
26
Save Money with MCOD and MCOS
1. You may not need separate hardware for sandbox and development environments
2. Using Multiple Components One Database (MCOD) and/or Multiple Components One System
(MCOS) you can simplify the number of hardware environments you need
a) SAP BW on SAP HANA
b) SAP Finance and Controlling Accelerator for the material ledger
c) ERP operational reporting with SAP HANA
d) SAP Finance and Controlling Accelerator: Production Cost Planning
e) SAP Rapid Marts
f) SAP COPA Accelerator
g) SAP Operational Process Intelligence
h) SAP Cash Forecasting
i) SAP Application Accelerator/Suite Accelerator
j) Smart Meter Analytics
In addition to custom developed datamarts, all items above can run
in an MCOD setup (see SAP Note 1666670 for more details)
27
MCOS Example from Real Company
MCOS
Note that the QA and Production system are kept the same size so that performance tests
are accurate and so that the QA system can be used as for disaster recovery
28
New Deployment Option –
Multitenant Database Containers (MDC) Deployments
APPLICATIONS
•A tenant database is a single database container
Application A Application B
MDC
MDCbecame
becameavailable
availablewith
withSP-9
SP-9ofofHANA
HANAinin2015
2015
29
MDC Deployments Details
• MDC can be used in Platform & Enterprise Cloud
• For
on-premise it can replace most MCOS deployments
and many of the MCOD scenarios
• There is no virtualization overhead, and scale-out systems
with standby nodes is supported
• You can use SQL to query across databases:
I.e., SELECT *
Individual
Individualdatabase
databasebackups
backupsand
andrestores
restores FROM schema1.Customers AS tab1, db2.schema2.Customers as tab2
WHERE tab2.column2 = ‘Johnson’
can
canbe
bedone
donefrom
fromHANA
HANAStudio
Studio NOTE: Attribute and analytic views must be converted to calculation views
to be used as remote tenant database objects
•A new privilege “Database Admin” allows you to separate admin access to each database
• You can convert a HANA system to MDC, but it cannot be converted back
(command: hdbnsutil –convertToMultiDB)
30
What We’ll Cover
• Introductions
• BW 7.5 Edition for HANA Vs. BW 7.5 on HANA
• New Enterprise Data Warehousing Capabilities
• Hardware and Landscape Deployment Options
• The DMO and the Logical Upgrade Approach
• Wrap-up
31
Optional: The SAP_BW_HOUSEKEEPING Task List
• If you are on 7.0 SP32 of higher, you can generate an SAP BW Housekeeping tasks list and get
automated help in cleaning the system weeks before upgrading it
1. Check 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 indexed for PSA 11. Repair InfoCube fact table indices at Data Dictionary level
6. Ensure request consistencies in the PSA 12. Reorganize and delete bookmark IDs and view IDs
You first have to install the program from SAP Note 1829728 before you can generate
the SAP_BW_HOUSEKEEPING task list using tcode STC01 32
Optional: The SAP_BW_BEFORE_UPGRADE Task List
• If
you are on 7.0 SP31 or higher,
you can generate an “SAP BW
Before the Upgrade task list” and
get help in preparing the system
for the upgrade
34
Pre-Planning: BEx 3.5 Query Designer Is Obsolete
You can find step-by-step help to migrate your old BW BEx to 7.x in the “cookbook note” 1807522
35
BW to HANA Readiness Check
36
BW to HANA Readiness Check – Findings – p1
Re
a lE
xa
mp
le
37
BW to HANA Readiness Check
Findings – p2
Re
a lE
xa
mp
le
38
Other Mandatory Tasks and Gotchas with BW 7.5
• Some companies did not do the recommended security migration when upgrading to BW 7.0. They
now have to migrate to the “new” analysis authorization concept. The old 3.x is no longer supported.
• Unicode conversion was also strongly recommended with the BW 7.0 upgrade, but many
companies did not compete that either. Now it is required. For non-unicode compliant systems, you
may have to go to BW 7.4, and do the Unicode conversion during that upgrade, before moving to
BW 7.5
• The maximum length of characteristic values has been increased from 60 to 250 characters. This
can cause issues with key fields that are also assigned to this domain (RSCHAVL), since the max
field length may be exceeded. (Look in SAP Note 1879618 to avoid issues with this). Since this
domain uses the data type “SSTRING” you should also test any custom coding using this data type.
39
Useful Hints for Older 3.x Systems
• If some of the InfoSets become inactive, you can still use the program RSQ_ISET_MASS_OPERATIONS to
activate all InfoSets
• If you are still on 3.5 queries or older versions (i.e., 3.1c, 3.0B), consider running the program
RSR_GEN_DIRECT_ALL_QUERIES to regenerate all queries in the system into the 7.0 release
• BW 7.0 had a new transformation concept that replaced transfer and update rules, but not all companies have
migrated.
• To do so now, you can convert the DataSources and the Persistent Staging Area to the new DTP process (see
SAP Note 906789). [Note: the PSA becomes less important in 7.5 when using Operational Data Provisioning
(ODP), since it does not use the PSA]. To test the conversion of the DataSources you can also run:
RSSM_CREATE_REQDONE_FROM_SEL; RSSM_HASH_ENTRIES_CREATE for all requests;
RSSTATMAN_CHECK_CONVERT_DTA; RSSTATMAN_CHECK_CONVERT_PSA.
40
BW InfoCube Data Classes That Are Incorrectly Assigned
• DDART data classes may have been set up in your system that don’t follow standard naming
conventions (see SAP Note 46272)
• These data classes were assigned to InfoCubes in the RSDCBE transaction. To correct a data
class assignment you should use the report RSDG_DATCLS_ASSIGN.
• During the upgrade, if you don’t assign them correctly, these classes are lost and tables that are
generated for the InfoCube may not be correctly activated
To assure that all DataSources Web services run correctly after the upgrade, you could run
RSDS_DATASOURCE_ACTIVATE_ALL after the upgrade (see SAP Note 1494272)
41
Pre-Steps Before Staring SUM (Software Update Manager)
• To start the process, you will need some disk space for the SUM tool, the download directory, the Trans directory, as well
as some space for the shadow system that will be created during the upgrade
• SAP recommends that you have at least the following disk space available in your source system:
20GB for the temporary download directory and the DIR_TRANS directories (each)
8GB for the SUM directory
The size for the shadow system equal to the size found in this
directory:
\usr\sap\<sapsid> (Windows systems)
During your upgrade, the SUM will create a “shadow” system for your
non-data files and you will need some space for this 42
Upgrade Decision: Low, Standard, and High Resources
•A major decision is: Are you going to minimize the system
downtime or do a low resource upgrade? The trade-off is
between using more system resources or downtime.
• In
the “standard” upgrade, you create a shadow system
while the BW system is still operating. You turn off any
archiving to make sure you do not miss any data and do
your system backup right before the downtime starts.
Therefore, you can do much of the upgrade before the
downtime (shorten the outage).
• Ina very high system resource upgrade, you also use a When
Whenpossible,
possible,you
youshould
shouldconsider
considerusing
using
shadow system, but imports are much faster and you can the
thesingle
singlesystem
systemoption,
option,thereby
therebymaking
making
keep archiving on (may create large logs), but downtime the
theupgrade
upgradeandandmigration
migrationmuch
muchfaster
faster(may
(may
require
requiremore
moreoutage).
outage).
starts earlier.
43
Shadow System During the Upgrade
Application Data
7.5
reduce the system outage
XPRA Import &
Data Conversion
Target Release
System
- -High
Highsystem
systemresource
resource––locks
locks
system
systemininthe
theREPACHK2
REPACHK2phasephase Application Data
Source Target
--Standard
Standardsystem
systemresource
resource––locks
locks Shadow Release Release
system
systemininthe
theREPACHK2
REPACHK2phasephase System
--Low
Lowsystem
systemresource
resource––locks
locks
Source Release
System
Target Release
System
system
systemininthe
theLOCKEU_PRE
LOCKEU_PREphase phase SPDD
NOTE:
NOTE: during
duringthe
thelock,
lock,only
onlycertain
certaintypes
types Application
ofofBW
BWobjects
objectsfor
forwhich
whichchanges
changesare are Data Target
explicitly BW 7.0 Release
explicitly allowed can be changed (see
allowed can be changed (see (or higher)
note
note337950).
337950).
BW
BW7.x
7.x 44
Step 1: Hardware Install, Dev Copy, and Sandbox Upgrade
BW 7.x BW 7.x BW 7.x BW 7.x
Sandbox Dev. Box QA Box Prod Box
In this example, we are installing new hardware. This creates a
lot of flexibility and less project risk! pl
e
1 x am
E
An
First, we copy the BW 7.x development box to the new
hardware BW 7.5
Sandbox
We want to create a repeatable process, so no ad hoc activities are allowed. Remember, extra time has to be set
aside for notes research and unforeseen issues.
BENEFITS:
BENEFITS:This
Thisisisalso
alsoaatest
testrun
runfor
forupgrading
upgradingthe
thedevelopment
developmentbox
box(!),
(!),thereby
therebyreducing
reducingthe
theupgrade
upgrade
risk.
risk.After
Afterthe
theupgrade,
upgrade,wewealso
alsoget
getaarefreshed
refreshedsandbox
sandboxenvironment.
environment.
45
Step 2: Development Box Copy and Upgrade
BW 7.x BW 7.x BW 7.x BW 7.x
Sandbox Dev. Box QA Box Prod Box
Now we have to freeze all development activities
e
m pl
1 a
Normally, the work in the 7.x dev box is transported to 2 Ex
An
QA for testing and the dev box is locked
BW 7.5 BW 7.5
Sandbox Dev. Box
Using the upgrade “runbook” and all steps collected and written during the sandbox upgrade, we are
upgrading the new development box. This is intended to be a structured approach that is repeatable.
The developers participate in in-depth testing of the new 7.5 dev box
BENEFITS:
BENEFITS:The
Theoutage
outageofofthe
thedevelopment
developmentbox
boxoccurred
occurredafter
afterthe
thesandbox
sandboxupgrade
upgradeand
andthe
thedevelopment
developmentoutage
outageisisminimized.
minimized.This
Thisisis
also
alsothe
thesecond
secondtime
timewe
wehave
haveupgraded
upgradedthe
thedevelopment
developmentbox,
box,so
soany
anyissues
issuesshould
shouldbe
bewell
wellknown.
known.
46
Step 3: Production Box Copy and QA Upgrade
BW 7.x BW 7.x BW 7.x BW 7.x
Sandbox Dev. Box QA Box Prod Box
This is a significant risk mitigation strategy, but requires that transports and client-dependent objects are switched
back on the new Sandbox and QA systems
BENEFITS:
BENEFITS:This
Thisapproach
approachturns
turnsthe
theQA
QAupgrade
upgradeinto
intoaareal
real“dress
“dressrehearsal”
rehearsal”for
forthe
theproduction
productionbox
boxupgrade.
upgrade.Also,
Also,since
sincewe
weare
are
switching
switchingthe
thehardware,
hardware,the
therisk
risktotothe
theupgrade
upgradeisisminimal
minimal(BW
(BW7.x
7.xprod
prodisisnot
nottaken
takenoffline
offlineuntil
untilafter
afterthe
theupgrade).
upgrade).
47
Step 4: Production Box Copy and QA Upgrade
BW 7.x BW 7.x BW 7.x BW 7.x
You are now ready for the cutover weekend Sandbox Dev. Box QA Box Prod Box
upgraded by Saturday 6 am
Plan
Planfor
forhaving
havingBasis
Basisand
andtechnical
technicalpeople
peopleworking
workingthe
thenight
nightfrom
fromThursday
ThursdaytotoFriday
Friday
and
andpossibly
possiblytotoSaturday,
Saturday,depending
dependinghow
howlong
longthe
theupgrade
upgradetakes
takes
48
Database Migration Option (DMO)
• Since these are now required for the BW 7.5 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
database migration option tool you can accomplish both the 7.5 upgrade and often all the HANA
migration in one step. DMO is a key option in the Software Update Manager (SUM), for those that want
to migrate to HANA.
NOTE: If you are already on BW 7.3/7.4 on HANA, you must have at least HANA
SP-10 before migrating to 7.5 using DMO
49
Software Update Manager – SP 16
• To
do a migration of your existing SAP BW system, you should first look at the Product Availability
Matrix (PAM) at the SAP Marketplace.
• TheDMO option support for SAP BW 7.5 was recently released, but required SUM ServicePack 16 (or
higher). In SPS-16, the brand new “Zero downtime option” (ZDO) available on request
Queries: 409
The test team was dedicated for 9 weeks during the migration of QA and Prod
environments
Duration: 14 weeks
Environments: 4+1 The test team from the business was comprised of experienced users of the BW
Risk aversion: Medium system and needed minimal training
Other usage: Integrated HANA Optimization of InfoCubes was done for SD reports only in this migration
Planning
This organization was using BWA 7.0 and retired it as part of the HANA
migration, thereby saving licensing costs for this platform
53
Staffing a HANA Migration Project — Medium Team
System Profile Area Role Staff area Jan Feb Mar
25% 25% 25% 25% 25%
Apr May
Project manager Company
Raw data size: 5.6 TB Core
Technical project manager Consultant 100% 100% 100% 100% 100%
20% 20% 20% 20% 20%
Project Advisor Consultant
team
Complexity: Medium BW / HANA Basis Support Company 75% 100% 100% 100% 75%
HANA Basis Support Consultant 100% 100% 100% 100%
DataStores: 439 Test Team: BW Technical test lead Company 75% 100% 100%
Finance Functional Tester - Finance Business 50% 50%
InfoCubes: 603 Test Team: HANA Test & resolution lead Consultant 75% 100% 100%
SD & Commissions Functional Tester - Sales & Distribution Business 50% 50%
Queries: 1,300+ Test Team: BW Technical tester Company 75% 100% 100%
(incl. BOBJ) Other Areas Functional Tester - Other areas Business 50% 50%
Duration: 18 weeks The testing of core queries in BEx and Web Intelligence was done by the business
Environments: 4
The data reconciliation and process chain testing were done by dedicated
Risk aversion: HIGH
resources in each team
Other usage: None
The team must be staffed with experienced resources. HANA training for team
members and hardware installs should be in place prior to project start.
54
Staffing a HANA Migration Project — Very Large Team
System Profile Area Role Staff Mar Apr May June July Aug
Raw data size: 38TB Project manager Company 100% 100% 100% 100% 100% 75%
Technical project manager Consultant 100% 100% 100% 100% 100% 75%
You will have the option to keep the cluster and pooled tables if you want.
However, for the vast majority of customers this is a step that will simplify table
structures and increase speed in HANA
56
What We’ll Cover
• Introductions
• BW 7.5 Edition for HANA Vs. BW 7.5 on HANA
• New Enterprise Data Warehousing Capabilities
• Hardware and Landscape Deployment Options
• The DMO and the Logical Upgrade Approach
• Wrap-up
57
Where to Find More Information
• www.sap-press.com/sap-hana_3687
Bjarne Berg and Penny Silvia, SAP HANA: An introduction (SAP PRESS, 3rd Ed.)
• http://scn.sap.com/docs/DOC-70034
SAP SCN SAP BW 7.5 Frequently Asked Questions
• http://scn.sap.com/docs/DOC-68023
Update to SAP BW 7.5 by Roland Kramer, SAP SE
• http://sapexperts.wispubs.com/BI
The Future of SAP BW: SAP BW 7.5, Edition for SAP HANA by Ned Falk
• https://help.sap.com/nw75
SAP NetWeaver 7.5 Help Portal page
58
7 Key Points to Take Home
• BW 7.5 on HANA and BW 7.5 Edition for HANA are different
• BW 7.5 has major benefits in terms of object simplification and faster development times
• A migration to BW 7.5 for older BW systems will normally be to BW on HANA first
• Unicode conversion is mandatory for BW 7.5 systems
• Migrations can be done in as little as 8-10 weeks for smaller and mid-sized systems
• Staffing should be a mix of test teams; strong HANA and BW skilled basis people are essential
• BW 7.5 removes many of the old ‘legacy’ objects and simplifies modeling and query development in
the new Eclipse based modeling interface.
59
Your Turn!
60
Disclaimer
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the trademarks of their respective companies. Wellesley Information Services is neither owned nor controlled by SAP SE.
61