SAP BTP & Extensibility

ABAP Cloud

ABAP Cloud is SAP's development model for building cloud-ready, upgrade-stable ABAP applications, services and extensions. ABAP Cloud combines ABAP CDS, the ABAP RESTful Application Programming Model, a restricted ABAP language version and released SAP APIs only. ABAP Cloud is not a product: it runs in the SAP BTP ABAP environment and inside SAP S/4HANA.

Quick facts

Type
ABAP development model (not a product)
Layer
Business logic & data model; SAP BTP
Building blocks
ABAP CDS, RAP, ABAP for Cloud Development, released APIs, ABAP Development Tools
Language versions
ABAP for Cloud Development (developers); ABAP for Key Users (key user tools)
Available in
SAP BTP ABAP environment, Public Edition, Private Edition and on-premise from SAP S/4HANA 2022
Who works with it
ABAP developers, development leads, extensibility architects
Applies to
SAP S/4HANA (all deployment options), SAP BTP
Layer: Business logic & data modelWhere it sits ▾
Where it sits: L5 · Business logic & data modelLayer: Business logic & data model. Also touches: SAP BTP.L1L2L3L4L5L6BTP

Layer: Business logic & data model

Also touches: SAP BTP

Open the architecture map →

What does ABAP Cloud consist of?

SAP describes ABAP Cloud as a development methodology built from parts that already existed in the ABAP platform, combined under one set of rules:

  • ABAP CDS for data models and analytical queries.
  • The ABAP RESTful Application Programming Model (RAP) for transactional business objects and services.
  • ABAP for Cloud Development, a restricted language version that allows only a subset of ABAP statements; classic dynpro screens, for example, are not part of it.
  • Released SAP APIs and extension points as the only allowed way to reach SAP code and data.
  • ABAP Development Tools in Eclipse as the IDE, with ABAP development tools for Visual Studio Code as a further option.

On top of these, the model provides reuse services such as number ranges, application jobs and a UI repository for SAPUI5 and SAP Fiori elements apps. ABAP Cloud is therefore a rulebook for using modern ABAP, not a new language or a separate runtime.

Where is ABAP Cloud available?

ProductDevelopment modelsNotes
SAP BTP ABAP environmentABAP Cloud onlyIntroduced the ABAP for Cloud Development language version in 2018
SAP S/4HANA Cloud Public EditionABAP Cloud onlyUsed for developer extensibility, on-stack in the same system
SAP S/4HANA Cloud Private Edition and on-premiseABAP Cloud and classic ABAPAvailable from SAP S/4HANA 2022 (ABAP 7.57)

The SAP BTP ABAP environment is a platform service for side-by-side ABAP development and is often called by its internal SAP project name, Steampunk. In SAP S/4HANA, the same model runs inside the ERP, which SAP's ABAP glossary calls embedded Steampunk. In Private Edition and on-premise, each development object carries a language version, so a team can build new objects with ABAP Cloud while older code stays classic.

ABAP Cloud is the only ABAP option in public cloud products and the recommended option, next to classic ABAP, everywhere else.

How does ABAP Cloud enforce upgrade stability?

ABAP Cloud turns clean core rules into checks that run while the code is written:

  1. Every development object has an ABAP language version. Objects in ABAP for Cloud Development are checked by the syntax check and at runtime.
  2. The syntax check accepts only SAP objects released for cloud development under release contract C1, plus extension points released under C0.
  3. SAP checks its own released objects against their release contract, so incompatible changes are not expected in an upgrade.
  4. In Private Edition and on-premise, where a needed released API is missing, SAP's guidance allows a wrapper written in classic ABAP, released by the customer with contract C1 and governed with ABAP Test Cockpit checks.

At Alder Manufacturing, a custom approval app for supplier onboarding built this way reads supplier data through released CDS views, not through SAP tables. ABAP Cloud makes upgrade stability a compiler property instead of a code review promise.

