ERPClimb logoERPClimb
ABAP Cloud and Released APIs
RAP / CDS / ODataadvanced 7 min read

ABAP Cloud Part 7: Released APIs and Release Contracts

Preview · a free account unlocks the full lesson

Key takeaway

Understand release contracts (C0, C1, C2, C3, C4), API states such as released and deprecated, successor information, and how to release your own objects for other developers or for cloud development.

In this lessonShow sections

Visual overview

ABAP Cloud Part 7: Released APIs and Release Contracts — learning sheetIn one line: Understand release contracts (C0, C1, C2, C3, C4), API states such as released and deprecated, successor information, and how to release your own objects for other developers or for cloud development.ERPClimb.com / RAP / LESSON 7/7 / LEARNING SHEETABAP Cloud Part 7: Released APIs and Release Contracts1 · IN ONE LINEUnderstand release contracts (C0, C1, C2, C3, C4), API states such as released anddeprecated, successor information, and how to release your own objects for other developersor for cloud development.2 · KEY IDEAS EXPLAINEDVisibility Is Not PermissionIn a private cloud or on-premise system you cantechnically see and even call almost everything.In ABAP for Cloud Development, the compiler allows…The Release ContractsC0 — Extend: the object may be extended (e.g. CDSviews or tables that allow extension fields,BAdIs/enhancement points for extensions). SAP…C1 — Use System-Internally: the object may be usedin ABAP Cloud code (and/or key user apps) in thesame system. Most released CDS views, classes and…API StatesReleased — use it.Deprecated — still released, but a successorexists; ADT shows a warning and the successor.Migrate before it is removed.Finding Released APIsADT Project Explorer → Released Objects (by type).SAP Business Accelerator Hub (api.sap.com).3 · DO · AVOIDBest practice!Common mistakeCheck API state and contract before using anySAP object.Use ADT Released Objects, the Accelerator Huband the Cloudification Repository.Migrate deprecated APIs to successors early.✕Equating technical visibility with permission.✕Confusing C1 (local use) with C2 (remote API).✕Ignoring deprecation warnings until removal.4 · IN A REAL PROJECTDevelopers in a private cloud project argued that "we can see the table in SE11, so we may use it".The ABAP Cloud syntax check disagreed, and some developers started moving code to Standard ABAP to avoid theerrors. The architect explained release contracts with ADT's API State view, created a short list of commonly…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Parts 1 through 6 kept referring to objects as "released." This part explains exactly what that means.

Visibility is not the same thing as permission. In a private cloud or on-premise system, it's technically possible to see and even call almost everything. In ABAP for Cloud Development, though, the compiler only allows objects that are released for the required use — release status is actually part of an object's API state.

There are several release contracts, each covering a different kind of use. C0, Extend, means the object may be extended — for example CDS views or tables that allow extension fields, or BAdIs and enhancement points built for extension — and SAP keeps those extension points stable.

C1, Use System-Internally, means the object may be used in ABAP Cloud code and/or key user apps within the same system; most released CDS views, classes and RAP BO interfaces carry C1. C2, Use as Remote API, means the object is a stable remote interface — an OData or SOAP service, say — intended for side-by-side scenarios.

C3, Manage Configuration Content, covers content used in configuration scenarios. C4, Use in ABAP-Managed Database Procedures and Functions, means the object may be accessed from AMDP. Each contract defines exactly which changes SAP may make going forward — for C1, for instance, SAP commits to never removing released elements or making incompatible changes to them.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Referenced SAP objects

Reviewed reference pages for the objects this page mentions.

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.