Sub topic 9
Transferring Data Directly from an SAP System
This chapter assumes you know what a migration project is, how migration objects work, and the difference between file and staging table transfer. It covers the third approach, direct transfer, where the cockpit reads data from another SAP system and no files are involved.
What direct transfer is
With direct transfer, the migration cockpit connects to a source SAP system over an RFC connection and reads the data itself. The data goes straight from the source system's tables into the migration object's structures in the target S/4HANA system. You don't fill templates and you don't load a staging table.
This suits cases where the source is already an SAP system, such as an SAP ERP system you are consolidating into S/4HANA. The data is already structured, so the cockpit can read it directly.
Prerequisites
- A migration project created with the direct transfer approach. The approach is fixed when you create the project, so you can't switch an existing file-based project to it.
- An RFC destination from the target system to the source system.
- A user in the source system with authorization to read the data of the selected objects.
- Migration objects that are available for direct transfer. Not every object supports it, so check the object list in your project.
How the process runs
The steps match the other approaches. The difference is where the data comes from.
- Create the project and select the direct transfer approach.
- Enter the RFC connection to the source system.
- Select the migration objects and, where offered, selection criteria such as company code.
- Start the transfer of data for each object. The cockpit reads and stores the records for processing.
- Run validation, adjust value mappings, simulate, and migrate, as in the other approaches.
Limiting the data
Reading everything from the source system is rarely what you want. Selection criteria let you restrict the data, for example to one company code or to open items only. Which criteria are available depends on the migration object.
Because direct transfer reads from the source, data errors surface as validation or simulation messages rather than as file-format errors. You correct them in one of two ways:
- Fix the data in the source system and read it again.
- Use value mapping in the cockpit to convert values, for example to translate old plant codes to new ones.
Comparing the approaches
| Aspect | File upload | Staging tables | Direct transfer |
|---|---|---|---|
| Source | Any system, via templates | Any system, via database tables | SAP system only |
| Data preparation | Fill templates | Fill staging tables | Select data in source |
| Connection needed | No | Database access | RFC connection |
| Typical volume | Small to medium | Large | Medium to large |
Common errors
- RFC connection fails. Check the destination definition and the network path. Also check that the source user has the needed authorizations.
- Object missing from the list. The object is not offered for direct transfer in your release. Use a file or staging approach for that object.
- Unexpected record counts. Review the selection criteria. A criterion set too narrowly drops records without any error.
- Stale data. The cockpit holds what it read at transfer time. If the source changes before migration, read the data again.
Exercise
A colleague wants to migrate customer data from a non-SAP legacy system using direct transfer. Why won't this work, and which approach should they use instead?
Show answer
Direct transfer reads data over an RFC connection from an SAP system, so it can't read a non-SAP legacy system. They should use file upload with templates, or staging tables if the volume is large.