

AI for SAP ECC: What You Can Build Today Without Waiting for S/4HANA.
AI for SAP ECC has become one of the most urgent and misunderstood topics in the SAP ecosystem. Most enterprises are still running ECC or heavily customized S/4HANA environments,
while SAP’s flagship AI roadmap increasingly assumes a clean-core cloud architecture many organizations do not yet have.
Most SAP customers are not on a clean S/4HANA Cloud core. They will not be in 2027 either. And most of SAP’s flagship AI capabilities are built for a clean core.
That is the quiet tension at the center of every AI for SAP ECC conversation this year. The vendor decks assume a landscape most enterprises do not actually have. The Reddit threads are full of engineers asking if AI on ECC is even feasible. The practitioners who have made it work are not loud about it.
This post is for the third group. It is a practical guide to what AI for SAP ECC looks like in 2026: what is working, what is not, and why the 2027 deadline does not have to force a rushed migration to justify AI investment.
What “clean core” actually means, and why AI assumes it
Clean core is SAP’s term for an S/4HANA environment with minimal customization. Standard data structures. Public APIs instead of bolted-on ABAP. Extensions that live outside the ERP core, in a separate platform layer that SAP can upgrade without breaking the customer’s code. The architecture is designed so SAP’s own innovations, including its AI products, can ship against a predictable target.
This matters for AI for two structural reasons. First, machine learning needs consistent data shapes; custom ABAP that reshapes tables at runtime breaks that assumption. Second, agents that take actions need clean APIs to call; custom code that only runs inside the ERP is a black box to any external AI service.
The clean core is real and sensible. It is also, for 91% of SAP customers who run significant custom code today, a destination and not a starting point. Joule, Joule Agents, and the 2,400+ Joule skills SAP has shipped work best on an environment most customers do not have yet. That is not a flaw; it is a sequencing problem.
A copilot says Putting AI in SAP ECC is like putting lipstick on a pig. A top-voted comment on r/SAP, April 2026. The follow-up thread is more nuanced: the teams that invested in the data foundation first are the ones reporting real results. might want to check this order. An agent checks the order, identifies the problem, and resolves it, or escalates it to you with context already gathered.
Three SAP landscapes in 2026
What enterprises actually run tends to fall into three patterns. Being honest about which one you are in is the starting point for any AI for SAP ECC or S/4HANA conversation.
1. S/4HANA Cloud, clean or near-clean
A minority of customers, mostly greenfield implementations or heavily consolidated environments. SAP’s native AI (Joule, Joule Agents, Joule Studio) works best here. Features ship fast. Friction is lowest. If you are in this group, the vendor-led roadmap is largely applicable to you, and this post is not about you.
2. S/4HANA on-premise or private cloud, customized
The growing middle segment. These organizations moved off ECC but kept meaningful custom code during or after the migration. SAP’s AI works partially. Some features (SuccessFactors Joule for HR, finance automation, procurement AI) deliver value today; others (broad agent orchestration across the enterprise) require cleanup first. Decisions in this group are about which customizations to retire, which to refactor, and which to leave alone.
3. ECC with a mixed estate
Still the largest segment. ECC on-premise plus satellite SaaS plus whatever was added over two decades of operational reality. SAP’s native AI is largely out of reach for the ERP itself, but AI for SAP ECC is still doable. It just requires a different architecture than the one SAP is marketing for S/4HANA Cloud.
The third segment is where most of the anxiety lives, and where the useful answers are least well-articulated. The rest of this post is about that segment.
What AI for SAP ECC Can Actually Deliver Today
The community evidence is clear if you look past the marketing. On r/SAP and in enterprise IT circles over the past twelve months, several patterns of working AI on ECC have emerged. None of them require migrating first. All of them assume some investment in the data foundation underneath.
Document processing and invoice automation
OCR plus classification plus an external LLM for extraction. Connects to ECC through standard APIs or IDocs. Typical results: 40% faster AP cycles and lower processing costs. The AI does not sit inside ECC; it sits next to it and writes results back through governed interfaces.
Code and specification assistance
ABAP generation, tech spec drafting from functional requirements, test case creation. The tools doing this work (ChatGPT, Claude, Gemini, and purpose-built tools like research agents trained on SAP corpora) are external to ECC and pulled in at the developer workflow, not at the system level. Community reviews on r/SAP are consistent: external models beat Joule for code and documentation tasks today, especially for custom ABAP where Joule has limited context.
Analytics and natural language queries
SAP Business Data Cloud and Datasphere are the recommended data layers. External LLMs can sit on top of these with proper governance. Finance teams querying in plain English against extracted SAP data, without touching the ERP itself, is one of the most widely deployed AI for SAP ECC patterns right now.
Exception resolution and workflow triage
Harder, but achievable. Requires an orchestration layer that reads from ECC, reasons using an external AI service, and writes back only where business logic allows. The real work is in the governance, audit trail, and write-back rules, not the model. Done well, this delivers the kind of agent behavior that SAP markets for S/4HANA, just bolted on rather than built in.
Predictive maintenance
Works when the asset master data is in reasonable shape. The data foundation is the constraint, not ECC itself. Manufacturing customers with clean equipment records are seeing 30 to 50% reductions in unplanned downtime.
What you cannot realistically build on ECC today:
- Fully autonomous agents that write to core financial records without human approval (regulatory risk plus data lineage gaps make this unsafe).
- Native Joule experiences across the ERP (Joule’s skills catalogue is built for S/4HANA data models).
- Anything that depends on clean, standardized master data you do not actually have.
The real bottleneck wasn’t AI, it was the data. Inconsistent master data, missing context, and no proper lineage meant the outputs were only as good as the mess underneath. Solution architect, r/SAP, April 2026.
The AI Architecture Pattern That Works for SAP ECC
Across successful AI for SAP ECC implementations, a common architecture has emerged. Four layers, each doing one job:
- Data foundation. Master data cleaned, critical objects wrapped with APIs, lineage documented. Unglamorous, essential. Most projects that claim to fail on AI actually fail here.
- Integration and orchestration layer. An application platform that runs natively inside ECC, reads business data through standard interfaces, and brokers calls to external services. This is where custom code gets modernized incrementally rather than rewritten wholesale.
- AI services. Some SAP-native (BTP AI Core, Gen AI Hub, Joule where applicable), some external (OpenAI, Anthropic, Google, Microsoft). The orchestration layer handles which model runs where, under what governance, with what audit trail.
- User experience. AI outputs surface inside the screens where work already happens, not in a separate portal and not in a different tool. This is what separates a working agent from an expensive demo.
This pattern decouples the AI strategy from the ERP migration. You can start building now, on ECC, and what you build comes with you when you migrate. That is the whole point.
NEPTUNE CONTEXT
This is the architectural gap platforms like Neptune DXP are increasingly designed to fill: providing a governed orchestration and application layer that can sit across ECC and S/4HANA landscapes without forcing immediate rewrites.
2027 is a deadline, not a migration date
SAP’s ECC mainstream maintenance ends December 31, 2027. Extended maintenance runs to 2030 at a meaningful premium. The deadline forces a decision, but it does not dictate a single answer.
Three realistic paths, each with different AI implications:
- Stay on ECC with extended maintenance. Buys time but costs more, and pushes the AI question out rather than answering it. Most enterprises that choose this path do so because a migration is not feasible in the timeline, not because ECC is a better platform for AI.
- Selective or hybrid migration. Move the highest-value modules first, keep ECC running where it works, plan a 3 to 5 year transition. This is where most of the interesting AI work is happening, because it forces investment in the integration and orchestration layer that supports both systems simultaneously.
- Full migration to S/4HANA Cloud. Clean core, native AI, fastest access to SAP’s agent roadmap. Requires meaningful custom code rewriting and typically a 2 to 4 year project. Horváth found that 60% of companies in this migration say they are not agile, efficient, or flexible enough to adopt Joule alongside the transformation. Plan accordingly.
Any of these paths benefits from an AI orchestration layer built now. An AI investment made on top of a clean architectural pattern survives the migration. An AI investment bolted into ECC custom code does not.
Why Enterprises Are Building AI on SAP ECC Before Migration
The counterintuitive argument worth making explicit: investing in AI orchestration before migration actually makes migration easier.
When AI capabilities live in a platform layer rather than inside the ERP, they transfer. When the platform layer speaks to both ECC and S/4HANA, the transition can be phased by module rather than by system. And when AI use cases have already been validated on top of a data foundation you own, the business case for the migration itself gets stronger, not weaker.
The SAP customers who are winning with AI on ECC are not the ones waiting for a clean S/4HANA landscape. They are the ones who picked two or three high-value use cases, invested in the data foundation under them, and deployed AI as part of the workflow. The migration comes when it comes. The AI value compounds in the meantime.
That is the practical answer to “can you run AI on SAP ECC?” Yes, if you architect for it. And the teams doing it well will have a running start on the migration they have to do anyway.

