Operations Guide | PUBLIC Software Provisioning Manager 1.0 SP32 Document Version: 3.7 – 2021-06-21

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database company. All rights reserved. affiliate

THE BEST RUN 2021 SAP SE or an SAP © Content

1 Homogeneous and Heterogeneous System Copy...... 9 1.1 About Software Provisioning Manager 1.0...... 10 1.2 SAP Products Based on SAP NetWeaver 7.3 EHP1 to 7.52 Supported for System Copy Using Software Provisioning Manager 1.0 ...... 11 1.3 New Features...... 12 1.4 Naming Conventions...... 18 1.5 Constraints...... 19 1.6 Accessing the Installation Guides...... 21 1.7 Accessing the SAP Library...... 21

2 Planning...... 22 2.1 Before You Start...... 22 2.2 Use Cases for System Copy...... 23 2.3 System Copy Methods...... 24 2.4 Creating a System Copy Plan...... 25 2.5 Basic Planning Aspects and Parameters...... 26 2.6 System Copy and Migration Optimization...... 29 Database Tuning for Source Databases other than SAP HANA...... 29 Sorted Versus Unsorted Unload...... 31 Package Splitting...... 32 Table Splitting...... 33 R3load Options...... 35 Migration Monitor...... 36 Distribution Monitor...... 36 Defining the Unload/Load Order...... 37 2.7 Migration to SAP HANA Database...... 37 General Information About the Migration to SAP HANA...... 38 Prerequisites and Restrictions...... 40 Involved Tools...... 40 Considerations for Performance...... 43 Database Instance Export on Additional Hosts...... 43

3 Preparation...... 44 3.1 General Technical Preparations ...... 44 3.2 Product-Specific Preparations...... 47 3.3 Preparing the Migration to SAP HANA Database...... 48 3.4 Preparing the Media Required for Performing the Export...... 52

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database 2 PUBLIC Content Downloading and Extracting the Software Provisioning Manager 1.0 Archive...... 53 Downloading Dedicated Kernel Archives for the Export...... 54

4 Database Independent System Copy...... 56 4.1 System Copy Procedure...... 57 Generating DDL Statements...... 64 Using a Dedicated Kernel for the Export...... 66 Preparing the Table Split...... 67 Preparing the Package Split...... 71 Preparing Parallel Export and Import...... 73 Additional Considerations for the Migration to SAP HANA Database (Export)...... 74 Exporting the Source System...... 75 Setting Up the Target System...... 95

5 Database-Specific System Copy...... 105 5.1 SAP HANA Database-Specific Procedure...... 106

6 Copying Single Instances Only...... 107 6.1 Copying the Primary Application Server Instance Only...... 107 6.2 Copying the Database Only – Move Database Instance...... 108 6.3 Copying the Database Only – Refresh Database Instance...... 109 6.4 Copying the Database Only – Refresh Database Content...... 110

7 Follow-Up Activities...... 113 7.1 Performing Follow-Up Activities in the Source System...... 113 7.2 Performing Follow-Up Activities in the Target System...... 114 Installing the SAP License Key...... 114 SAP Solution Manager: Connection Between SLD and LMDB...... 115 Performing Follow-Up Activities for ABAP...... 115

8 Additional Information...... 126 8.1 R3load Procedures Using the Migration Monitor...... 126 About the Migration Monitor...... 127 Configuration...... 128 Assigning DDL Files to Packages...... 144 Defining Groups of Packages...... 145 Processing Split Tables...... 146 Starting the Migration Monitor...... 147 Using the “migmonCtrl” Add-On for the Export...... 153 Using the migmonCtrl Add-On of the Import Migration Monitor...... 154 Output Files...... 155 8.2 Analysis of the Export and Import Times...... 156 8.3 Table Comparison with Software Update Manager...... 157

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database Content PUBLIC 3 Restrictions...... 157 Modes of the Table Comparison Tool...... 157 Using the Table Comparison Tool...... 158 8.4 Using the Package Splitter...... 161 Configuration...... 161 Starting the Package Splitter...... 164 Output Files...... 165 Executing the STR Splitter and the WHERE Splitter...... 166 8.5 Troubleshooting for Migration to SAP HANA...... 166 8.6 Using PowerShell...... 168

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database 4 PUBLIC Content Document History

