Skip to Content
ServicesSAP Service Offerings OverviewSAP S/4 HANA Extensibility

Extensibility of SAP S/4HANA Cloud

S/4 Extensibility

Overview

Every business is unique — and no standard ERP system can address every process out of the box. Extensibility is the capability to adapt, enhance, and expand SAP S/4HANA Cloud beyond its standard configuration without compromising system stability or upgrade safety.

SAP S/4HANA Cloud provides a structured, lifecycle-stable extensibility model that allows customers and partners to:

  • Tailor standard processes to unique business requirements
  • Build new applications that integrate with the SAP core
  • Automate business workflows using low-code and pro-code tools
  • Stay upgrade-safe, ensuring extensions survive SAP innovation cycles

The Clean Core Principle

At the heart of SAP S/4HANA Cloud extensibility is the Clean Core strategy. Rather than modifying SAP’s standard code base, organizations build extensions using only:

  • Publicly released and stable SAP APIs
  • Defined SAP extension points
  • Released ABAP objects (when developing on-stack)

This approach minimizes upgrade risks, lowers total cost of ownership, and ensures that SAP innovations can be adopted without rework. Over time, custom code accumulation, undocumented changes, and fragile integrations can weigh down an ERP landscape. Clean Core directly addresses this by promoting upgrade-stable architectures.

Clean Core Extensibility Levels

SAP has evolved from an original three-tier model to a Clean Core Level Concept — a maturity model that classifies extensions into four levels:

LevelClassificationDescription
AFully compliantExtensions using only publicly released, stable SAP interfaces backed by formal stability contracts. Includes on-stack ABAP Cloud and side-by-side SAP Build/BTP extensions.
BCompliant (classic APIs)In addition to Level A criteria, uses SAP’s classic APIs — well-defined, documented, and generally upgrade-stable interfaces.
CPartially compliantAccess to SAP internal objects allowed for legacy scenarios. Requires a changelog-based assessment before upgrades.
DNot clean coreExtensions with severe violations: modifications, unapproved SAP objects, or unsupported extension technologies.

Extensibility Models

SAP S/4HANA Cloud offers two primary extensibility paradigms:

  1. On-Stack Extensibility — extensions built within the SAP S/4HANA Cloud ABAP environment
  2. Side-by-Side Extensibility — extensions built externally on SAP Business Technology Platform (BTP)

Both models are designed to deliver flexibility while preserving the integrity of the SAP core.


On-Stack Extensibility

On-stack extensibility refers to extensions developed directly on the SAP S/4HANA Cloud technology stack, using the ABAP Cloud development model within the SAP S/4HANA Cloud ABAP Environment. This approach is available in two forms:

Key User Extensibility (No-Code / Low-Code)

Designed for business users and functional consultants — no programming knowledge required. Using built-in SAP Fiori tools directly in the application, key users can:

  • Add custom fields to standard SAP objects and screens
  • Create custom business objects with their own data models and UIs
  • Define custom logic via business rules and validation
  • Adapt SAP Fiori UIs (page layouts, field labels, visibility rules)
  • Build simple analytical reports and KPI tiles

This option is tightly integrated with the SAP S/4HANA lifecycle, meaning extensions are automatically included in transport management and upgrade procedures.

Developer Extensibility (Pro-Code / ABAP Cloud)

Designed for professional ABAP developers who need deeper, more complex extensions. Using the SAP S/4HANA Cloud ABAP Environment and standard ABAP Development Tools (ADT) in Eclipse, developers can:

  • Write custom ABAP code using the ABAP Cloud development model
  • Implement Business Add-Ins (BAdIs) to hook into SAP standard logic
  • Create custom CDS (Core Data Services) views for data modeling
  • Build SAP Fiori Elements applications using the RAP (RESTful Application Programming) model
  • Develop OData services exposed to frontend or external consumers
  • Extend SAP standard applications at defined extension points

Governing Principles for On-Stack Development

On-stack developer extensions must comply with the following rules:

  • No modification of SAP standard objects is permitted
  • Only stable and publicly released SAP APIs, extension points, and ABAP objects may be used
  • Extensions must pass ABAP Test Cockpit (ATC) checks to verify Cloud readiness
  • All developments follow the SAP RAP programming model for building Fiori apps

Tools & Environment

ToolPurpose
Eclipse ADT (ABAP Development Tools)Primary IDE for ABAP Cloud development
ABAP Test Cockpit (ATC)Governance and clean core compliance checks
SAP Fiori ElementsFramework for building UI5 apps from CDS annotations
RAP (RESTful ABAP Programming Model)End-to-end model for OData-based Fiori apps
Release Object Tree (ADT)Discover publicly released APIs and extension points

Side-by-Side Extensibility

Side-by-side extensibility refers to extensions built externally to the SAP S/4HANA system, running on SAP Business Technology Platform (BTP). These extensions connect to the SAP core through remote APIs and events, keeping a clear architectural separation between custom code and SAP standard software.

