Sub topic 4
Cloud Public Edition: multi-tenant SaaS
Prerequisites and scope
This chapter assumes you know the basic ERP processes (finance, procurement, sales). It also assumes you know the difference between SaaS, PaaS and IaaS, and that you know what SAP ECC is. Other chapters cover Private Edition, on-premise, release cadence and migration in detail. Here we focus on what makes SAP S/4HANA Cloud Public Edition different, how it works, and where teams commonly go wrong.
What Public Edition is
SAP S/4HANA Cloud Public Edition is a software-as-a-service (SaaS) ERP. SAP builds it, hosts it, operates it, upgrades it and monitors it. The customer gets a set of business processes to configure and use. The customer does not get an operating system, a database, or the right to modify the delivered code.
Three characteristics define the edition:
- Multi-tenant architecture. Many customers share one software stack. Each customer has its own tenant, which is a logically separated area with its own data, configuration and users. The code lines are common to all tenants.
- One standard, one code line. All customers run the same software version. There is no customer-specific branch of the core.
- SAP-run operations. SAP handles infrastructure, database, backups, monitoring, upgrades and most technical housekeeping.
The trade-off is direct. You give up control over the core, and in return you get lower operating effort, regular innovation, and a faster start.
Tenancy and landscape
In a multi-tenant model, the shared parts (code, runtime, platform services) are separate from the tenant-specific parts (data, configuration, extensions). Because the shared parts are the same for everyone, SAP can update them once for all customers.
A typical customer landscape in Public Edition is small:
- A quality tenant for configuration, testing and extension development.
- A production tenant for live business.
- Optionally, a starter or sandbox tenant for early exploration, depending on the contract and the offering.
You do not request extra application servers or database sizes. Capacity and sizing are part of the service.
Who operates what
Public Edition has the thinnest customer responsibility of the three editions.
| Area | SAP | Customer or partner |
|---|---|---|
| Infrastructure, OS, database | Yes | No |
| Application upgrades | Yes | Schedules tests and adopts new features |
| Backups and availability | Yes | No |
| Business configuration | Provides the tools | Yes |
| Master data and migration | Provides the tools | Yes |
| User and role setup | Provides the tools | Yes |
| Extensions | Provides the frameworks | Yes, within the allowed models |
| Process testing | No | Yes |
A common mistake is to read "SAP operates it" as "SAP is responsible for the result". SAP runs the platform. The customer still owns the business configuration, the data quality, the authorizations, the integration design and the testing.
Configuration instead of customization
In classic systems, you could change a process by writing code or modifying standard objects. In Public Edition, you adapt behavior through configuration, which is a set of SAP-delivered settings within defined boundaries.
The main tools are:
- Self-service configuration UIs (the "Manage Your Solution" area and the Configure Your Solution apps). These guide you through the scope of the solution, using the delivered business scope and process content.
- SAP Best Practices content. This is pre-configured process content for industries and lines of business. You activate it instead of designing everything from scratch.
- Scope items. A scope item is a packaged business process, such as a procure-to-pay flow, that you switch on as part of your solution.
The implementation method follows the fit-to-standard approach, which a later chapter covers. In short, you demonstrate the standard processes and decide where your business can adopt them, instead of listing gaps to be filled with custom code.
Extensibility in Public Edition
Public Edition allows only upgrade-safe extension models. Customers cannot modify SAP objects. There are three groups of options:
- Key-user extensibility (in-app). Business experts add custom fields, custom logic, custom business objects and adapt forms, reports and UIs using apps inside the system. No programming environment is needed for most cases.
- Developer extensibility (on-stack). Developers write ABAP in the ABAP Development Tools (ADT) in Eclipse, using the ABAP Cloud development model. This model restricts you to released APIs and objects.
- Side-by-side extensibility. You build an application on SAP Business Technology Platform (BTP) that talks to S/4HANA through released APIs and events. It runs outside the S/4HANA stack.
Classic extension techniques (modifications, unreleased function modules, direct table reads, implicit enhancements to SAP code) are not available. This is the main place where teams moving from ECC feel the limit.
What "released" means
An object is released when SAP has declared it a stable contract for customers, with a defined release state, such as "released for use in cloud development". SAP commits to keep released objects compatible across upgrades. Unreleased objects can change or disappear without notice, which would break custom code during an upgrade. ABAP Cloud enforces this by checking your code against the released objects at design time.
A console class that follows the rules
The following class uses only released APIs. It follows the ABAP Cloud rules, so it can run in Public Edition, Private Edition and on-premise.
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.To run it, create the class in ADT, activate it, and press F9 to run it as an ABAP application. The output shows the system date and the technical name of the current user.
A statement that breaks the rules
The next statement reads the unreleased table MARA directly. It works in classic ABAP on Private Edition and on-premise. ABAP Cloud in Public Edition does not allow it.
SELECT SINGLE matnr
FROM mara
INTO @DATA(lv_matnr).In a Public Edition development environment, the syntax check reports that the object is not released for this language version. The fix is to read through a released CDS view, for example a released product view, which exposes the data with a stable contract. Check the released-object list in ADT for the exact view name available in your release.
Clean core in Public Edition
The clean core principle means keeping the standard software free of custom modifications, and placing extensions in upgrade-safe layers through released interfaces. In Public Edition it is not a recommendation. It is enforced by the platform.
Why it matters most here:
- SAP upgrades every tenant on a fixed schedule. Customers cannot postpone indefinitely.
- Custom code that touches unreleased objects would break many tenants at once.
- Released APIs are the only contract that SAP can keep stable across all customers.
So the architecture and the upgrade model depend on each other. The platform restricts what you can do, and that restriction is what makes frequent, automatic upgrades safe.
Upgrades and customer impact
Public Edition receives major releases on a regular schedule, with a shorter cycle than the other editions, plus smaller patches in between. The next chapter compares the exact cadence. For now, note the consequences for your project:
- New features arrive automatically. Some are active at once, and others need to be switched on by the customer.
- You need a regression testing routine. Your key business processes and extensions must be tested in the quality tenant when a new release is previewed there.
- Extensions built through released interfaces should survive upgrades. Still, SAP may deprecate a released API with a notice period, so you must watch release notes.
- You cannot pin the system to an old release.
Integration
Public Edition connects to other systems through standard channels:
- Released OData and SOAP APIs, and business events.
- Communication arrangements, which are the configuration objects that define which systems can call which APIs, with which users and authentication.
- SAP BTP integration services for complex scenarios.
Direct database access, custom RFC calls into unreleased function modules, and file drops to the server file system are not available. Plan your interfaces around released APIs before you commit to a go-live date.
Common errors and misconceptions
- "SaaS means no effort." Business configuration, data migration, testing and organizational change remain the customer's work.
- "We will port our old Z code." Classic Z code that uses unreleased objects cannot run in Public Edition. You must redesign it with the released models or remove the need for it.
- "We can delay the upgrade." The release schedule is set by SAP. Plan testing capacity into every release cycle.
- "Extensions are free of limits." The allowed models are bounded. Some requirements, such as a deeply different process, do not fit and need either a change of the process or a different edition.
- Treating the quality tenant as a copy of production. The tenants have different roles and data volumes. Verify what the tenant contains before you test with it.
When Public Edition fits
Public Edition tends to fit when:
- The business can adopt standard processes and wants to follow best practices.
- The company values fast deployment and low operating effort over deep customization.
- The IT team prefers to spend capacity on business improvement, not on infrastructure.
- Differentiating requirements can be met with key-user, ABAP Cloud or BTP extensions.
It tends to fit poorly when the business depends on heavily modified standard processes, needs custom code on unreleased objects, or must control upgrade timing precisely. The final chapter gives a full decision method.
Exercise
A colleague wants to add a custom report that reads table MARA directly in a Public Edition tenant, and says "we only need a SELECT, it is harmless". Explain why this is blocked and describe two ways to meet the requirement.
Show answer
MARA is not a released object, so SAP gives no compatibility guarantee for it. ABAP Cloud checks code against released objects and rejects the SELECT. Because SAP upgrades all tenants on a common schedule, unreleased objects that change would break custom code. Two options: (1) use a released CDS view or API that exposes the product data, in a developer-extensibility ABAP Cloud report or key-user custom analytical app; (2) build a side-by-side application on SAP BTP that reads the data through a released OData API or business event.
Exercise
List three things that remain the customer's responsibility in Public Edition even though SAP operates the system.
Show answer
Examples: business configuration of scope items, master data and data migration quality, user and role authorizations, integration design with communication arrangements, regression testing of processes and extensions at each release, and managing organizational change.