Sub topic 1
Where ECC 6.0 stands: the Business Suite baseline
SAP S/4HANA is easiest to understand as a set of changes to a known starting point. This chapter describes that starting point: SAP ERP Central Component (ECC) 6.0, delivered as part of SAP Business Suite 7. You will see how an ECC system is built, where it stores data, and which design choices later chapters change.
Prerequisites
This chapter assumes you already have the following:
- Basic familiarity with SAP ERP modules such as FI, CO, MM and SD.
- A general understanding of what an ERP system does.
- Awareness of the difference between a database and an application layer.
- A basic idea of what custom ABAP code is. You can read a short
SELECTstatement.
You do not need hands-on experience with S/4HANA. You do not need to know the maintenance dates yet, because a later chapter covers them.
What "ECC 6.0" and "Business Suite" mean
ECC 6.0 is the core ERP product of the SAP Business Suite. The Business Suite is a family of applications that share one technical platform, SAP NetWeaver Application Server ABAP. The family includes:
- ECC for finance, logistics and HR
- SAP CRM
- SAP SCM
- SAP SRM
- SAP PLM
Each product normally ran as its own system with its own database. They exchanged data through interfaces.
Three terms are often confused:
| Term | Meaning |
|---|---|
| ECC 6.0 | The ERP release. The "6.0" has stayed fixed since 2006. |
| Enhancement package (EhP) | An optional update that adds functions and improvements to ECC 6.0 without a new release number. ECC 6.0 reached EhP 8. |
| Business Suite 7 | The product bundle that contains ECC 6.0 with EhP 0 to EhP 8, plus the other suite applications. |
Because the release number never changed, "we are on ECC 6.0" tells you very little. The EhP level, the database and the add-ons matter much more. An EhP 8 system and an EhP 0 system differ in available functions and in conversion effort.
The working model of an ECC system
An ECC system has three layers, and the layers are largely independent of each other.
The application server holds the business logic. The ECC database is a general relational database, and ECC runs on several vendors' products. SAP HANA is only one of the options. SAP HANA support for ECC is known as Suite on HANA. It is a database change only, and the data model stays the same.
The user interface is mainly SAP GUI with classic dynpro screens (the screen technology of ABAP). SAP Fiori apps and the SAP Business Client exist in later enhancement packages. In practice many ECC users still work in transaction codes.
Why ECC stores aggregates
The central design pattern of ECC is that the application writes data twice. It stores the line items. It also updates summary tables, called aggregates, and lookup tables, called index tables, whenever a document is posted.
This design made sense on disk-based databases of the 1990s and 2000s. Summing millions of line items at report time was too slow, so the system kept totals ready. Typical examples:
| Area | Line items | Stored aggregates or indexes |
|---|---|---|
| General ledger | BKPF header, BSEG items | GLT0 period totals, BSIS and BSAS open and cleared item indexes |
| Customers | BSEG items | BSID and BSAD indexes, KNC1 period totals |
| Vendors | BSEG items | BSIK and BSAK indexes, LFC1 period totals |
| Controlling | COBK header, COEP items | COSP and COSS totals |
| Inventory | MKPF header, MSEG items | MARD and MBEW stock and valuation totals, history tables such as MARCH |
The same business fact therefore lives in several places. A posting to a customer account touches the line item, the customer index and the customer totals. The consequences are the ones you meet in S/4HANA planning:
- More database writes per posting, and more storage.
- Reconciliation work. FI and CO keep separate data stores. A reconciliation ledger or reconciliation reports are needed to prove they agree.
- Reports must read the right table for the question. Custom reports often depend on aggregates that no longer exist later.
Reading a balance in ECC
Here is how a custom report reads a balance in ECC. It uses the ledger totals table GLT0 and sums the carry-forward value and the twelve period values. It is written in classic Open SQL, which works on ECC 6.0 releases without newer syntax.
REPORT zecc_gl_balance.
PARAMETERS: p_bukrs TYPE glt0-bukrs DEFAULT '1000',
p_ryear TYPE glt0-ryear DEFAULT '2024',
p_racct TYPE glt0-racct DEFAULT '0000400000'.
DATA: ls_glt0 TYPE glt0,
lv_total TYPE glt0-hslvt.
SELECT * FROM glt0 INTO ls_glt0
WHERE rldnr = '00'
AND rrcty = '0'
AND rvers = '001'
AND bukrs = p_bukrs
AND ryear = p_ryear
AND racct = p_racct.
lv_total = lv_total + ls_glt0-hslvt
+ ls_glt0-hsl01 + ls_glt0-hsl02 + ls_glt0-hsl03
+ ls_glt0-hsl04 + ls_glt0-hsl05 + ls_glt0-hsl06
+ ls_glt0-hsl07 + ls_glt0-hsl08 + ls_glt0-hsl09
+ ls_glt0-hsl10 + ls_glt0-hsl11 + ls_glt0-hsl12.
ENDSELECT.
WRITE: / 'Balance in company code currency:', lv_total.The report is cheap to run because the database only reads a handful of rows. The cost was paid earlier, at posting time. Note the selection fields rldnr, rrcty and rvers. They pick the ledger, the record type (actual) and the plan version. Forgetting them is a common way to sum plan data into actuals.
Master data in ECC
ECC keeps customers and vendors in separate master data objects, with separate tables (KNA1 and LFA1 at general level). A business that is both customer and supplier needs two records, and the link between them is maintained by hand. Customer-vendor integration (CVI) in later enhancement packages can synchronize the two, but it is optional in ECC.
Material numbers in ECC are 18 characters long. Material documents are split between a header table (MKPF) and an item table (MSEG), with stock quantities held in separate stock tables. You will meet the replacements for these designs in later chapters.
Where ECC sits on the calendar
SAP has published end dates for mainstream maintenance of the Business Suite 7 core application releases, including ECC 6.0, and for an optional extended maintenance period after that. A later chapter in this tutorial states those dates and explains how to plan around them. Dates have been revised before, so confirm them at the source. SAP Note 1648480 (Maintenance for SAP Business Suite 7 Software Releases) and the SAP product availability information are the usual places to check.
Common mistakes when describing an ECC baseline
- Treating "ECC 6.0" as a version. Always state the EhP level and the database. Conversion tools and add-on compatibility depend on them.
- Confusing Suite on HANA with S/4HANA. Suite on HANA keeps the ECC data model and moves only the database. S/4HANA changes the data model and the application code as well.
- Assuming aggregates are always right. In ECC the totals are maintained by the application. A faulty custom posting, a direct table update or a failed update task can leave totals different from line items. Some projects find these inconsistencies only when they migrate.
- Ignoring customer code that reads aggregates. Custom reports, interfaces and enhancements that select from tables like GLT0, BSIS or KNC1 are the first candidates for rework. The chapters on custom code cover how to find them.
- Forgetting the rest of the suite. CRM, SCM and SRM systems have their own timelines and their own successor products. An ECC move does not automatically solve them.
Checklist: capturing your own baseline
Before you compare ECC with S/4HANA, write down the following facts about your system. Later chapters use each one.
- Release and EhP level, for example ECC 6.0 EhP 7.
- Database vendor and version, and whether it is already SAP HANA.
- Active business functions and add-ons.
- Number of ledgers and whether FI and CO are reconciled through a reconciliation ledger.
- Whether customer-vendor integration is in use.
- Count of custom objects in the Z or Y namespace, and how many read the tables listed above.
- Current user interface mix: SAP GUI transactions, Business Client, Fiori apps.
Exercise
A colleague says, "We already run ECC 6.0 on SAP HANA, so we have effectively moved to S/4HANA." What is wrong with this statement, and name two things that would still be true about the data model?
Show answer
Running ECC 6.0 on SAP HANA (Suite on HANA) changes only the database. The application code and the data model stay as they were in ECC, so the system is not S/4HANA. Two things that remain true: general ledger and controlling data still sit in separate tables with aggregates such as GLT0 and COSP kept alongside line items, and customers and vendors still use separate master data (KNA1 and LFA1). Material documents also still use MKPF and MSEG, and the material number is still 18 characters.
Exercise
Why did ECC store aggregate tables such as GLT0, and what is one operational cost of that design?
Show answer
Disk-based databases were too slow to sum millions of line items at report time, so the application kept totals up to date at posting time and reports could read a few rows. The costs include extra writes per posting, more storage, and the need to reconcile aggregates with line items and FI with CO. Any one of these is a correct answer.