What are the strengths of ABAP Cloud?

  • Predictable upgrades. Code that compiles under ABAP Cloud depends only on released objects, which reduces regression work in each release change.
  • One model across deployments. The same skills and patterns apply in the SAP BTP ABAP environment, in Public Edition and in Private Edition or on-premise.
  • Existing ABAP skills. Teams keep ABAP, transports and familiar lifecycle management instead of switching languages.
  • Proximity to data. On-stack ABAP Cloud code runs next to SAP S/4HANA data and transactions, with transactional consistency that a remote extension cannot offer.
  • Built-in SAP Fiori path. RAP services feed SAP Fiori elements apps directly.

For custom ABAP that must survive release changes, ABAP Cloud is the development model SAP's tools, checks and documentation are built around.

Where does ABAP Cloud stop?

  • Bounded by released APIs. Where SAP has not released an object, ABAP Cloud code cannot use it. In Public Edition the gap stays open until SAP releases an API; elsewhere it is bridged with wrappers that need ownership.
  • Legacy patterns are excluded. Classic dynpro screens and reports with SAP GUI output are not part of the model, so existing code rarely ports without redesign.
  • Learning curve. CDS, RAP behavior definitions and Eclipse-based tools are new to many classic ABAP developers.
  • Not a governance process. ABAP Cloud guarantees how code depends on SAP; it does not decide what to build, who owns it or how it links to a business process.

ABAP Cloud secures the technical dependency; scope, ownership and process fit remain separate decisions.

What are common mistakes when adopting ABAP Cloud?

  1. Treating ABAP Cloud as a product to license. It is a development model; the products are the SAP BTP ABAP environment and SAP S/4HANA.
  2. Mixing language versions without a plan. In Private Edition, decide per software component which objects must be ABAP Cloud and enforce it with ABAP Test Cockpit.
  3. Wrapping by default. A C1 wrapper is a bridge for a missing API; search for a released API first.
  4. Choosing the wrong location. Use on-stack ABAP Cloud when the logic needs transactional consistency with SAP S/4HANA data; use the SAP BTP ABAP environment or other runtimes when the extension needs its own lifecycle.

The decision criterion is the dependency: if the logic must change SAP data within the same unit of work, ABAP Cloud on-stack is usually the right home.

ABAP Cloud vs. clean core: what is the difference?

ABAP CloudClean core
What it isA development model and ABAP language versionA principle and governance target
ScopeCustom ABAP code on-stack or in the SAP BTP ABAP environmentExtensions, configuration, integration, data and operations
Enforced bySyntax and runtime checks on released APIsPolicy, ABAP Test Cockpit checks, clean core levels
RelationshipOne of the main ways to reach the goal for ABAP codeThe goal

ABAP Cloud is the development model that makes custom ABAP clean by construction; clean core is the broader target it serves.

FAQ

Is ABAP Cloud the same as the SAP BTP ABAP environment?

No. ABAP Cloud is the development model; the SAP BTP ABAP environment is one product that offers it, as the only ABAP model available there. SAP S/4HANA Cloud Public Edition, Private Edition and on-premise from release 2022 also offer ABAP Cloud.

Can I use ABAP Cloud in SAP S/4HANA on-premise?

Yes, from SAP S/4HANA 2022 (ABAP 7.57). On-premise and Private Edition systems offer ABAP Cloud next to classic ABAP, and each development object's language version decides which rules apply. SAP recommends ABAP Cloud for new development wherever possible.

Can ABAP Cloud code call BAPIs or read SAP tables?

Not directly. ABAP Cloud code may use only released APIs. In Private Edition and on-premise, a wrapper written in classic ABAP and released with contract C1 can expose a classic API such as a BAPI to ABAP Cloud code.

Which IDE do I need for ABAP Cloud?

ABAP Development Tools in Eclipse are the main IDE for ABAP Cloud, and SAP also offers ABAP development tools for Visual Studio Code. Key user tools use the separate ABAP for Key Users language version inside SAP Fiori apps, without an IDE.

Sources

Applies to
SAP S/4HANA Cloud Public Edition · SAP S/4HANA Cloud Private Edition · SAP S/4HANA on-premise · SAP BTP
Last reviewed

SAP, SAP Fiori, SAPUI5, SAP S/4HANA, SAP BTP and other SAP products and services mentioned are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. This guide is independent and is not affiliated with, sponsored or endorsed by SAP SE.