Sub topic 3
What changes in S/4HANA: data model, business partner, and in-memory platform
This chapter assumes you know the main ECC modules (FI/CO, MM, SD), the usual development, quality, and production landscape, and what custom ABAP code and master and transactional data are. It covers the technical and functional changes that make a move to S/4HANA more than an upgrade. Later chapters on simplification items, greenfield, and brownfield build on these changes.
Why the platform change matters for transition
ECC ran on any supported database, such as Oracle, DB2, or SQL Server. S/4HANA runs only on SAP HANA, an in-memory, column-oriented database. SAP redesigned the application to use that database. Three changes follow from this and shape every transition path:
- The data model is simplified. Many aggregate and index tables are gone.
- Master data is consolidated. The business partner replaces separate customer and vendor records.
- The application logic moves toward the database, which changes how custom code should be written.
The in-memory platform
HANA stores tables by column and keeps active data in main memory. It also compresses data well. Together these properties let the database compute totals and aggregates when you ask for them. In ECC, the application often wrote those totals into extra tables so that reports stayed fast.
Key consequences:
- Less redundancy. Tables that only existed to speed up reads are no longer needed.
- Smaller database. Removing aggregates and compressing columns usually reduces data volume compared with the same data on a classic database. The exact reduction varies by system, so measure it with sizing reports instead of assuming a number.
- Code pushdown. Heavy calculations run inside the database, not in the ABAP application server. Core data services (CDS) views are the main tool for this.
- A new sizing model. Memory, not disk, is the main cost driver. The amount of historical data you bring across therefore affects hardware cost directly. This is why the chapter on historical data scope matters later.
The simplified data model
SAP removed or merged many tables that existed only for performance. The most cited example is in finance and logistics.
Universal Journal (ACDOCA)
In ECC, a posting in finance wrote to several places: general ledger line items (BSEG), controlling line items (COEP), asset accounting (ANEP), and the material ledger, plus totals tables such as GLT0 and COSS. Reconciling them was a routine closing task.
In S/4HANA, these postings go to one line item table, ACDOCA, called the Universal Journal. Totals are computed from it.
| Area | ECC | S/4HANA |
|---|---|---|
| G/L line items | BSEG, with totals in GLT0 | ACDOCA |
| Controlling line items | COEP, with totals in COSS and COSP | ACDOCA |
| Asset postings | ANEP, ANEA, and others | ACDOCA |
| Material ledger | Separate ML tables | ACDOCA, with ML always active |
| Reconciliation between FI and CO | Reconciliation ledger and periodic checks | Not needed, since both read one source |
Old tables often remain as compatibility views. A view has the old table name but reads from the new structures. Standard reports and many custom programs therefore keep working. Programs that write directly into the old tables, or rely on the old table structure, do not.
Material number length and inventory
The material number field is extended from 18 to 40 characters. Any interface, custom field, or IDoc that assumes 18 characters needs review. Inventory management also changes. Material document tables take over the role of several stock aggregate tables, and stock is calculated when needed.
Other changes in the same spirit
- MATDOC replaces the older material document tables (MKPF and MSEG) as the main store for material movements.
- Sales and distribution drops some status and index tables that have no purpose on HANA.
- Credit management is replaced by SAP Credit Management, and MRP moves to a faster in-database run, with some changes to how planning results are read.
The full list is organized as simplification items, which the next chapter covers.
The business partner
In ECC, a customer was a record in the customer master (XD01, table KNA1) and a vendor was a record in the vendor master (XK01, table LFA1). A company that was both customer and vendor needed two records, and keeping their address and bank data aligned was manual work.
In S/4HANA, the business partner (BP) is the leading object. One partner can hold several roles, such as customer, supplier, or contact person. Customer and vendor are roles of a partner, not separate masters. Transaction BP replaces the old maintenance transactions for customers and vendors.
How the old data is linked
The old customer and vendor tables still exist. Each customer or vendor gets a matching business partner, and the link is held in mapping tables such as CVICUSTLINK and CVIVENDLINK. This synchronization is called customer/vendor integration (CVI).
Common practice for numbering is to keep the partner number equal to the old customer or vendor number where possible. That is easy if the number ranges do not clash. If a customer and a vendor share the same number in ECC but are different companies, you need a mapping rule.
Where it hurts
- Dirty master data. CVI stops on records with missing mandatory fields, such as an invalid country or empty address data. These errors show up in the pre-checks and during conversion.
- Duplicates. Several customer records for the same company become several partners unless you merge them first.
- Number clashes. See above.
- Custom code and interfaces. Anything that creates customers by writing to KNA1 directly, or by an old BAPI, needs to go through partner-based APIs.
CVI is a prerequisite for a system conversion. In a new implementation, you load business partners directly, so only the data quality problem remains, not the conversion problem.
Other functional changes worth knowing
- Fiori user interface. SAP Fiori apps are the main user interface, and SAP GUI transactions remain for many tasks. Roles and authorizations need redesign, since Fiori uses launchpad catalogs and groups.
- Embedded analytics. Reports run on live transactional data through CDS views, with less reliance on a separate warehouse for operational reporting.
- Rapidly changing releases. S/4HANA has a yearly release cycle. A transition target is a specific release, so check the release and its maintenance end date when planning.
- Deployment options. S/4HANA exists as on-premise, private cloud, and public cloud editions. Not every option allows every transition path or every custom change, so the choice of edition limits the choice of path.
What this means for the three paths
| Change | Greenfield | Brownfield | Selective transition |
|---|---|---|---|
| Universal Journal | Configure fresh, load balances and open items | Existing documents are migrated during conversion | You choose which history to move into the new structure |
| Business partner | Load new partners from cleansed data | CVI converts existing customers and vendors | Handled by the selected data scope and tooling |
| HANA sizing | Based only on loaded data | Based on the full existing database, after cleanup and archiving | Based on the selected data scope |
| Custom code | Rewrite or retire, and build to extension rules | Analyze and adapt existing code | Analyze and adapt, scoped to retained processes |
Common errors
- Assuming every ECC table still exists. Direct reads of removed tables fail or return unexpected results.
- Ignoring field length changes, such as the 40-character material number, in interfaces and file formats.
- Starting CVI late. Fixing master data takes longer than running the technical tool.
- Sizing HANA from the old database size. Compression and removed aggregates change the number, and archiving changes it further.
- Treating the data model change as only a technical topic. Finance teams must also learn to work without reconciliation ledgers, and to read from one journal.
Exercise
A company has one organization that is both a customer and a vendor under the same ECC number range. A consultant plans a system conversion. Name the S/4HANA object and the tool that links the old records to it, and name one data problem that can stop the conversion.
Show answer
The object is the business partner, and customer/vendor integration (CVI) links the old customer and vendor records to it through mapping tables such as CVICUSTLINK and CVIVENDLINK. Records with missing mandatory data, such as an invalid country or incomplete address, can stop the conversion. Duplicate records and clashing customer and vendor numbers are also valid problems to name.
Exercise
Why can the amount of historical data you bring to S/4HANA change the project cost more than it did on ECC, and which table now holds the finance line items that replace several ECC tables?
Show answer
HANA keeps active data in memory, and memory is the main hardware cost driver, so more history means more memory to buy or rent. The finance line items are held in ACDOCA, the Universal Journal.