Sub topic 1
What SAP S/4HANA is and why editions exist
Prerequisites
This chapter assumes you already know the following:
- Basic ERP concepts: 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 skills. The two short code examples later in the tutorial are only there to show a difference between editions.
What S/4HANA is
SAP S/4HANA is SAP's current ERP suite. It covers finance, procurement, manufacturing, sales, supply chain, and other core business processes. It runs only on the SAP HANA in-memory database. SAP ECC could run on several databases, so this is a real change in architecture.
S/4HANA also simplified the data model. Some classic tables were merged or replaced. In finance, the Universal Journal (table ACDOCA) now holds line items that older releases spread across several tables. Many SAP ECC custom programs read the old tables directly, which is why the move to S/4HANA affects custom code.
SAP has announced that mainstream maintenance for SAP ECC ends in 2027. This date is a main reason companies are planning moves now.
Why editions exist
Companies differ in how much they want to customize their ERP system and how much they want to operate it themselves. A single delivery form cannot serve both a company that wants a standard, fast-updating system and one that has decades of custom processes. SAP therefore offers the same product family in three editions:
- SAP S/4HANA Cloud Public Edition: a multi-tenant SaaS offering. Customers share one software version that SAP operates.
- SAP S/4HANA Cloud Private Edition: a single-tenant system that SAP or a partner hosts for one customer.
- SAP S/4HANA on-premise: the customer installs and runs the software in its own data center or at a hyperscaler.
Each edition trades customization freedom against operating effort and upgrade speed. Later chapters compare them in detail.
The three editions at a glance
| Edition | Tenancy | Day-to-day operation | Customization freedom |
|---|---|---|---|
| Cloud Public Edition | Multi-tenant | SAP | Lowest, standard extension methods only |
| Cloud Private Edition | Single-tenant | SAP hosts, customer shapes | High |
| On-premise | Customer's own system | Customer | Highest |
This table is a simplification. For example, Private Edition customers can still choose to follow clean core rules. The rules are not forced on them.
A first look at the difference
ABAP Cloud is a restricted development model that uses only released APIs. The class below follows those rules. It can run in all three editions.
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 next statement reads the unreleased table MARA directly. Classic ABAP allows it on Private Edition and on-premise. ABAP Cloud in Public Edition does not allow it.
SELECT SINGLE matnr
FROM mara
INTO @DATA(lv_matnr).Common misunderstandings
- The editions are not three separate products. They share a common code line and functional scope, though the scope is not identical in every edition.
- "Cloud" does not mean the same thing in every edition. Public Edition is SaaS. Private Edition is closer to a managed hosting service.
- Choosing an edition is not only a technical decision. Operating responsibility, upgrade tolerance, and implementation approach all matter.
Exercise
A company has many custom ABAP programs that read SAP tables directly, and it wants SAP to host the system. Which edition looks most plausible, and why would Public Edition be harder?
Show answer
Cloud Private Edition. SAP hosts it, and it still allows classic ABAP and direct access to unreleased objects. Public Edition only allows released APIs and standard extension methods, so the custom programs would need to be rewritten.