The following table provides an overview on the most important document changes.

 Note

Before you start reading, make sure you have the latest version of this system copy guide, which is available at https://support.sap.com/sltoolset System Provisioning Copy a System using Software Provisioning Manager System Copy Option of Software Provisioning Manager 1.0 SP .

Version Date Description

3.7 2021-06-21 Updated version for Software Provisioning Manager 1.0 SP32 (SL Toolset 1.0 SP32)

3.6 2021-02-15 Updated version for Software Provisioning Manager 1.0 SP31 (SL Toolset 1.0 SP31)

3.5 2020-10-05 Updated version for Software Provisioning Manager 1.0 SP30 (SL Toolset 1.0 SP30)

3.4 2020-06-08 Updated version for Software Provisioning Manager 1.0 SP29 (SL Toolset 1.0 SP29)

3.3 2020-01-20 Updated version for Software Provisioning Manager 1.0 SP28 (SL Toolset 1.0 SP28)

3.2 2019-09-16 Updated version for Software Provisioning Manager 1.0 SP27 (SL Toolset 1.0 SP27)

3.1 2019-05-27 Updated version for Software Provisioning Manager 1.0 SP26 (SL Toolset 1.0 SP26)

3.0 2019-01-21 Updated version for Software Provisioning Manager 1.0 SP25 (SL Toolset 1.0 SP25)

2.9 2018-09-17 Updated version for Software Provisioning Manager 1.0 SP24 (SL Toolset 1.0 SP24)

2.8 2018-05-07 Updated version for Software Provisioning Manager 1.0 SP23 (SL Toolset 1.0 SP23)

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database Document History PUBLIC 5 Version Date Description

2.7 2018-01-15 Updated version for Software Provisioning Manager 1.0 SP22 (SL Toolset 1.0 SP22)

● New Features: ○ Installer Log Files Improvements, documented in: New Features, Useful Informa­ tion about the Installer, Troubleshooting with the Installer ○ Secure ABAP message server connection, documented in: New Features, SAP System Parameters ○ Using SAPuptool for table splitting, documented in: New Features, Table Splitting, Preparing the Table Split ○ LOADTOOLS.SAR archive in Software Provisioning Manager enabled for NUC, documented in: New Features, Downloading and Extracting the Software Provision­ ing Manager Archive ○ Enabling IPv6, documented in: New Features, Prerequisites for Running the Instal­ ler ● New Features section restructured: As of SP22, a dedicated subsection for each new SP has been created. New features below SP22 remain in a common table. ● The Java SDT GUI - which was in the SP21 version still available in parallel to the SL Common GUI - has been deprecated with SP22. As of SP22, SL Common GUI is the only available installer GUI: ○ The following sections which were explicitely related to Java SDT GUI were com­ pletely removed from this documentation: Performing a Remote Installation Re­ mote Processing of the Installer ( Java SDT GUI only), Starting the Java SDT GUI Separately, Running the Installer in Accessibility Mode (general accessibility infor­ mation was moved to Useful Information About the Installer). ○ The Java SDT GUI-specific information was removed from the common installer sections: Running the Installer, Useful Information About the Installer, Interrupted Processing of the Installer, Troubleshooting with the Installer ● New section Using the Step State Editor (SAP Support Experts Only) was added to sec­ tion Additional Information About the Installer

2.6 2017-09-11 Updated version for Software Provisioning Manager 1.0 SP21 (SL Toolset 1.0 SP21)

● New Features: ○ Media Signature Check, documented in: New Features, Running the Installer, Pre­ paring the Media Required for Performing the Export . This feature implies that section Creating Kernel Archives from an Existing SAP System has been deleted from this documentation because the related option in the installer had to be removed. ○ Load tools are now available as LOADTOOLS.SAR in the Software Provisioning Manager archive, documented in: New Features, Downloading and Extracting the Software Provisioning Manager Archive, System Copy and Migration Optimization, Database Independent System Copy, R3load Procedures Using the Migration Moni­ tor ○ Simplified additional application server instance installation, documented in: New Features, Preparing the Installation Media, Downloading SAP Kernel Archives (Ar­ chive-Based Installation)

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database 6 PUBLIC Document History Version Date Description