This approach is particularly suitable when:

  • The extension serves users outside the SAP system (e.g., external customers, partners, new departments)
  • There is no need for tight transactional coupling with the SAP core
  • The team prefers non-ABAP languages (Java, Node.js, Python, etc.)
  • The use case demands freestyle UI development (native mobile apps, custom web portals)
  • The extension acts as an integration hub connecting multiple systems

Integration with SAP S/4HANA Cloud

Side-by-side extensions connect to SAP S/4HANA Cloud data and processes through:

  • Remote OData and REST APIs published on the SAP Business Accelerator Hub (formerly API Business Hub)
  • Business Events — SAP S/4HANA can publish events (e.g., sales order created) that BTP extensions subscribe to
  • SAP Event Mesh for asynchronous, event-driven integration patterns
  • SAP Integration Suite for orchestrating complex cross-system flows

Development Options on SAP BTP

SAP BTP supports multiple runtimes and frameworks for side-by-side extensions:

SAP Build (Low-Code / No-Code)

  • SAP Build Apps — drag-and-drop application builder for web and mobile
  • SAP Build Process Automation — workflow and RPA automation without coding
  • SAP Build Work Zone — unified digital workplace and portal experiences

CAP – Cloud Application Programming Model (Pro-Code)

The SAP Cloud Application Programming Model (CAP) is a comprehensive framework for building cloud-native applications on BTP. CAP simplifies the development of robust, scalable, and secure solutions by providing:

  • A declarative data modeling language (CDS)
  • Built-in OData service exposure
  • Out-of-the-box authentication and authorization
  • Seamless SAP S/4HANA integration via remote services

ABAP Cloud on BTP (ABAP Environment)

Developers who prefer ABAP can use the ABAP Environment on SAP BTP to build side-by-side extensions using the ABAP Cloud programming model — combining ABAP expertise with the freedom and scalability of BTP.

Custom Runtimes

BTP’s Cloud Foundry and Kyma (Kubernetes-based) environments allow development in any language or framework, including Java, Node.js, Python, and Go.

Tools & Environment

ToolPurpose
SAP Business Application StudioCloud IDE for developing extensions on BTP
SAP CAP (Cloud Application Programming Model)Framework for scalable cloud-native apps
SAP Build AppsLow-code/no-code app builder
SAP Business Accelerator HubAPI catalog and event catalog for S/4HANA integration
SAP Event MeshEvent-driven integration between systems
SAP Integration SuiteEnterprise integration and API management
Joule (AI Copilot)AI-assisted code generation across ABAP, Java, JavaScript, and low-code tools

Choosing the Right Extensibility Approach

Selecting the right model depends on three key factors:

1. Target User Group

ScenarioRecommended Approach
Users already within the SAP S/4HANA systemOn-Stack (Key User or Developer)
External users: customers, partners, new departmentsSide-by-Side (BTP)
Mixed audiencesBoth, with appropriate integration

2. Integration Requirements

ScenarioRecommended Approach
Frequent, transactional data exchange with SAP coreOn-Stack
Occasional or read-only access to SAP dataSide-by-Side
Building an integration hub across multiple systemsSide-by-Side
Analytical data hub or reporting applicationSide-by-Side

3. Lifecycle Stability

ApproachLifecycle Behavior
On-Stack (Key User)Integrated lifecycle — extensions move with the core through upgrades
On-Stack (Developer)Upgrade-safe when ABAP Cloud model and released APIs are used
Side-by-Side (BTP)Fully lifecycle-stable — extensions are decoupled from S/4HANA upgrade cycles

Extensibility Wizard

The Extensibility Wizard in SAP S/4HANA Cloud Public Edition provides direct, guided access to both on-stack and side-by-side extensibility options from within the SAP system. It helps business users and developers identify the right tool for their extension scenario without needing to navigate complex technical documentation.


Virtual Data Model (VDM)

All extensibility options rely on the Virtual Data Model (VDM) — SAP’s structured, business-friendly data access layer built on CDS (Core Data Services) views. The VDM:

  • Exposes enterprise data in a consistent, semantically rich format
  • Abstracts complex underlying database tables behind stable, business-meaningful views
  • Enables real-time data access while maintaining clean separation from physical data structures
  • Is the foundation for both OData APIs consumed by side-by-side extensions and CDS-based on-stack developments

Summary Comparison

DimensionOn-Stack (Key User)On-Stack (Developer)Side-by-Side (BTP)
Target UserBusiness users, consultantsABAP developersAny developer (ABAP, Java, JS, etc.)
ToolsSAP Fiori in-app toolsEclipse ADT, RAP, CDSSAP BAS, CAP, SAP Build
Coding RequiredNoYes (ABAP Cloud)Yes (various languages) or No (SAP Build)
Integration DepthTight (in-app)Tight (in-stack)Loosely coupled (remote API/events)
Upgrade SafetyFully managedSafe (with ABAP Cloud)Fully lifecycle-stable
Clean Core ComplianceLevel ALevel A (with released APIs)Level A
DeploymentS/4HANA Cloud stackS/4HANA Cloud ABAP Env.SAP BTP (CF, Kyma, ABAP)
Best ForField/UI/logic adaptationsDeep ABAP custom logicNew apps, portals, integrations

References