SAP Wants AI Agents to Fix Your Custom Code. We Find Out How on 27 October.
SAP

SAP Wants AI Agents to Fix Your Custom Code. We Find Out How on 27 October.

SAP TechEd Berlin starts 27 October with sessions on agent-led custom code migration. What SAP announced, the clean core levels, and what to ask in the room.

Every ECC migration has the same villain. Not the budget. Not the database. The custom code.

Thousands of Z programs, user exits, forms and reports. Written over twenty years. Understood by three people, two of whom have left.

SAP now says AI agents can take that on. The proof is due at SAP TechEd Berlin, 27 to 29 October. The virtual edition is free.

This is a preview. I have not seen the sessions. What I can do is show you what SAP has put on the agenda, explain the framework behind it, and give you the questions that separate a good demo from a good result.

The short version: SAP says an agent-led toolchain will take custom code from planning to "mass remediation". Whether that works depends on one number: how many of the agent's fixes survive review and testing untouched.

What SAP has put on the agenda

From SAP's own TechEd 2026 ABAP session overview:

Diagram of the custom code pipeline: plan, classify, remediate with an agent, then review and test, with the steps SAP names and the steps you own
Where an agent fits, and where you still sign. Diagram by ayraix.com.

First, the framework: clean core levels

To judge any agent, you need to know what "fixed" means. SAP defines it with clean core levels, introduced in August 2025 to replace the old three-tier model.

Here is something I find telling. SAP's own community guidance says the old binary view, "clean core" versus "not clean", was "too restrictive" for systems with a lot of classic custom code. In other words, SAP changed the model because real landscapes could not meet the old one.

For governance, SAP recommends the ABAP Test Cockpit, and says central ATC on SAP BTP is its recommended approach for governing clean core development in private cloud and on-premises landscapes.

Diagram of SAP clean core levels A to D with a short description of each
Where your Z code lands. SAP's four levels. Diagram by ayraix.com.

Why this matters beyond the conference

Custom code is one of the main reasons customers give for being late. A partner CEO told CIO.com that many customers are "stuck on ECC due to Z codes and industry customizations". DSAG's chairman points to complex landscapes and skills shortages.

And remember the calendar. SAP says mainstream maintenance for ECC ends in 2027 and extended maintenance in 2030. If agents can safely cut the custom code effort, the migration math changes. That "if" is the whole story.

What an agent can do well, and where it gets risky

My read, not SAP's: some custom code work is a good fit for machines.

An agent that clears a technical check can still break a business outcome. That is why the review and test step matters as much as the remediation step.

Questions to ask in the room

  1. What share of fixes needs no human edit? Ask for the number, and the size and kind of the sample behind it. A demo on tidy code proves little.
  2. How is a change reviewed, tested and transported? Does the agent propose, or does it write straight into a development system?
  3. What happens to code that cannot reach level A or B? Rewrite, retire, or keep outside the core?
  4. How does it behave on my release and add-ons? The session text talks about Cloud ERP Private as the target. Ask about S/4HANA on-premises too.
  5. What does mass remediation cost to run? Ask about any consumption charges and who pays for failed attempts.
  6. Who is accountable when an agent-made change causes an incident? You will need that answer in writing.

A role-based plan for the week

All times below are CET, as listed by SAP. Several sessions overlap, and some have virtual replays or a second slot, so check the schedule before you travel.

A scorecard to fill in while you listen

How to run your own pilot after Berlin

  1. Pick three clusters of custom objects: one simple, one typical, one ugly.
  2. Estimate the manual effort first. Before the agent touches anything.
  3. Run the agent, then measure: edits needed, tests passed, defects found in QA, hours spent.
  4. Decide the bar before you start. For example: most fixes accepted without edits and no serious regressions. If you set the bar after the results, you will fool yourself.
  5. Scale only what passed. Keep the ugly cluster as the honest test.

The take

Do not judge this by the demo. Demos use tidy code.

Judge it by a number from a messy system: fixes accepted without edits, tests passed, hours saved, incidents caused. If SAP shows those, it is genuinely big news for every ECC shop in the world.

We will be watching. After Berlin, we will come back and report what was actually shown, not what was promised.

Sources