2.5 2017-05-22 Updated version for Software Provisioning Manager 1.0 SP20 (SL Toolset 1.0 SP20)

● New Features: ○ New SAPUI5-based graphical user interface (GUI) “SL Common GUI”, docu­ mented in: Prerequisites for Running the Installer, Running the Installer, Useful In­ formation About the Installer ○ Refresh database content using a database backup enabled for SAP MaxDB , documented in: Copying the Database Only - Refresh Database Content .

2.4. 2017-02-06 Updated version for Software Provisioning Manager 1.0 SP19 (SL Toolset 1.0 SP19)

● New Features: Verification of the integrity of data units in Software Provisioning Manager, docu­ mented in: New Features, Downloading the Software Provisioning Manager Archive Using a dedicated kernel for the export, documented in: New Features, Using a Dedi­ cated Kernel for the Export , Downloading Dedicated Kernel Archives for the Export, Sys­ tem Copy Procedure Refreshing database content using a database backup, documented in: New Features, Copying the Database Only - Refresh Database Content . Option to restrict access to database export directory, documented in: New Features, System Copy Procedure

● Section Preparing the Media Required for Performing the Export [page 52] refac­ tored, created subsections Downloading and Extracting the Software Provisioning Manager 1.0 Archive [page 53], Downloading Dedicated Kernel Archives for the Ex­ port [page 54]

2.3 2016-10-07 Updated version for Software Provisioning Manager 1.0 SP18 (SL Toolset 1.0 SP18)

● New Features: Refreshing database content using a database backup, documented in: Copying the Database Only – Refresh Database Content [page 110] Using RMOSSWPM*.SAR instead of SWPM*.SAR for outdated OS versions not sup­

ported by SAP kernel 7.40 and higher, documented in: Introduction Constraints

2.2 2016-06-06 Updated version for Software Provisioning Manager 1.0 SP17 (SL Toolset 1.0 SP17):

● Archive-Based Installation (see New Features [page 12]) ● Export option description corrected in Running the Installer [page 78]

2.1 2016-02-15 Updated version for Software Provisioning Manager 1.0 SP10 (SL Toolset 1.0 SP16)

2.01 2015-10-12 Updated version for Software Provisioning Manager 1.0 SP09 (SL Toolset 1.0 SP15)

2.0 2015-10-12 Updated version for Software Provisioning Manager 1.0 SP09 (SL Toolset 1.0 SP15)

1.9 2015-09-14 Updated version for Software Provisioning Manager 1.0 SP09 (SL Toolset 1.0 SP14)

1.81 2015-04-29 Updated version for Software Provisioning Manager 1.0 SP08 (SL Toolset 1.0 SP13)

1.8 2015-04-27 Updated version for Software Provisioning Manager 1.0 SP08 (SL Toolset 1.0 SP13)

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database Document History PUBLIC 7 Version Date Description

1.7 2014-11-24 Updated version for Software Provisioning Manager 1.0 SP07 (SL Toolset 1.0 SP12)

1.6 2014-07-07 Updated version for Software Provisioning Manager 1.0 SP06 (SL Toolset 1.0 SP11)

1.5 2014-03-17 Updated version for Software Provisioning Manager 1.0 SP05 (SL Toolset 1.0 SP10 )

1.4 2014-03-05 Updated Version

1.3 2013-11-22 Updated version

1.2 2013-10-28 Updated version

1.1 2013-08-19 Updated version

1.0 2013-07-17 Initial version

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database 8 PUBLIC Document History 1 Homogeneous and Heterogeneous System Copy

