Download presentation
Presentation is loading. Please wait.
1
Dr. Berg Lenoir Rhyne University
An A-to-Z Guide to Implementing SAP HANA: Part-2 Scoping, Staffing, Budgeting, and Execution Dr. Berg Lenoir Rhyne University
2
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
3
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
4
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?
5
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
6
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.
7
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
8
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.
9
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
10
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)
11
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
12
Creating an Analytical View
An analytical view is a way to join master data and transactional data together for simple access
13
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
14
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
15
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
16
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.
17
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
18
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.
19
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
20
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 latency
21
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.
22
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
23
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
24
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 Checks BW metadata with DDIC Delete RSTT traces Delete BW statistical data Delete Aggregate data via deactivation Ensure partitioned tables are correctly indexed for PSA Ensure request consistencies in the PSA Re-assign requests written into the incorrect PSA partition Verify DataSource segments assignment to PSA Deletes the entries no longer required in table RSIXW Clear all OLAP Cache parameters Repair InfoCube fact table indices at Data Dictionary level Reorganize and delete bookmark IDs & view IDs You first have to install the program from SAP Note before you can generate the SAP_BW_HOUSEKEEPING task list using tcode STC01
25
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 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 is ready for the 7.4 upgrade You first have to install the program from SAP Note before you can generate the SAP_BW_BEFORE_UPGRADE task list using tcode STC01
26
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
27
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
28
12 Pre-Steps — Cleaning up Your BW System
Clean the Persistent Staging Area (PSA) for data already loaded to DSOs. Delete the Aggregates (summary tables). They will not be needed again. Compress the E and F tables in all InfoCubes. This will make InfoCubes much smaller. 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. Look at the log files, bookmarks, and unused BEx queries and templates (transaction RSZDELETE). 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 and
29
12 Pre-Steps — Cleaning up Your BW System (cont.)
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. 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. 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.
30
12 Pre-Steps — Cleaning up Your BW System (cont.)
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. In SAP Note , 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: ). Finally, you can use the program RSDDCVER_DIM_UNUSED to delete any unused dimension entries in your InfoCubes to reduce the overall system size.
31
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 this tool These tools are thanks to SAP’s Marc Bernard and his team at SAP Labs Canada
32
More 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 partitioned as “not active”. If you do so, they will only be loaded into memory when actually required. The sizing program in SAP Note takes these size savings settings into account when sizing your HANA system
33
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
34
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 Source: SAP AG This part of the tool can be run on SAP BW 3.5 or higher. See SAP Note for more details.
35
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 ) Source: SAP AG
36
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 one interface instead of two “projects” You can use the DMO if your are on minimum SAP BW version 7.0 and have applied Service Pack 17 (see SAP Note )
37
HANA Optimized BW 7.4 DSOs and Performance Improvements
BW optimized DSOs are now created by “default” in HANA This means that data activations are done much faster at the HANA database layer The change log is kept in a calculation view resulting in smaller DSOs HANA optimized DSOs are also available for BW 7.3, but now they are created by default, so do not convert DSOs to HANA-optimized. Fast activation is available for all standard DSOs without conversion to HANA-optimized.
38
Converting InfoProviders 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 )
39
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
40
The Application Specific Upgrade (ASU) Toolbox
Once 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 executing the transaction /ASU/START (see SAP Note )
41
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
42
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.
43
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 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 now also support Unicode conversions Speed is not important in the first sandbox migration. The creation of a repeatable process is far more important.
44
A 108 Step Example of a DMO Migration Runbook
There are many repertory task you must do before the actual migration In steps 1,2, and 3 we are reviewing the latest notes and setting up user and system access In step 4.2 you must request a migration key
45
A 108 Step Example of a DMO Migration Runbook (cont.)
For those doing a Unicode conversion, there are many additional steps. We first need to check what is already in-place. Thankfully, SAP provides programs to help you with these to check the config. You can get this report by running the report UCCHECK and seeing the installed languages in the source system by using the transaction SMLT
46
A 108 Step Example of a DMO Migration Runbook (cont.)
The next major step is to extract the files needed for the migration. Here you will need the migration keys you obtained in step 4.2.
47
A 108 Step Example of a DMO Migration Runbook (cont.)
If you are working with a BW system that is not heavily used, or one that has lots of processing capacity, you can minimize the downtime by using a “shadow system” during the upgrade If you use a shadow system (option 2/3), the system will be copied (not the data) and many of the upgrade tasks will happen on this “shadow’ system” while the real system is still running Only in the later stages is the system unavailable to the users while the configuration and data are moved to SAP HANA This minimizes the downtime of the system
48
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
49
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. We also have to decide what support packages we want to include in the upgrade. Normally we pick the latest and ignore the equivalent SPs.
50
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.
51
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 Most of the cleanup tasks are better performed prior to starting this process
52
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 NOTE: Users can still access the system
53
A 108 Step Example of a DMO Migration Runbook (cont.)
If we want to make changes to the shadow instance, we can do that by logging on as user DDIC and changing the system setting using the transaction code SE06. We can now make changes directly using the transaction code SPDD
54
A 108 Step Example of a DMO Migration Runbook (cont.)
After the tables have been created in the HANA system, you can reorganize them This allows you to load balance the HANA system even further before completing the migration of the data from BW to HANA This is not a required step for most systems
55
A 108 Step Example of a DMO Migration Runbook (cont.)
We now have to lock down the system and stop all jobs and access
56
A 108 Step Example of a DMO Migration Runbook (cont.)
Before we proceed any further and start migrating the data, we should complete a full backup of the system
57
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.
58
A 108 Step Example of a DMO Migration Runbook (cont.)
Before we provide users and developers access to the new system and start testing, you should run another backup of the system so that valuable time can be saved if you have to revert back to a pervious system
59
A 108 Step Example of a DMO Migration Runbook (cont.)
At this stage the users can access the new system and start the testing of the migration. We normally have both technical and functional testers involved in this phase.
60
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 The next step is to start the development migration using the runbook
61
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
62
Optimize 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 ) 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 ) 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)
63
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 This tool 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
64
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
65
An Example of a Mid-Sized (10 TB) DMO Migration Plan
This
66
An Example of a Very Large (60 TB) Migration Plan
This very large 110+ TB system with NLS and substantial complexity was moved in less than 5 days in the final test migration
67
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
68
Where to Find More Information
Bjarne Berg and Penny Silvia, SAP HANA: An introduction, SAP Press; 3rd edition (Oct 2014) SAP’s main page for all SAP HANA related information BW powered by HANA demo SAP NetWeaver BW Powered by SAP HANA Community
69
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 very large systems may require 4-7 months Experienced resources with hands-on knowledge is in high demand
70
Please remember to complete your session evaluation
Your Turn! How to contact me: Dr. Berg Please remember to complete your session evaluation
71
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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.