Sub topic 1
Where you start: the SAP ECC landscape
This chapter describes the system you are leaving. Every transition decision, whether to start fresh, convert, or move selectively, depends on what your SAP ECC (ERP Central Component) system looks like today. You cannot judge effort, risk, or data scope without an honest inventory of it.
Prerequisites
This chapter assumes you already have the following:
- Basic familiarity with SAP ERP modules such as finance (FI/CO), logistics (MM, SD, PP), and procurement.
- A general understanding of enterprise IT projects and system landscapes, meaning development, quality, and production systems.
- Awareness of what custom ABAP code is, and the difference between master data (for example a customer record) and transactional data (for example a sales order).
You do not need any S/4HANA experience. Later chapters cover the target system.
What "SAP ECC" means in practice
SAP ECC is the ERP suite that most large SAP customers ran through the 2000s and 2010s. The last major version is ECC 6.0, with enhancement packages (EHPs) that added functions without changing the core release. ECC runs on the SAP NetWeaver ABAP application server and, historically, on a third-party database such as Oracle, IBM Db2, or Microsoft SQL Server. SAP HANA as a database is also supported for ECC (as "Suite on HANA"), which matters later because it changes the starting point for some conversions.
Maintenance for ECC is time-limited. SAP has announced mainstream maintenance until the end of 2027, with optional extended maintenance to the end of 2030 at a higher fee. Check SAP's current published dates before you plan, because they can be revised.
The typical landscape
A real ECC estate is rarely one system. It usually has several layers.
Three-system landscape
The standard setup has a development system (DEV), a quality assurance system (QAS), and a production system (PRD). Changes are made in DEV, packaged into transport requests, tested in QAS, and moved to PRD. Many companies add a sandbox, a training system, or a separate test system with a copy of production data.
This matters for transition planning. A conversion is normally rehearsed on a copy of production, so you need a system that is large enough and refreshed recently enough to be realistic.
Surrounding systems
ECC seldom stands alone. Typical neighbors include:
- SAP BW (Business Warehouse) for reporting.
- SAP CRM, SRM, or SCM for customer, supplier, and planning processes.
- SAP Process Orchestration (PI/PO) or another middleware for interfaces.
- Non-SAP systems such as warehouse, payroll, tax, or banking applications.
- SAP Fiori front-end servers and SAP Gateway for web and mobile apps.
Each neighbor is an interface to test, and some are products that S/4HANA replaces or absorbs.
What accumulates in an ECC system
After ten to twenty years, an ECC system holds three kinds of material that drive transition effort.
Configuration
Configuration is the customizing of organizational units, document types, number ranges, pricing procedures, and similar settings. Years of change leave unused company codes, obsolete document types, and settings nobody can explain. A new implementation lets you drop these. A conversion carries them along.
Custom code
Most ECC systems contain custom ABAP objects, usually in the customer namespace beginning with Z or Y. These include reports, enhancements, user exits, custom tables, interfaces, and forms. Some are modifications, meaning changes to SAP standard objects, which are the hardest to carry forward. Later chapters cover how to analyze this code. For now, note that its volume and quality is one of the largest cost drivers in any path.
Data
Data comes in several forms:
- Master data: business partners (customers and vendors), materials, general ledger accounts, cost centers.
- Open transactional items: open purchase orders, open invoices, open sales orders.
- Historical transactional data: closed documents going back many years.
- Archived data: documents moved out of the database into archive files.
Historical volume often decides the transition path. A 15-year database may be several terabytes, and most of it is rarely read.
A look at the data model
Understanding the ECC data model explains why S/4HANA changes so much. ECC was designed when memory was scarce and disks were slow. To keep reads fast, it stores many redundant tables.
- In finance, totals are stored in separate tables, such as GLT0 for general ledger totals, alongside line items in BSEG. Controlling, asset accounting, and material ledger have their own tables.
- In logistics, aggregate tables hold stock quantities and valuations, with documents stored separately.
- Customers and vendors are separate master records (KNA1 and LFA1), each with its own maintenance transactions.
The redundancy exists for speed, but it forces reconciliation between components and makes financial reporting slower and more brittle. The next chapters show how S/4HANA removes much of this.
Taking inventory
Before choosing a path, collect facts. The following table lists common inventory items and the decision each one informs.
| Inventory item | Question to answer | Decision it informs |
|---|---|---|
| Database size and growth | How much history exists, and how much is archived? | Data scope, downtime, selective transition |
| Custom code volume | How many Z objects are in use, and how many are modifications? | Adaptation effort, clean core strategy |
| Enhancement package and release | What is the current EHP and support package level? | Technical prerequisites for conversion |
| Add-ons and industry solutions | Which are installed, and are they supported on S/4HANA? | Whether conversion is possible at all |
| Interfaces | How many, to which systems, using which protocols? | Testing scope, middleware changes |
| Organizational structure | How many company codes, plants, and charts of accounts? | Redesign opportunity, consolidation |
| Process fit | Which processes are standard and which are heavily customized? | Fit-to-standard scope |
Measuring custom code usage
SAP lets you record which custom objects run in production. The Usage Procedure Logging (UPL) feature, and the older ABAP Workbench usage statistics, show which objects were executed. Unused objects can be removed before any transition. The following ABAP sketch counts custom programs in the repository, which gives a rough starting number.
REPORT z_count_custom_programs.
DATA lv_count TYPE i.
SELECT COUNT(*)
FROM trdir
INTO @lv_count
WHERE name LIKE 'Z%'
OR name LIKE 'Y%'.
WRITE: / 'Custom programs in TRDIR:', lv_count.This count is only a starting point. It includes programs that nobody has run for years, and it excludes function modules, classes, and enhancements. Usage data is what turns the count into a useful number.
Common mistakes when assessing the starting point
- Treating the production database size as the transition size. Much of it may be archivable or removable.
- Counting custom objects without checking usage. Dead code inflates the apparent effort.
- Forgetting add-ons. A third-party or industry add-on without S/4HANA support can block a conversion.
- Ignoring non-SAP interfaces. They often cause the late surprises in testing.
- Assuming the quality system mirrors production. If its data or configuration is stale, rehearsals will mislead you.
How this feeds the rest of the tutorial
The inventory you build here links to later decisions:
- Drivers and S/4HANA changes explain what you gain by leaving.
- Simplification items and custom code analysis turn the inventory into concrete work.
- Data scope and downtime tolerance narrow the choice between greenfield, brownfield, and selective data transition.
Exercise
A company runs ECC 6.0 with 12 years of history, 4 TB of database size, and about 8,000 custom objects. A usage log shows only 2,500 of those objects ran in the last year. Which two inventory facts should you report first, and why does the usage figure matter more than the raw count?
Show answer
Report the database size with its split between recent, historical, and archived data, and the custom code count with its usage data. The 8,000 figure overstates the adaptation work, because about 5,500 objects appear unused and can be retired before a transition. Only the roughly 2,500 used objects need analysis and possible adaptation. The database split shows how much history could be left behind, which affects downtime and the choice of path.
Exercise
Name two reasons ECC stores redundant aggregate tables, and one consequence for finance reporting.
Show answer
ECC was designed for slower disks and limited memory, so it stored precomputed totals (such as GLT0) to avoid reading large numbers of line items, and it kept separate tables per component for the same reason. The consequence is that totals and line items in different components must be reconciled, and reporting across components is slower and more error-prone.