New to SAP Architect? Start with the module overview
Clean Core Decision Framework for Custom Extensions: Consultant Reference
Quick answer
Clean core minimizes modification of SAP-delivered functionality and encourages supported extension points with explicit ownership and upgrade-safe contracts. It is an architectural principle, not a blanket prohibition on all custom code.
Consultant reference for Clean Core Decision Framework for Custom Extensions: purpose, common failure patterns, evidence to inspect, safe resolution and interview-ready reasoning.
Published 17 Nov 2026· 756 words
What this controls
Clean core minimizes modification of SAP-delivered functionality and encourages supported extension points with explicit ownership and upgrade-safe contracts. It is an architectural principle, not a blanket prohibition on all custom code.
When to use it
Apply the clean-core decision framework whenever a requirement cannot be met by standard SAP configuration or a released BAdI/Fiori extension point — before approving any ABAP modification in the core, and at every architecture review gate in an S/4HANA Cloud or RISE program. It is also the right lens for triaging an existing custom-code backlog during a greenfield or brownfield conversion.
Safe resolution path
Select the least-coupled supported option that satisfies transactional correctness and business needs. Record tradeoffs in an ADR and test after an SAP upgrade. Success means no unsupported core modification, correct process outcomes and documented API/extension contracts.
Common pitfalls
The most damaging mistake is treating 'clean core' as a binary ban on all custom code rather than a layered decision (in-app extensibility, side-by-side on BTP, or classic extension, in that order of preference).
Teams also underestimate the cost of side-by-side extensions when a simpler in-app extensibility option (a custom field, a BAdI, a CDS-based app) would have met the need with far less integration and lifecycle overhead. A third pitfall is skipping the released-API check — building a BTP extension against an unreleased interface defeats the entire purpose of staying upgrade-safe.
ECC, S/4HANA and clean core
Clean core did not exist as a formal concept in classic ECC, where direct core modification was the default extension pattern. S/4HANA, and especially S/4HANA Cloud, inverted that default: in-app extensibility and side-by-side BTP extensions are now the preferred path, and core modifications are treated as technical debt requiring explicit justification.
The practical effect on architecture review is that every extension request should start from 'can this be done without touching the core,' not 'how do we modify the core to do this.' Revisit this guidance at each major SAP release or upgrade cycle, since clean-core scope, released-API coverage and BTP service capabilities all continue to expand; a decision that required a workaround in one release may have a supported, upgrade-safe option in the next, so a periodic architecture-review checkpoint is worth scheduling rather than treating the original decision as permanent.
Typical production symptom
A team proposes a Z-table copy of a sales-order status plus scheduled synchronization for a simple custom field. That duplicates an SAP system of record and creates eventual-consistency errors. Compare key-user extensibility for supported fields, developer extensibility with ABAP Cloud and released interfaces, and BTP side-by-side for loosely coupled workflows.
Likely root causes
The most common causes are configuration mismatch, stale or incomplete master data, incorrect status or validity dates, authorization scope, integration mapping, timing or sequencing, and changes that were transported without their prerequisites. Avoid assuming the screen where the symptom appears is the layer that owns the defect.
What to inspect
Determine who owns the data, whether the extension requires the same SAP transaction, what latency and availability it needs, and whether released events/APIs exist. Evaluate edition compatibility, security, data residency, lifecycle maintenance and failure/retry behavior. Avoid choosing BTP solely because it sounds more modern.
Consultant and interview angle
A strong answer explains the controlling object or configuration, the evidence used to isolate the issue, the cross-module or integration dependencies, the safe fix, and the regression plan. Senior candidates should also explain monitoring, governance and how to prevent the same failure from recurring.
Worked design review and production acceptance
Decision exercise: sales users ask to capture a compliance attribute, derive a risk classification and send a notification to an external partner. Evaluate these as distinct extensions. A supported custom field may satisfy UI/storage without code, while derivation in the same transaction may require a released enhancement or ABAP Cloud implementation.
Partner notification may fit a post-commit event plus BTP integration instead of an HTTP call inside VA01 save logic. Record whether eventual consistency is permissible, what happens during partner outage and which component owns the authoritative order state. Consider public cloud versus private/on-premise restrictions: available extension points and direct access vary by edition.
Reject solutions relying on modifying SAP standard objects or maintaining duplicate Z copies without ownership/reconciliation. Validation should cover standard order creation, reversal or cancellation, authorization, mass processing, interface retry and software upgrade. A clean-core result is one with testable boundaries and supported contracts, not an architecture diagram that merely contains the BTP logo.
Learn this properly
Lessons and topics
Source: ERPClimb — https://erpclimb.com/sap-technical-topics/architect-clean-coreERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.