ABAP Cloud Part 7: Released APIs and Release Contracts
Preview · a free account unlocks the full lesson
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 sectionsHide sections
Visual overview
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.
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.