This document describes how to perform a homogeneous or heterogeneous system copy of an SAP system based on the application server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 with source operating system Windows to SAP HANA database as target database, using Software Provisioning Manager 1.0 SP32 [page 10] (“installer” for short), which is part of SL Toolset 1.0 SP32.

 Note

Application Server ABAP based on SAP NetWeaver 7.10, 7.11, 7.20, 7.30, 7.40 SR1 are supported in mainstream maintenance only until the end of 2020. Extended maintenance will not be provided.

For more information, see SAP Note 2980160 .

You can download the last published version of the guide set for the last Software Provisioning Manager 1.0 SP30 for out-of-maintenance products (SWPM10RMSP30_.SAR) from SAP Note 2980160 . The guide set attached to SAP Note 2980160 covers only the SAP product versions which have reached end of maintenance.

The system copy procedures described in this guide consist of two phases:

1. Export of the source system's database content. 2. Installation of the target system using the source system's database content exported in the previous step. The target system installation consists of both the target database and target instance/application server installations.

 Note

This system copy guide describes only the export of the source system in detail. For the installation of the target system, you use the installation guide for the database and operating system platform of your target system. This procedure describes only the additional system copy-specific steps for the target system installation and refers for the remaining steps to the target system installation guide [page 21].

Using Software Provisioning Manager 1.0 you can use either database-specific methods or database- independent methods [page 24].

 Note

Before you start preparing for a system copy with Software Provisioning Manager 1.0, make yourself also familiar with the Database Migration Option (DMO) of Software Update Manager (SUM) and make a decision, which tool - either Software Provisioning Manager or DMO - would best serve your purpose.

For more information about DMO, see https://support.sap.com/sltoolset System Maintenance Database Migration Option with SUM and the blog https://blogs.sap.com/2017/11/22/ comparing-sap-migration-procedures-to-sap-hana-database .

For information about Software Provisioning Manager 1.0, see About Software Provisioning Manager 1.0 [page 10].

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database Homogeneous and Heterogeneous System Copy PUBLIC 9 For information about SAP system products and releases covered by this guide, see SAP Products Based on SAP NetWeaver 7.3 EHP1 to 7.52 Supported for System Copy Using Software Provisioning Manager 1.0 [page 11] .

For information about supported operating system and database platforms, see the Product Availability Matrix at https://support.sap.com/pam .

 Note

Not all SAP NetWeaver releases or SAP Business Suite applications that are available in Software Provisioning Manager 1.0 and are described in this guide might have been released already. To make sure that the system copy options you want to perform are already supported, see SAP Note 1680045 .

 Note

As an alternative to using Software Provisioning Manager, you can copy or refresh your system with a completely automated end-to-end framework available using SAP Landscape Management. For more information, see SAP Note 1709155 and https://help.sap.com/lama .

Related Information

About Software Provisioning Manager 1.0 [page 10] New Features [page 12] Naming Conventions [page 18] Constraints [page 19] Accessing the SAP Library [page 21]

1.1 About Software Provisioning Manager 1.0

Software Provisioning Manager 1.0 is the successor of the product- and release-specific delivery of provisioning tools, such as “SAPinst”. We strongly recommend that you always download the latest version of Software Provisioning Manager 1.0. Software Provisioning Manager 1.0 is part of the Software Logistics Toolset 1.0 (“SL Toolset” for short). This way, you automatically get the latest fixes and supported processes. For more information about Software Provisioning Manager as well as products and releases supported by it, see SAP Note 1680045 and http://scn.sap.com/docs/DOC-30236 .

“SAPinst” has been renamed to “Software Provisioning Manager” (“installer” for short) in this documentation, but the terms “SAPinst” and “sapinst” are still used in:

● The name of the technical framework of Software Provisioning Manager. For more information about the SAPinst Framework, see SAP Note 2393060 . ● Texts and screen elements in the Software Provisioning Manager GUI (SL Common GUI) ● Names of executables, for example sapinst.exe ● Names of command line parameters, for example SAPINST_HTTPS_PORT

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database 10 PUBLIC Homogeneous and Heterogeneous System Copy In the following, we generally refer to Software Provisioning Manager 1.0 as the “installer”. We only use the term “Software Provisioning Manager 1.0” if this is required for technical reasons.

