
SAP’s updated extensibility model (which replaced the older 3-tier extensibility model) classifies custom extensions into four Clean Core Levels (A, B, C, and D) based on upgrade safety, architectural integrity, and compliance with SAP-released interfaces.
In the architecture above, Levels A and B are considered Clean Core, Level C is Conditional Clean Core, and Level D is Not Clean Core.
Summary Comparison
| Level | Status | Technical Approach | Upgrade Risk | ATC Finding |
| Level A | Clean Core (Target) | ABAP Cloud (on-stack) & SAP BTP (side-by-side) using released APIs | Lowest | No message |
| Level B | Clean Core (Approved Classic) | Classic ABAP using SAP-recommended classic APIs & extension points | Low | Priority 3 (Info) |
| Level C | Conditional Clean Core | Classic ABAP using internal SAP objects monitored via changelog checks | Medium to High | Priority 2 (Warning) |
| Level D | Not Clean Core | Modifications, implicit enhancements, and explicitly non-recommended objects (noAPI) | Highest | Priority 1 (Error) |
Detailed Breakdown & Practical Examples
1. Level A — Clean Core (Modern & Cloud-Ready)
Extensions built exclusively with released SAP APIs (local or remote), released CDS views, and released extension points. They run either on-stack using the ABAP Cloud development model (including Key User Extensibility) or side-by-side on SAP Business Technology Platform (BTP).
- On-Stack Examples:
- Adding a custom field to a Purchase Order or Material Master using Key User Extensibility (Custom Fields and Logic app).
- Building a custom Fiori app on S/4HANA using the ABAP RESTful Application Programming Model (RAP) that reads data solely through released
I_CDS views (e.g.,I_PurchaseOrderAPI01). - Implementing a released Cloud BAdI (such as
MM_PUR_S4_PO_MODIFY_HEADERfor purchase order header validations).
- Side-by-Side Examples:
- Creating an external supplier onboarding or approval workflow app on SAP BTP using SAP Build Apps, SAP Build Process Automation, or CAP (Cloud Application Programming Model), communicating via standard OData/REST APIs and SAP Event Mesh.
2. Level B — Clean Core (Approved Classic ABAP)
Extensions in S/4HANA Cloud Private Edition or On-Premise that use classic ABAP, but strictly rely on SAP-recommended classic APIs and extension points where a Level A released alternative does not yet exist.
- Examples:
- Calling classic released BAPIs (e.g.,
BAPI_PO_CREATE1to create a purchase order orBAPI_GOODSMVT_CREATEto post a goods movement in MIGO) instead of direct table updates. - Implementing classic BAdIs (e.g.,
ME_PROCESS_PO_CUSTfor custom PO checks) or standard customer exits/user exits explicitly documented by SAP as supported extension points. - Using classic IDocs or standard RFC function modules approved for integration.
- Calling classic released BAPIs (e.g.,
3. Level C — Conditional Clean Core (Monitored Legacy/Internal Objects)
Extensions built using SAP internal objects (objects that are neither officially released for ABAP Cloud nor explicitly blacklisted as noAPI). They are tolerated temporarily as “conditionally clean” if tracked with SAP’s Changelog for SAP Objects in ABAP Test Cockpit (ATC) during upgrades.
- Examples:
- Writing a custom ABAP report (
Z_STOCK_REPORT) that performs aSELECTdirectly against standard internal tables likeMARA,EKKO,EKPO, orMSEGrather than a released CDS view. - Calling an internal, unreleased SAP function module or class method (e.g., internal
LIPS/VBRKhelper routines) that SAP has not marked asnoAPI. - Using legacy batch input (
BDC) recordings on standard transactions likeVL01NorMM02where a BAPI or API exists.
- Writing a custom ABAP report (
4. Level D — Not Clean Core (High Technical Debt)
Extensions that violate SAP extensibility rules by altering standard SAP code, bypassing application logic, or using objects explicitly marked as not recommended (noAPI) in the Cloudification Repository. These require mandatory remediation planning.
- Examples:
- Core Modifications: Registering an SSCR object key to directly edit standard SAP includes (such as
MV45AFZZor standard function groups). - Implicit Enhancements: Injecting custom code at the beginning or end of a standard SAP subroutine/method where SAP provided no explicit enhancement spot.
- Direct Database Writes: Executing direct
UPDATE,INSERT, orDELETEstatements on standard SAP tables (e.g., modifyingVBAPorMARDdirectly in ABAP). - Blacklisted Objects: Using objects flagged as
noAPIin ATC checks (e.g., obsolete internal cluster tables or deprecated internal modules).
- Core Modifications: Registering an SSCR object key to directly edit standard SAP includes (such as
Thanks, and Best Regards,
Ganesh Padala
Discover more from GANESH SAP SCM
Subscribe to get the latest posts sent to your email.