Sub topic 12
Migration paths from SAP ECC
This chapter assumes you know what SAP ECC is and how the three editions differ in tenancy, operations, and extensibility. It covers the three routes from an ECC system to S/4HANA, which editions each route can target, and the technical and organizational consequences of each.
The three paths
SAP describes three ways to move from ECC to S/4HANA:
- New implementation (greenfield). You install a fresh S/4HANA system, configure it, and migrate selected data into it. Nothing carries over from the ECC system except what you deliberately load.
- System conversion (brownfield). You convert the existing ECC system in place. Configuration, custom code, and data stay, and the system is technically transformed into S/4HANA.
- Selective data transition. You build a new S/4HANA system, or reshape an existing one, and move only chosen data, such as certain company codes, a time slice of history, or one business unit. SAP and partners deliver this as a project service. It is not a single product.
All three paths end in S/4HANA, but they differ in effort, risk, and how much of your past you keep.
Which paths each edition supports
The edition limits your choices.
| Path | Public Edition | Private Edition | On-premise |
|---|---|---|---|
| New implementation | Yes | Yes | Yes |
| System conversion | No | Yes | Yes |
| Selective data transition | Limited, through a new-implementation style load | Yes | Yes |
Public Edition is multi-tenant and standardized. You cannot convert an ECC system into a shared tenant, because the tenant is delivered pre-configured by SAP and you cannot carry over ECC custom code or low-level configuration. Moving to Public Edition is therefore a new implementation, with data loaded through supported migration tools.
Private Edition and on-premise are single-tenant or customer-run systems with a full ABAP stack. They can take a converted ECC system.
New implementation (greenfield)
In a greenfield project you start from SAP's standard processes and decide what to bring over.
What you gain
- A clean starting point with no accumulated custom code or obsolete configuration.
- A chance to redesign processes around standard S/4HANA functions. This pairs with the fit-to-standard approach covered elsewhere in this tutorial.
- A natural fit with the clean core principle, since extensions are built with released interfaces from the start.
What it costs
- Process design, configuration, testing, and training are done mostly from scratch.
- You must decide which master data, open items, and history to migrate. Many projects move master data and open items, and leave history in an archive or in the ECC system, which stays read-only.
- Business users face the largest change.
Data migration tooling. SAP provides the SAP S/4HANA Migration Cockpit. It offers migration objects, such as business partners, materials, or open purchase orders, with templates and mapping. You can load from staging tables or, in some setups, transfer directly from an SAP source system. In Public Edition, the migration cockpit is the standard route.
System conversion (brownfield)
A system conversion changes the existing system in place, in three phases:
- Preparation. Run readiness and simplification checks, clean up data, and analyze custom code.
- Technical conversion. Use Software Update Manager (SUM), usually with the Database Migration Option (DMO), to update the software and migrate the database to SAP HANA in one run. A Maintenance Planner step defines the target stack beforehand.
- Follow-up. Adjust configuration, fix custom code, run data conversions, and test.
What you keep
- Existing configuration, organizational structure, and full transaction history.
- Custom code, after you adapt it.
- Most existing business processes, which reduces change for users.
Mandatory changes you cannot skip
S/4HANA replaces some ECC data models, and a conversion applies them to your data. Common examples:
- Business Partner. Customers and vendors are unified under the business partner model. Customer/Vendor Integration (CVI) must be set up and master data synchronized before conversion.
- Universal Journal. Financial and controlling postings are stored in one line-item table, ACDOCA. Classic reconciliation between FI and CO changes.
- Material number length. The material number field can be 40 characters, up from 18. Custom code that assumes 18 characters can break.
- Simplified data structures. Some tables are replaced or turned into compatibility views, and some transactions are removed.
SAP lists these in simplification items. Each item states what changed, whether it affects you, and what to do. You review them as part of the conversion project.
Custom code. Code that reads or writes changed tables, or calls removed functions, needs adaptation. The ABAP Test Cockpit (ATC) with S/4HANA readiness checks finds these cases. Unused custom code is a good candidate for deletion before conversion, which shrinks the work.
" Classic custom code that assumes an 18-character material number.
" It compiles on ECC. After conversion with extended material numbers
" enabled, values longer than 18 characters are truncated.
DATA lv_short TYPE c LENGTH 18.
SELECT SINGLE matnr
FROM mara
INTO @DATA(lv_matnr).
lv_short = lv_matnr.The snippet shows why the code check matters. An assignment into a fixed-length field silently truncates a longer value, so the error appears at run time, not as a syntax error.
Selective data transition
Selective data transition is the least standardized path. It fits cases like these:
- A group wants to move only some company codes to S/4HANA and leave others on ECC.
- Several ECC systems are to be merged into one S/4HANA system.
- A customer wants the process continuity of a conversion but not the full data history. One approach converts a copy of the system, empties it of data (a "shell"), and then loads selected data.
- A company is carving out a business unit.
Because the work is project-specific, it relies on partner or SAP service offerings and custom data selection rules. Expect more design work around data consistency than in a conversion. For example, moving open items without their related history requires you to keep balances correct.
Comparing the paths
| Aspect | New implementation | System conversion | Selective data transition |
|---|---|---|---|
| Process change | High | Low to medium | Varies |
| Custom code | Rebuild with clean core rules | Adapt existing code | Varies |
| Data history | Chosen subset | Full | Chosen subset |
| Downtime pattern | Cutover from old to new | One technical downtime window | Depends on design |
| Typical risk | Change management and scope | Hidden technical debt | Data consistency |
| Editions | All | Private and on-premise | Private and on-premise mainly |
Choosing a path in practice
Base the choice on a few questions:
- Is Public Edition the target? If yes, the path is new implementation.
- How much do your processes differ from standard? Heavy customization that no longer serves the business points toward greenfield. Well-fitting processes that the business wants to keep point toward conversion.
- How much custom code do you have, and how much is used? Large amounts of used code raise conversion effort, but also raise greenfield rebuild effort.
- Do you need full history in the live system? If so, conversion is simpler.
- What is the deadline? Mainstream maintenance for ECC ends on a date SAP has published, so check SAP's current announcements. A schedule that cannot allow a full redesign can favor conversion.
Many companies use a hybrid. They convert the core ERP to get off ECC on time, then clean up with new extensions later.
Common errors
- Starting conversion without cleaning master data. Inconsistent customers and vendors fail CVI synchronization and stall the project.
- Treating unused custom code as in scope. Measure usage first and delete what nobody calls.
- Assuming conversion is only technical. Users meet new apps, changed postings, and removed transactions, so training and testing remain large.
- Choosing greenfield and then rebuilding every old customization. This repeats the ECC situation in a new system.
- Planning Public Edition as a conversion. Public Edition does not support it.
Exercise
A manufacturer runs a heavily customized ECC system with 15 years of history and wants Private Edition with minimal change for users. Which path fits best, and what is the first technical risk to check?
Show answer
System conversion fits best, because Private Edition supports it and it keeps processes, configuration, and history. The first risk to check is custom code and data that conflict with simplification items, for example the Business Partner (CVI) setup and code that assumes an 18-character material number. Run the readiness and ATC checks to find them.
Exercise
Why can a company not convert its ECC system directly into S/4HANA Cloud Public Edition?
Show answer
Public Edition is a multi-tenant, SAP-operated service with standardized configuration, and customers cannot bring over ECC custom code or low-level configuration. The only route is a new implementation, with data loaded through the migration cockpit.