Related Information

Preparing the Media Required for Performing the Export [page 52]

1.2 SAP Products Based on SAP NetWeaver 7.3 EHP1 to 7.52 Supported for System Copy Using Software Provisioning Manager 1.0

Here you can find the list of SAP products based on SAP NetWeaver 7.3 EHP1 to 7.52 that are supported for system copy using Software Provisioning Manager 1.0, on the specific operating system and database combinations described in this guide.

SAP Product Based on the following SAP NetWeaver Release

SAP S/4HANA 1709 SAP NetWeaver AS for ABAP 7.52 ● SAP S/4HANA Server ● AS ABAP for SAP S/4HANA Frontend

foundation 1709 on SAP NetWeaver Application Server for SAP NetWeaver AS for ABAP 7.52 ABAP 7.52, version for SAP HANA

SAP NetWeaver AS for ABAP 7.52 SAP NetWeaver AS for ABAP 7.52

SAP S/4HANA 1610 SAP NetWeaver AS for ABAP 7.51 innovation package

● SAP S/4HANA Server ● AS ABAP for SAP S/4HANA Frontend

SAP NetWeaver AS for ABAP 7.51 innovation package SAP NetWeaver AS for ABAP 7.51 innovation package

SAP S/4HANA on-premise edition 1511 Server Support Re­ SAP NetWeaver 7.5 lease 1

SAP S/4HANA on-premise edition 1511 Support Release 1 SAP NetWeaver 7.5 ● SAP S/4HANA Server ● AS ABAP for SAP S/4HANA Frontend

System Copy for SAP Systems Based on the Application Server ABAP of SAP NetWeaver 7.3 EHP1 to 7.52 on Windows : SAP HANA Database Homogeneous and Heterogeneous System Copy PUBLIC 11 SAP Product Based on the following SAP NetWeaver Release

SAP Business Suite 7i 2016: SAP NetWeaver 7.5

● EHP4 for SAP CRM 7.0 ABAP SAP NetWeaver 7.4 Support Release 2 ● EHP8 for SAP ERP 6.0 ABAP SAP NetWeaver 7.3 EHP1 ● EHP8 for SAP ERP 6.0 ABAP including SAP S/4HANA Finance 1605 SP03 ● EHP4 for SAP SRM 7.0 ABAP ● EHP4 for SAP SCM 7.0 ABAP

SAP BW/4HANA 1.0 SAP NetWeaver 7.5

SAP NetWeaver 7.4 Support Release 2

SAP NetWeaver 7.3 EHP1

SAP Business Suite 7i 2013 Support Release 2: SAP NetWeaver 7.5

● EHP3 for SAP CRM 7.0 ABAP Support Release 2 SAP NetWeaver 7.4 Support Release 2 ● EHP7 for SAP ERP 6.0 ABAP Support Release 2 SAP NetWeaver 7.3 EHP1 ● EHP7 for SAP ERP 6.0 ABAP including SAP Simple Fi­ nance 1.0 / 1503 ● EHP3 for SAP SRM 7.0 ABAP Support Release 2 ● EHP3 for SAP SCM 7.0 ABAP Support Release 2

SAP NetWeaver 7.5 SAP NetWeaver 7.5

SAP Solution Manager 7.2 Support Release 2 SAP NetWeaver 7.4 Support Release 2

AS ABAP 7.4, OEM version 1.0 SAP NetWeaver 7.4 Support Release 2

SAP NetWeaver 7.4 Support Release 2 SAP NetWeaver 7.4

SAP Business Suite, powered by SAP HANA: SAP NetWeaver 7.3 EHP1

● EHP2 for SAP CRM 7.0 On SAP HANA ● EHP6 for SAP ERP 6.0 On SAP HANA ● EHP2 for SAP SCM 7.0 On SAP HANA

1.3 New Features

This section provides an overview of the new features in Software Provisioning Manager 1.0 (the“ installer” for short).

Make sure that you also read the Release Notes for your SAP product at https://help.sap.com