Sub topic 5
Cloud Private Edition: single-tenant, SAP-hosted
Assumed background
This chapter assumes you know the basic ERP processes (finance, procurement, sales) and the SaaS, PaaS, and IaaS service models. You should also know what SAP ECC is. The chapter on Public Edition introduced multi-tenancy, and this one contrasts with it.
What Private Edition is
SAP S/4HANA Cloud Private Edition is a dedicated S/4HANA system that SAP hosts for one customer. It is single-tenant. The customer's database, application servers, and data are not shared with other customers' systems at the software level.
It is closest to a managed hosting model. In practice it sits between SaaS and a customer-run installation. The customer gets a full S/4HANA code base, much like on-premise. SAP or a hyperscaler provider supplies the infrastructure and much of the technical operation.
Private Edition is usually bought through RISE with SAP, which bundles the software license, infrastructure, and a set of technical services into one subscription. A later chapter covers that packaging. Here the focus is how the edition behaves.
Tenancy and landscape
In Public Edition, many customers run on one shared software stack. In Private Edition, each customer gets their own systems. A typical landscape has these systems:
- A development system, where configuration and custom code are created.
- A quality or test system, where changes are validated.
- A production system, where the business runs.
The exact set depends on the contract. Each system has its own database, so you can change settings, add custom code, and plan downtime without affecting other customers.
Who operates what
Operations are split. SAP, or a provider SAP selects, handles the infrastructure and the technical basis. The customer keeps responsibility for the business application and its content.
| Area | Typically handled by SAP | Typically handled by the customer |
|---|---|---|
| Data center, hardware, network | Yes | No |
| Operating system and database | Yes | No |
| Technical monitoring, backups, high availability | Yes | No |
| Applying support packages and upgrades | Executes, in a scheduled window | Decides the timing within limits, tests |
| Business configuration | No | Yes |
| Custom code and its quality | No | Yes |
| User and role management | No | Yes |
| Business-process testing | No | Yes |
The exact split depends on your contract and service description, so treat this table as a general pattern. Your contract's service description is the authority. A common mistake is to assume that "SAP-hosted" means "SAP-managed" for everything. SAP runs the platform. It does not own your business processes or your custom code.
Customization freedom
Private Edition allows far more customization than Public Edition. It supports these extension options:
- In-app extensibility: key user tools, such as custom fields and custom logic, work as in other editions.
- Developer extensibility: custom ABAP development is available, both in the cloud-ready style (ABAP Cloud) and in the classic style.
- Classic extensibility: you can use classic ABAP, including modifications of SAP objects, user exits, and direct reads of SAP tables.
- Side-by-side extensibility: extensions on SAP BTP, connected through APIs and events.
The classic style is where Private Edition differs from Public Edition. The following query 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).Being allowed to do this does not make it wise. Direct access to unreleased objects ties your code to SAP's internal structures. SAP can change those structures in a later release without notice, and your code can break.
Writing cloud-ready code in Private Edition
You can follow the ABAP Cloud rules in Private Edition even though it does not force you to. Code that uses only released APIs keeps working across upgrades, and it can move to another edition later. This class uses only released APIs:
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.You can run it from ABAP Development Tools in Eclipse by choosing Run As, then ABAP Application (Console). Because it uses only released APIs, it follows the ABAP Cloud rules and can run in Public Edition, Private Edition, and on-premise.
Release and upgrade behavior
Private Edition follows the same yearly release rhythm as on-premise S/4HANA. SAP ships a new release about once a year, with support packages in between. The customer upgrades on a schedule that stays within SAP's maintenance window for each release.
This differs from Public Edition, which receives updates on a fixed, frequent cycle that the customer cannot postpone for long. In Private Edition, you choose among available slots. You also must plan regression testing, because your custom code and your configuration are tested by you, not by SAP.
The loop between testing and fixing is the customer's work. The more custom code you have, the longer that loop runs.
Migration and fit
Private Edition is a common target for SAP ECC customers who want to move to S/4HANA without rebuilding their processes from scratch. It supports these paths:
- System conversion: the existing ECC system and its data are converted in place to S/4HANA, and then run in the Private Edition hosting.
- Greenfield: a new system is built, and selected data is loaded.
- Selective data transition: parts of the system and its data move to a new target.
Because it permits classic customization, Private Edition keeps most existing custom code usable after a conversion, once that code is adapted to S/4HANA data models. A later chapter on migration compares these paths in full.
Strengths and trade-offs
Private Edition is a good fit when you need these things:
- Heavy process customization or industry-specific adjustments that Public Edition does not support.
- Existing custom code and add-ons that you want to carry over.
- Control over upgrade timing, for example around financial year-end.
- Less infrastructure work than on-premise.
Its costs are real:
- Upgrades are less frequent but larger, and your team must test them.
- Custom code grows technical debt if the clean core principle is ignored.
- Fewer features arrive between releases than in Public Edition.
- The customer still needs skilled staff for application management.
Common mistakes
- Assuming SAP tests your custom code. SAP tests standard software. Your code and settings are yours to test.
- Reading unreleased tables in new code. It works today and can fail after an upgrade.
- Treating hosting as full management. Application support, authorizations, and process ownership remain with the customer.
- Skipping the contract details. Service levels, upgrade windows, and extra systems vary by contract.
Exercise
A customer on Private Edition has custom reports that read table MARA directly. The team now plans to move to Public Edition in a few years. What should they do with new code in the meantime, and why?
Show answer
They should write new code against released APIs and ABAP Cloud rules, even though Private Edition does not require it. Direct reads of unreleased tables like MARA are not allowed in Public Edition, so such code would need rework before the move. Released-API code also survives upgrades more reliably. The existing MARA reports should be listed and replaced with released views or APIs over time.
Exercise
Which parts of operating a Private Edition system does the customer still own, even though SAP hosts it?
Show answer
The customer owns business configuration, custom code and its testing, user and role management, and business-process validation after upgrades. SAP or its provider runs the infrastructure, operating system, database, and technical operations within the contract's scope.