SAP Clean Core
Extensions that don't stand in the way of upgrades. We assess your custom code, map every requirement to the right extensibility option, and keep your S/4HANA core permanently upgrade- and cloud-ready – within the SAP standard, without workarounds.








What does Clean Core mean at SAP?
Clean Core is the principle of keeping the SAP S/4HANA ERP core free of modifications and implementing extensions exclusively through defined extensibility options – In-App Extensibility via key-user tools for simple adjustments, Side-by-Side Extensibility on SAP BTP for standalone applications, and Developer Extensibility following the ABAP Cloud programming model for deeper extensions within the system itself.
The difference from classic customizing is the separation of core and extension: adjustments run through released, stable interfaces instead of modifications to SAP standard objects. That takes more discipline during the project – but it pays off with every future upgrade, every release-upgrade decision, and especially with a possible migration to SAP S/4HANA Cloud.
Your starting point
What makes the Clean Core principle difficult today
- Decades-old Z-programs and user exits block every major upgrade
- No visibility into how much custom code is actually still used in production
- Development teams barely know, or don't know at all, the SAP BTP extensibility options
- Migration to SAP S/4HANA Cloud (Public Edition) seems impossible because of existing custom code
- No process to implement new requirements "clean" from the outset instead of as a modification
- Modification sprawl built up over years of changing external consultants
What we deliver
Custom code assessed, extensions implemented cleanly
- Custom code analysis with SAP's own tools – the Custom Code Migration app and the ABAP Test Cockpit (ATC)
- Assessment for every finding: retire it, extend in-app, or implement side-by-side on SAP BTP
- New requirements implemented exclusively through approved extensibility options
- A Clean Core guideline for your team that keeps applying to new requirements after the project ends
Extensibility options
Extending the approved way
SAP defines clearly bounded paths for extensions – every requirement can be mapped to one of them.
Which option fits in a given case depends on the scope of the requirement and your target architecture – we assess that together with you in the custom code assessment.
Scope of services
The building blocks of a clean core
From the initial assessment to ongoing governance – these building blocks turn the Clean Core principle into an actionable project.
In-App Extensibility (Key User Tools)
Adjust your own fields, forms, and simple analyses via the Fiori key-user tools – without developer effort and without modifying the core.
Side-by-Side Extensibility (SAP BTP)
Standalone applications on SAP BTP, decoupled from the S/4HANA core and connected exclusively through released APIs.
ABAP Cloud & RAP
New development following the cloud programming model with the ABAP RESTful Application Programming Model instead of classic, core-near ABAP.
Released APIs & CDS Views
Access data and processes through stable, SAP-released interfaces instead of direct access to internal tables.
Custom Code Migration & ATC
Inventory and assessment of existing modifications using the Custom Code Migration app and the ABAP Test Cockpit.
Governance & Guardrails
Clear rules that prevent new technical debt from building up after the project – documented and applicable by your team.
Clean Core in detail
From assessment to lasting governance
Why Clean Core isn't an end in itself
A clean core isn't a principle for its own sake – it's the precondition for an upgrade to a new S/4HANA release taking weeks instead of months, and for a later migration to SAP S/4HANA Cloud (Public Edition) to remain a realistic option at all. Every modification to the core is a point you'll have to re-check and rework with every future release.
- Shorter, more predictable upgrade projects instead of months of reconciling modifications
- The migration path to SAP S/4HANA Cloud (Public Edition) stays open instead of being blocked
- Lower follow-up costs, because extensions don't need to be retested with every release
- A clear line between the SAP standard and your own extensions
From custom code to approved extensibility
Not every modification has to go – but every one should be assessed deliberately. Using the Custom Code Migration app and the ABAP Test Cockpit, we analyze your existing codebase, identify critical findings, and map each one to a target path: retire it in favor of a standard function, rebuild it in-app, or move it side-by-side to SAP BTP.
- Automated analysis of all custom code objects for access to SAP standard objects
- Prioritization by actual usage instead of blanket retirement of every finding
- Migration to released APIs and CDS views wherever an SAP standard path exists
- Side-by-side implementation on SAP BTP for requirements that need no core change
Guardrails that hold up beyond the project
A one-off cleanup accomplishes little if the next requirement ends up as a core modification again. That's why we establish a Clean Core guideline that defines how new requirements will be assessed going forward and mapped to an extensibility option – documented and applicable by your team on its own.
- Decision tree: which requirement runs through which extensibility option
- Approval process for new development requirements before implementation
- Training key users for in-app extensions without developer involvement
- Regular custom code reviews so new sprawl doesn't build back up
Use cases
Typical scenarios
Clean Core is rarely commissioned as an end in itself – usually there's a concrete initiative behind it that requires a clean core.
Migration preparation for S/4HANA Cloud
Custom code assessment as the basis for deciding whether and how a migration to SAP S/4HANA Cloud (Public Edition) becomes realistic.
Retiring Z-reports with Fiori & CDS views
Old Z-reports and custom transactions are replaced by Fiori apps built on released CDS views – same function, clean path.
Side-by-side instead of a core modification
A new requirement is implemented as a standalone application on SAP BTP instead of writing it into the core via a user exit.
Custom code assessment before a brownfield upgrade
Before a planned upgrade, the existing codebase is assessed so it's clear which modifications actually block the upgrade.
Your benefits
Why Clean Core pays off
Predictable upgrades
Release upgrades without months of reconciling modifications, because the core stays untouched.
Cloud migration path stays open
The path to SAP S/4HANA Cloud (Public Edition) isn't blocked by custom code.
Lower follow-up costs
Extensions built on released interfaces don't need to be retested with every release.
Auditable extensions
Traceable where and why you're deviating from the SAP standard – instead of scattered modifications.
Governance that holds up
A guideline for future requirements instead of a one-off cleanup.
SAP-standard compliant
Implementation exclusively within the SAP standard, without workarounds that block updates.
Rapid prototyping approach
Working prototypes for prioritized extensions instead of pure concept papers.
A dedicated point of contact
An experienced team supports you from the assessment through to ongoing governance.
News, real-world insights, and perspectives from our SAP experts. (German-language articles)
Frequently Asked Questions
FAQ: SAP Clean Core
The most important questions about custom code, extensibility, and cloud migration.
No. Clean Core doesn't forbid extensions – it requires that they run through defined extensibility options instead of direct modifications to SAP standard objects. In-App Extensibility, Side-by-Side Extensibility on SAP BTP, and ABAP Cloud/RAP cover the vast majority of requirements that used to be implemented as modifications.
In-App Extensibility runs directly within the S/4HANA system via key-user tools – for simple adjustments like custom fields or forms, without developer resources. Side-by-Side Extensibility runs on SAP BTP as a standalone application that communicates with S/4HANA via released APIs – for more complex, decoupled extensions.
No. With SAP S/4HANA Cloud (Public Edition), Clean Core is technically enforced, since modifications to the core aren't possible there at all. With SAP S/4HANA Private Cloud or on-premise, it's technically possible to deviate from the principle – but it's still advisable, to keep upgrades predictable and to preserve the option of a later cloud migration.
That depends on the size of the existing codebase. The automated analysis with the Custom Code Migration app and the ABAP Test Cockpit delivers initial results within a few days; the subsequent functional assessment and prioritization of findings takes a few weeks, depending on system size.
No. We prioritize findings by actual usage and upgrade relevance. Rarely used or uncritical modifications can be documented first and retired later – the focus is initially on the findings that block a concrete upgrade or a cloud migration.
We start with the custom code assessment, evaluate every relevant finding, and map it to an extensibility option. We then implement prioritized extensions within the SAP standard and hand over a Clean Core guideline that lets your team correctly classify future requirements on its own.
A core that doesn't stand in the way of upgrades
Schedule a short initial consultation: we'll clarify how critical your existing custom code really is, which extensibility option fits your requirements, and whether a migration to SAP S/4HANA Cloud becomes realistic.




