Sub topic 1
What SAP S/4HANA is and why editions exist
Prerequisites
This chapter assumes you already know the following:
- Basic ERP concepts such as finance, procurement, and sales processes.
- The cloud service models SaaS, PaaS, and IaaS.
- What SAP ERP and SAP ECC are, at least as the system a company runs today.
You do not need ABAP or Basis (SAP system administration) experience. Later chapters cover the code-level topics.
What S/4HANA is
SAP S/4HANA is SAP's current ERP suite and the successor to SAP ERP Central Component (ECC). SAP introduced it in 2015. The name stands for "Suite 4 SAP HANA". It runs only on the SAP HANA in-memory database, whereas ECC could run on Oracle, IBM Db2, Microsoft SQL Server, and other databases.
S/4HANA is more than ECC on a new database. SAP changed the data model and the user interface:
- Universal Journal. Financial postings that ECC kept in several tables (general ledger, controlling, asset accounting, material ledger) are stored in one line-item table, ACDOCA.
- Business Partner. Customer and vendor master data are unified under one business partner model. ECC kept them as separate objects.
- Simplified data structures. Aggregate and index tables are largely removed, because HANA can compute totals on demand. Material documents, for example, moved to the table MATDOC.
- SAP Fiori. A browser-based, role-based user interface replaces the SAP GUI transaction screens for most users. SAP GUI still exists.
- Embedded analytics and intelligent features. Reporting runs on the live transactional data through Core Data Services (CDS) views. Newer releases add machine learning and generative AI functions.
Because the data model changed, you cannot treat S/4HANA as a routine ECC upgrade. Custom code that reads or writes old tables may break. This is a main reason migrations take planning, and it comes back in the chapters on migration paths and readiness tooling.
Why there is a deadline
Most S/4HANA projects have a date behind them. SAP has announced the end of mainstream maintenance for ECC 6.0 enhancement package 8 at the end of 2027, with optional extended maintenance to the end of 2030 at an extra fee. Check SAP's current maintenance statements before you plan around these dates, because SAP has moved them before.
Why editions exist
SAP could have shipped one product, but customers differ in ways one package cannot cover:
- Customization. A manufacturer with decades of custom processes needs freedom to modify the system. A mid-sized company that wants to adopt standard best practice mainly needs speed.
- Operations. Some organizations have data centers and Basis teams. Others want SAP to run everything.
- Regulation and data residency. Some industries or countries restrict where data can live and who can access it.
- Change tolerance. Some customers can absorb frequent updates. Others test for months before any change reaches production.
The three editions are different answers to these trade-offs. They share the same functional core, meaning the same finance, supply chain, sales, and manufacturing capabilities. What differs is the operating model and how much you can change the system.
The three editions at a glance
| Aspect | Cloud Public Edition | Cloud Private Edition | On-premise |
|---|---|---|---|
| Service model | SaaS | Managed service, close to PaaS or IaaS plus managed operations | Software license, customer-run |
| Tenancy | Multi-tenant | Single-tenant | Customer-owned landscape |
| Who operates the system | SAP | SAP, with the customer responsible for the application layer | Customer or its partner |
| Customization freedom | Lowest, standard-first | Broad, with classic options available | Broadest |
| Update rhythm | Frequent, SAP-driven | Less frequent, more customer control | Customer-scheduled |
This table is deliberately coarse. Later chapters examine each row, in particular the split of responsibilities, release cadence, and extensibility.
Cloud Public Edition is a multi-tenant SaaS offering. All customers share one software version running on shared infrastructure, and each customer's data is separated logically. Customers get access to the application, configuration, and approved extension options. They do not get access to the operating system, the database, or the application server.
Cloud Private Edition is single-tenant. Each customer gets a dedicated system landscape, hosted and operated by SAP or by an SAP hosting partner on a hyperscaler such as AWS, Microsoft Azure, or Google Cloud. The software is the same code line as on-premise, so classic customization remains possible. The customer keeps more control over timing and scope than in Public Edition.
On-premise means the customer licenses the software and runs it on its own infrastructure, in its own data center, or on IaaS from a cloud provider. The customer is responsible for installation, patching, upgrades, backups, and high availability. This gives the most control and the most work.
> Some vendors blur these lines in marketing. For example, running on-premise S/4HANA on AWS virtual machines is still on-premise. The deciding factor is who operates the software, not where the hardware sits.
How the editions relate
The editions are not three separate products. Private Edition and on-premise share the same ABAP-based code line. Public Edition is built from that code with tighter rules and a different operating model. Public Edition restricts you to released interfaces, because SAP needs to upgrade all tenants together without breaking customer extensions.
This shared lineage is why the same ABAP code may or may not work depending on the edition. Consider two small examples. The first uses only released APIs, so it follows the ABAP Cloud rules and runs in every edition:
CLASS zcl_edition_probe DEFINITION PUBLIC FINAL CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES if_oo_adt_classrun.
ENDCLASS.
CLASS zcl_edition_probe IMPLEMENTATION.
METHOD if_oo_adt_classrun~main.
out->write( cl_abap_context_info=>get_system_date( ) ).
out->write( cl_abap_context_info=>get_user_technical_name( ) ).
ENDMETHOD.
ENDCLASS.The second reads the unreleased table MARA directly. This works in classic ABAP on Private Edition and on-premise, but ABAP Cloud in Public Edition does not allow it:
SELECT SINGLE matnr
FROM mara
INTO @DATA(lv_matnr).The difference between these snippets is the practical meaning of the clean core principle. You will study it in detail later. For now, remember that the edition decides which kind of code you are allowed to write.
Common misconceptions
- "Cloud means Public Edition." Private Edition is also a cloud offering, but it is single-tenant and keeps most classic freedoms.
- "Public Edition is a reduced product." The scope is large. It has fewer customization routes, not fewer business processes. It is built around SAP's predefined best practices.
- "On-premise is being discontinued." SAP continues to release on-premise versions, but it directs new development and innovation mostly toward the cloud editions. Plan for this when you choose.
- "You can switch editions freely later." Moving between editions is a project. Public Edition has a different extensibility model from the other two, so custom code and configuration often need rework.
What you will do in this tutorial
The tutorial follows a path from definitions to a decision. You will first look at service models and responsibility splits. Then you will cover each edition, compare release cadence and extensibility, and learn the clean core principle. After that come fit-to-standard, RISE with SAP and GROW with SAP, migration paths from ECC, readiness tooling, and SAP BTP. The last chapter combines everything into a method for choosing an edition for a given scenario.
Exercise
A company runs S/4HANA on virtual machines it rents from a hyperscaler. Its own Basis team installs patches and handles upgrades. Which edition is this, and which fact decides the answer?
Show answer
It is on-premise S/4HANA. The deciding fact is that the customer operates the software. Renting infrastructure from a hyperscaler (IaaS) does not change who is responsible for patches and upgrades.
Exercise
Name two changes S/4HANA made compared with ECC, and explain why they make a migration more than a technical upgrade.
Show answer
Examples are the Universal Journal (ACDOCA replaces several financial tables) and the Business Partner model (replaces separate customer and vendor masters). Custom code and processes that depend on the old tables or objects must be adapted, so the migration involves data conversion and code remediation, not only a database change.