Data Migration To SAP S/4HANA From File (BH5)
Data Migration To SAP S/4HANA From File (BH5)
Table of Contents
1 Purpose 3
2 Prerequisites 4
2.1 System Access 4
2.2 Roles 4
2.2.1 Technical Roles 4
2.2.2 Business Roles 5
4 Business Conditions 7
5 Preliminary Steps 8
5.1 Add Business Roles to the Data Migration User 8
6 Overview Table 9
7 Test Procedures 10
7.1 Start the SAP S/4HANA Migration Cockpit 10
7.2 Create Migration Project 11
7.3 Open Migration Object 12
7.4 Download Migration Template 13
7.5 Prepare Test Data 15
7.6 Upload Migration Template and Verify Data 17
7.7 Transfer Migration Template Data 20
7.8 Check Data Migration Status 23
7.9 Validate Imported Data using SAP S/4HANA Business Apps 26
8 Appendix 27
8.1 General Topics and Limitations 27
8.1.1 When to create a new project? 27
8.1.2 Dependent Migration Objects 27
8.1.3 Migration Template File Size 27
8.1.4 Convert Values 30
8.1.5 Unit of Measure Conversion 31
8.1.6 ALE/IDoc Distribution After Data Migration 32
8.2 Financials 32
8.2.1 Document Types for Data Migration 32
8.2.2 Document Date 32
8.2.3 Define Settings for Legacy Data Transfer (FINS_MIG_CTRL_1) 32
8.2.4 Value Date 33
8.2.5 Transfer Booking Account 34
8.2.6 Migrate Historical Balances 34
8.2.7 Fixed Assets: Available Fields per Asset Class 34
8.2.8 Migrate Financial Plan Data 35
8.3 Logistics 35
8.3.1 Advanced Variant Configuration 35
8.3.2 How to Handle Cross-Plant Material Status and Plant-Specific Material Status 36
SAP S/4HANA Cloud customers can take advantage of a template-based migration approach built into SAP S/4HANA Cloud. SAP S/4HANA Cloud supports a limited set of data migration objects,
with support for additional objects planned for later inclusion.
Note SAP S/4HANA refers to the default on-premise suite on the SAP HANA platform, SAP S/4HANA Cloud refers to our cloud suite on SAP Cloud Platform.
This document provides a detailed procedure for testing this scope item after solution activation, reflecting the predefined scope of the solution. Each process step, report, or item is covered in its
own section, providing the system interactions (test steps) in a table view. Steps that are not in scope of the process but are needed for testing are marked accordingly. Project-specific steps must be
added.
Data protection legislation may require that personal data is deleted once the data has served its originally defined purpose and is also no longer subject to additional legal data retention
requirements. If data protection legislation is applicable in your case, then migrating personal data which should have been deleted could be interpreted as the processing of personal data without any
legally justified purpose.
Migration objects are built for initial migration of your data to your SAP S/4HANA or SAP S/4HANA Cloud system. This means that you can create data with a migration object, but you can't
change or update existing data with it.
For some migration objects there are "Extend" migration objects available, that you can use to extend existing data to other organizational levels. If you want to change or update existing data, use
the respective maintenance apps (available for all business objects) or mass processing apps (these are only available for selected business objects). Please note that such apps fall outwith the
responsibility of data migration development.
This section summarizes all the prerequisites for conducting the test in terms of systems, users, master data, organizational data, other test data and business conditions.
System Details
System Accessible via SAP Fiori launchpad. Your system administrator provides you with the URL to access the various apps assigned to your role.
2.2 Roles
ID Name
SAP_BR_CONFIG_EXPERT_DATA_MI Configuration Expert - Data Migration
G
Key Mapping
Use the following standard role to access the Search Key Mapping (MDG_BS_WD_ANALYSE_IDM) and Manage Key Mapping (MDG_BS_WD_ID_MATCH_SERVICE) apps. You can use these
apps to check the key mappings that were entered in the Unified Key Mapping Service (UKMS) during the data load. Currently, UKMS supports the following migration objects:
● Customer
● Supplier
● FI-CA Contract partner
● FI-CA Contract account
ID Name
SAP_BR_ADMINISTRATOR_DATA_RE Administrator - Data Replication
PL
You can find an extensive table listing all migration objects available for SAP S/4HANA Cloud, together with their respective migration object documentation, in the SAP S/4HANA Cloud product
assistance.
The data migration object documentation was moved to the SAP Help Portal with SAP S/4HANA Cloud 1905. If you encounter issues opening the documentation from the Migration Cockpit, refer
to SAP Note 2667053 and SAP Knowledge Base Article 2793425.
Find information on dependent migration objects in the Dependent Migration Objects [page ] 25 section. To create objects of a configuration model in SAP S/4HANA Cloud, see Advanced Variant
Configuration [page ] 32 section.
Before this scope item can be tested, the following business conditions to be met:
Business Condition
Content is activated.
Org. structures and additional settings are made.
Use
In these steps, you set up the necessary user settings for migrating your data.
This scope item consists of several process steps provided in the table below.
This section describes test procedures for each process step that belongs to this scope item.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Use
This section describes how you start the SAP S/4HANA migration cockpit.
Procedure
Test Step # Test Step Name Instruction Expected Result Pass / Fail / Comment
1 Start SAP Fiori launchpad Log on to your SAP S/4HANA Cloud system. The Home page appears.
2 Open Migration Cockpit Choose the Migrate Your Data - Migration Cockpit tile.
Note For more information on the SAP S/4HANA Cloud Migration Cockpit, see the product assistance on the SAP Help Portal.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Use
This section describes how you create a migration project in the migration cockpit.
Procedure
Test Step # Test Step Name Instruction Expected Result Pass / Fail / Comment
1. Create Migration Project Choose Create on the Migrate Your Data home screen. The Create Migration Project dialog window
appears.
2. Add Name Make the required entry in Create Migration Project dialog
window:
● Name: Name of your migration project.
● Transfer Options: Transfer Data from File.
After making the required entries, choose Create.
Data Migration to SAP S/4HANA from File (BH5) PUBLIC
Purpose Error: Reference source not found 11
Note The system automatically generates a mass transfer ID that is used for your project. If required, you can enter an existing mass transfer ID. For example, if you want to use the same project
settings in a different system, you must enter a mass transfer ID that is unique for the participating systems. In this way, you can manually transport settings from a quality system to a production
system. For more information, see the application help for the migration cockpit. You can also generate a different mass transfer ID by choosing Generate New Mass Transfer ID. The system
generates the next available mass transfer ID.
After an SAP S/4HANA Cloud release upgrade, any new migration objects won’t get added to existing migration projects. To be able to use new migration objects, you need to create a new
migration project. If there are still migration objects missing after creating a new migration project, please see SAP Note 2538700 for further information.
Result
You have created a customer migration project. The project including all active migration objects is copied from the SAP standard project and is displayed on the screen. All migration objects are in
migration status Not Started.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Use
This section describes how you open a migration object in the migration project. Find information on dependent migration objects in the Dependent Migration Objects [page ] 25 section.
Result
The migration object has been copied from the SAP standard migration object into a customer migration object and the Migration Object Details screen appears.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
This section describes how you download a migration template to facilitate the data transfer from Microsoft Excel spreadsheet templates to SAP S/4HANA.
Procedure
Test Step # Test Step Name Instruction Expected Result Pass / Fail /
Comment
1. Download Choose Download Template on the Source Files tab of the Migration The migration template is downloaded and saved on
Template Object overview. your local PC.
The template will automatically be downloaded.
Note Depending on your internet browser and its version, a download dialog of the browser might appear. If it appears, choose Save to store the migration template on your local PC. If you are not
prompted to save the file, the migration template will automatically be stored in your default download folder.
Result
The Microsoft Excel XML Spreadsheet 2003 template is downloaded and saved on your local PC.
Note Depending on your internet browser, you might have to add the file extension .xml to your downloaded file.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Use
This section describes how you enter test data for migration to SAP S/4HANA into the migration template.
Prerequisite
In the Microsoft Excel file navigate to File > Options > Advanced . Under When calculating this workbook:, ensure that Set precision as displayed is selected.
Important Information
Caution The workbook and its sheets are protected. Never change the structure and don’t make any changes on the format of the migration template: Don’t delete, rename, or reorder any sheet in the
XML file, don’t change the cell formatting, don’t use formulas, and don’t hide, remove, or reorder any column in the XML file. Moreover, don't change data by Find and Replace function. If you
change data by Find and Replace you may also accidentally change the field names and corrupt the XML structure. A modified migration template will cause errors when trying to load into the
migration cockpit or will cause errors during the data migration process.
Caution When copying data into the migration template, always use the Paste Option: Values (V). Avoid to paste data including formatting and formulas into the template as this might lead to a
corrupted XML file.
● In migration cockpit there is value mapping available for most fields. This means that you can enter your source data value and later map it in the migration cockpit to a valid SAP S/4HANA
value.
● Some of the fields in the Microsoft Excel XML template are hidden as they are not used very often or serve as additional information only. To make the respective columns or rows visible,
proceed as follows: Open the migration template in Microsoft Excel. Highlight the columns or rows you want to unhide. Right-click on the column or row number and choose Unhide. The
columns or rows will no longer be hidden. For more information on field level, for example, increase line 8 of the migration template to make the additional field description visible.
● Find Sample Migration Templates in the SAP Help Portal.
● Find a Release Comparison of Migration Object Templates in the SAP Help Portal.
● Find information on the maximum file size of the migration template in the Migration Template File Size [page ] 25 section.
● The first sheet of the template is the Introduction, the second sheet is the Field List. The header section of the Field List contains the link and the path to the SAP Portal, where additional
information about the usage of the migration template is available. Also see Additional Information About Migration Templates in the SAP Help Portal.
6. Close the File Choose Close in the Microsoft Excel application. The Microsoft Excel
application is closed.
Result
Test data is entered into the Microsoft Excel XML Spreadsheet 2003 template.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Use
This section describes how you upload the migration template and verify its data.
Procedure
The migration template is uploaded, entries are consistent, and the file does not contain any empty records.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Use
This section describes how you import the data from your migration template into the SAP S/4HANA target system.
Procedure
Result
The data is transferred from the Microsoft Excel XML Spreadsheet 2003 template to the SAP S/4HANA system.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Use
This section describes how you use the Data Migration Status (F3280) app to check the status of your migration projects and objects.
Prerequisite
You've started migrating data to your SAP S/4HANA system for at least one migration object.
Procedure
Result
You are up-to-date with the status of your migration projects and objects, and you can make the necessary changes in your migration projects.
Further Information
Make sure you read the SAP S/4HANA Cloud product assistance. There, you can find detailed information on the features of the Data Migration Status app, for example how to use the audit
function, how to set up notifications, and lots more.
You can find frequently asked questions relating to the Data Migration Status app in the SAP Note 2615787.
Test Administration
Test Case ID <X.XX> Tester Name Testing Date Enter a test date.
Business Role(s)
Responsibility <State the Service Provider, Customer or Joint Service Provider and Customer> Duration Enter a duration.
Use
This section describes how you validate completeness and correctness of the migrated data in the target SAP S/4HANA system using corresponding business functions.
Procedure
Result
All data from the Microsoft Excel XML Spreadsheet 2003 template can be found in the corresponding SAP S/4HANA business functions.
Use
A migration object contains mapping information for the relevant fields, as well as any rules used to convert values that are migrated from source fields to target fields. However, when migrating
your data, you might be prompted to convert values after the Validation step. This means that some data may need to be mapped before it can be transferred to SAP S/4HANA. In the Convert Values
step of the migration process, you maintain and confirm the mapping between the source file data values and the target system field values. This section explains how to perform these mappings
before you can proceed with the next step of the migration process.
In the migration process, after the Validation step, there are one or more tasks displayed in the Notifications from Validation pane. These tasks state that some mapping values need to be specified
and confirmed in the next step, Convert Values.
Procedure
1. In the Worklist pane of the Convert Values screen, choose the name of one of the open tasks. A red indicator in the Status column shows open tasks. There are different task types:
You have processed all open tasks in the worklist and all tasks show green indicators. Continue with the next step, Simulate Import, by choosing Next.
8.2 Financials
Before you go live with SAP S/4HANA, you may want to do an initial transfer of open balances and open items from a legacy system to your SAP S/4HANA system. You transfer such data using
the SAP S/4HANA Migration Cockpit.
To enable the cockpit to transfer your legacy financial transactional data properly, use the Define Settings for Legacy Data Transfer (FINS_MIG_CTRL_1) app to maintain the migration key date
on which you want to complete all preparatory activities for each company code before the actual data transfer.
The migration key date must allow for you to complete the following actions:
● Complete all postings available up to this date, in full, in the source system
● Reconcile and close the journals in the source system for the period
● Extract source data and enter it into the migration templates
● Clean and convert data as needed
● Validate the imported data against your legacy system
The date chosen is usually the end of a period (month, quarter, year) since this will fit in with the normal reconciliation cycle.
Please note that the migration key date is also used as the posting date when the legacy data is actually transferred to your SAP S/4HANA system.
Set the Legacy Data Transfer Status for each migration key date provided:
● In Preparation: migration key date is still unclear (migration of transactional data is not possible)
● Ongoing: required for the initial data transfer (migration of transactional data is possible)
● Completed: after successful completion of the initial data transfer (migration of transactional data is not possible)
For the following financial objects, the posting date will be automatically derived by the predefined migration key date for the related company code which is maintained via the aforementioned app:
● FI - Accounts payable open item
● FI - Accounts receivable open item
● FI - G/L account balance and open/line item
Data Migration to SAP S/4HANA from File (BH5) PUBLIC
Purpose Error: Reference source not found 29
● Material inventory balance
● FI - Historical balance (migration key date is required to allow the migration of historical balances only up until this initial transfer date)
Exception
● For the financial object FI-CA Open item, a field for posting date is available on the migration template. The posting date is marked as mandatory on the template and must be provided for each
data record. The migration key date has no additional effect on the provided posting date.
● For the financial object Fixed asset - Master data, use the Make Company Code Settings - Asset Accounting-Specific (FAA_CMP) app to specify the data transfer date, document type, and the
legacy data transfer status.
See also General Ledger Accounting > Current Settings in the SAP S/4HANA Cloud product assistance for further information on the configuration of the Migration Key Date before migrating
transactional data.
Related Links
8.3 Logistics
8.3.2 How to Handle Cross-Plant Material Status and Plant-Specific Material Status
If you set the material status during initial load of the materials, consider that, depending on which status you want to assign, follow-on migration objects can't be posted as the posting may lead to an
error depending on the settings of the status.
Example
In SAP standard delivery, the material status '01' is configured in such a way that, during posting of inventory, you will receive an error message. Consider that by assigning the status, the use of the
material can be restricted. Depending on the status, the system issues either a warning message or an error message for follow-on postings. Therefore, SAP recommends that you consider this field
carefully so that you will not run into follow-on problems during the data migration process. You can easily set the content of these fields after the initial data migration using the Mass Maintenance
app.
The Master Data Specialist - Product Data (SAP_BR_PRODMASTER_SPECIALIST) business role provides you with several tiles to manage and start the Mass Maintenance app. The app can be
launched from the SAP Fiori launchpad. You can import a file with changed data (supported formats are Comma-Separated Values (CSV) and Office Open XML spreadsheet (XLSX). You have to
provide the following details:
● Which master data objects are updated.
● Which tables and fields to update and the respective values.
For further information, refer to the online documentation of the Mass Maintenance app.