Sub topic 4
Cloud Public Edition: multi-tenant SaaS
SAP S/4HANA Cloud Public Edition is the software-as-a-service (SaaS) edition of S/4HANA. SAP runs it for you on shared infrastructure, and you consume it through a browser. This chapter assumes you know the SaaS, PaaS and IaaS service models and the basics of finance, procurement and sales processes in an ERP system.
What multi-tenant means
In a multi-tenant system, many customers share one software stack. Each customer gets a tenant, which is a logically separated area with its own data, users and configuration. The code and the runtime platform are shared, and SAP operates them centrally.
This design has direct consequences:
- SAP applies upgrades to all tenants on a fixed schedule. You cannot skip a release.
- You have no operating system or database access. You cannot install your own add-ons into the core.
- Configuration is done through guided tools, not through the classic implementation guide (SPRO).
- Customers share the same code line, which is why the edition is tightly standardized.
Who operates what
SAP is responsible for infrastructure, database, application lifecycle, backups, monitoring and security patching. You are responsible for business content: your processes, master data, users, roles, and any extensions you build. This is the largest shift in responsibility from on-premise, where you also run the technical stack.
Release cadence
SAP delivers a major release twice a year. Today, the cadence is spring and autumn releases, and the exact dates are set by SAP. Smaller updates and fixes arrive between major releases. Because upgrades are mandatory and automatic, you need a regression test routine for your key processes and extensions. New features are often switched off by default and you can turn them on when your team is ready.
Extensibility in Public Edition
Public Edition allows only extensions that do not modify SAP code:
- In-app (key user) extensibility lets business users add custom fields, custom logic, and simple custom business objects from within the application.
- Developer extensibility lets developers build on-stack extensions in ABAP Cloud. They can use only released APIs and objects.
- Side-by-side extensibility builds applications on SAP Business Technology Platform (BTP) that talk to S/4HANA through released APIs and events.
Classic modifications, direct table access to unreleased objects, and custom code that bypasses released interfaces are not allowed. This is the clean core principle in its strictest form.
The following class uses only released APIs, so it complies with ABAP Cloud rules:
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.By contrast, this statement reads the unreleased table MARA directly. It 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).Fit-to-standard
Public Edition goes with a fit-to-standard approach. You compare your processes to SAP's predefined best-practice content and adapt your processes where the standard works. You build an extension only when a real gap remains. This keeps the system upgrade-safe.
Common errors
- Planning to port old custom code unchanged. Most classic custom code uses unreleased objects and must be redesigned.
- Expecting to postpone an upgrade, as you might on-premise.
- Skipping regression tests, then discovering that an upgrade broke an extension.
- Treating the edition as a lift-and-shift target. It is a standardized product, not a hosting arrangement.
Exercise
A team wants to read the unreleased table MARA directly from custom code in Public Edition. Why does this fail, and what are two compliant alternatives?
Show answer
ABAP Cloud allows access only to released objects, so direct access to MARA is blocked to keep the core clean and upgrades safe. Compliant alternatives are to use a released CDS view or API for material data in an on-stack developer extension, or to build a side-by-side extension on SAP BTP that calls released APIs.
Exercise
Name three things SAP operates in Public Edition that you would operate yourself on-premise.
Show answer
Any three of: infrastructure, database, application upgrades, backups, monitoring, security patching.