Sub topic 10
Brownfield: converting the existing system
A brownfield transition, also called a system conversion, turns your existing SAP ECC system into an SAP S/4HANA system in place. Your configuration, custom code, master data, and transactional data stay in the same system. This chapter covers the technical sequence, the tools, the problems that appear most often, and when the approach fits.
Prerequisites assumed
You should know the basics of SAP system landscapes (development, quality, production), what custom ABAP code is, and the difference between master data and transactional data. The chapter builds on the earlier chapters about simplification items and custom code analysis, so only a short recap appears here.
What a system conversion does
A conversion is a one-system change, not a copy to a new system. It does three things:
- It converts the database to SAP HANA, if the system is not already running on it.
- It upgrades the application software to S/4HANA.
- It migrates data to the new S/4HANA data structures. Examples are the Universal Journal in finance, the Business Partner model for customers and vendors, and the new material number length.
The system ID, client structure, organizational structure, and most configuration remain. Users find the same company codes, plants, and custom reports (once adapted). That continuity is the main benefit of the approach. It is also the main risk, because old design decisions and old data quality problems come with you.
Tools in the conversion
Three tools do most of the work.
| Tool | Purpose |
|---|---|
| Maintenance Planner | Checks that add-ons and business functions are supported on the target release. It creates the stack file that the other tools use. |
| Software Update Manager (SUM) with Database Migration Option (DMO) | Performs the upgrade and, optionally, the database migration to SAP HANA in one run. |
| SAP Readiness Check and simplification item check | Report on the simplification items, add-on compatibility, and custom code that affect your system. |
The ABAP Test Cockpit (ATC) with the S/4HANA readiness checks finds custom code that breaks on the new release. The Custom Code Migration app can then help adapt it.
The overall sequence
The phases below run in order. Each phase has an exit condition that must be met before the next one starts.
1. Readiness analysis and scoping
Run SAP Readiness Check and the simplification item check against a copy or the live system. The output tells you which simplification items apply, which add-ons lack support, and how many custom objects need changes. This result sets the size of the project. If the findings show that too many processes must change, this is also the point where you may decide that brownfield is the wrong approach.
2. Preparation in ECC
Work that can happen before the conversion should happen before it. Typical tasks:
- Fix findings from the custom code checks, removing unused code first.
- Clean up master data, such as customers and vendors that will become business partners.
- Archive old data to reduce the size of the database and the downtime. Archiving rules must still meet legal retention requirements.
- Reconcile finance data. Open reconciliation differences cause conversion errors later.
- Apply the required support packages and notes.
3. Sandbox conversion
Convert a copy of production first. The sandbox run is a rehearsal. It shows how long the conversion takes, which errors occur, and which data issues surface. Teams commonly run it more than once. Do not skip it: it is the cheapest place to find problems.
4. Development and quality conversion
Convert the development system, then adapt custom code and configuration there. Changes travel to the quality system by transport. Quality then holds the same conversion path as production will, and it is where integration, regression, and user acceptance tests take place. Because the development system is converted early, a freeze on changes in ECC is needed, or a dual-track landscape (see below).
5. Production cutover
The production run repeats the steps proven in earlier runs. The technical downtime window is the main schedule risk. SUM offers downtime-optimized variants that move part of the work to uptime, with a trade-off in complexity.
Dual-track landscapes
Development in the ECC system freezes when the development system is converted. Business still needs fixes during a project of many months. Teams handle this by keeping a parallel ECC development and quality system (a "maintenance track") while the conversion track proceeds. Each fix must then be applied in both tracks. This costs extra effort and can lead to drift if not controlled.
Data and functional changes you must handle
Some conversion steps need functional decisions, not just technical work.
- Business Partner: Customer and vendor master records are synchronized to business partners (Customer-Vendor Integration). Records with data errors, duplicates, or missing links block the conversion.
- Finance: The classic general ledger and the tables for totals and line items are replaced by the Universal Journal (table ACDOCA). The conversion migrates existing balances and line items. Account types and the use of Asset Accounting need review.
- Material number: The field length is extended to 40 characters. Custom code and interfaces with fixed field lengths may break.
- Inventory data model: Material documents are simplified, and aggregate tables are removed.
- Credit management, output management, and others: Replaced by new components, with changes in configuration.
Each of these is a simplification item. The readiness reports list them, and each needs an owner who decides how the business processes work afterward.
Custom code in a conversion
All custom code stays in the system and runs on the new release. The ATC check finds code that uses removed tables, changed data structures, or obsolete function modules. Adaptation covers two groups:
- Mandatory changes, where the code does not compile or give correct results.
- Performance changes, where code that worked on the old database runs slowly on SAP HANA. SELECT statements inside loops are a typical example.
Deleting unused custom code before conversion reduces both groups. Usage data (from the Usage and Procedure Logging or Scenario Analyzer) shows which objects have been run in the past year.
" Before: reads a table that no longer holds data in S/4HANA
SELECT SINGLE * FROM bsid INTO ls_bsid
WHERE bukrs = lv_bukrs AND belnr = lv_belnr.
" After: use the compatibility view or the new table
SELECT SINGLE * FROM acdoca INTO ls_acdoca
WHERE rbukrs = lv_bukrs AND belnr = lv_belnr.The example shows the direction of the change. Many old tables remain readable through compatibility views, but writing to them is not possible. Your adaptation should move to the new structures where the logic depends on them.
Common errors and gotchas
- Underestimating data cleanup. Business partner and finance checks fail late if data issues are not found in the sandbox run.
- Skipping the sandbox. Teams that go straight to development find timing and data problems at the end of the project.
- Unsupported add-ons. A third-party add-on without S/4HANA support can block the conversion. Check this first in Maintenance Planner.
- Treating conversion as a technical upgrade only. Process owners must be involved. Some processes change visibly.
- Carrying over unused custom code. It adds effort and risk. Remove it.
- Expecting a clean core by default. The conversion preserves old modifications. Clean-core goals need explicit work afterward.
- Ignoring the one-way nature. Once production is converted, going back means restoring a backup taken before cutover. Plan that backup and the decision point for it.
When brownfield fits
Brownfield fits when:
- The current processes are mostly still right for the business.
- Management wants to keep the full history without a complex data load.
- The custom code and add-ons are manageable after cleanup.
- The organization wants to reuse existing configuration and avoid a full redesign.
It fits less well when the system has accumulated years of poor design, when a major restructuring of the company is planned, or when the business wants to adopt standard processes broadly. Those cases lean toward greenfield or selective data transition, which later chapters compare.
Summary of trade-offs
| Aspect | Brownfield tendency |
|---|---|
| Scope of change | Technical and mandatory functional changes |
| Historical data | Kept in full unless archived |
| Custom code | Kept and adapted |
| Downtime | Dependent on database size and the chosen SUM variant |
| Process redesign | Limited, unless added deliberately |
| Risk | Concentrated in data quality, add-ons, and the cutover window |
Exercise
Your readiness analysis shows that a third-party add-on has no S/4HANA-compatible version, and the vendor has no plan for one. Name two reasons this affects the brownfield decision, and one alternative path.
Show answer
First, Maintenance Planner will not release a stack containing an unsupported add-on, so the conversion cannot start until the add-on is removed or replaced. Second, removing it may change business processes and require new development or a new product, which enlarges the project. An alternative is a greenfield or selective data transition, where the add-on's function is rebuilt in standard S/4HANA or on side-by-side extensions and only the needed data is migrated.
Exercise
Why is the sandbox conversion run on a copy of production rather than on the development system?
Show answer
A production copy has realistic data volume and data quality, so it shows true runtime, true downtime estimates, and the data errors (for example, business partner and finance inconsistencies) that will appear at go-live. The development system usually has little data and does not reveal these issues.