How we are building SAP Solution Manager change-management knowledge into AI-assisted development, and what happened when we asked the AI to check its own homework.
Tens of thousands.
That is how often a change document in our SAP Solution Manager 7.2 Change Request Management, ChaRM for short, travelled backwards. Not forward toward production, but back to the one status nobody wants to see twice: In Development.
When we first saw the figure, the room went quiet. Behind it were thousands of change transactions, more than one in five of everything we had analyzed. Every one of them had been sent back for rework at least once, and the price showed up in the calendar. A change that needed rework took on average more than two weeks longer from start to finish than a change that flowed cleanly. Those extra weeks, again and again, for developers, testers, transport managers and the business waiting for its fix.
The real surprise came when we asked where the changes fell back. More than half of all backward moves happened at the very first gate: a change was set to Developer Test and then returned to In Development. Another third came back after Transp. in Test System done, at a point where the transport had already been released and every correction meant starting again with a new transport request. Two handovers alone were responsible for 85 percent of all rework.
And the cause was rarely difficult code. It was unfinished work: a code-quality check that never ran, a transport task left open, a dependency warning nobody read, a status set one step too early. The rules existed. They were simply not at hand at the moment they mattered.
That observation turned into the question that has driven our work ever since:
What if the ChaRM rules were not a forty-page training document, but a colleague sitting next to the developer at the exact moment the status button is about to be pressed?
This is the story of how we are building that colleague with AI, how far we have come, and the twist we did not see coming.
If you have never worked with ChaRM, picture a relay race. Seven runners share the track: the Requestor who asks for the change, the Change Manager who opens and approves it, the Developer who builds it, the QS-Developer who reviews it independently, the Tester who validates it, the Change Board that gives the final go, and the Transport Manager who moves it through the landscape. On the maintenance line the baton changes hands eighteen times; on the release line, seven. Each runner owns a clearly defined handover, and in our process being “Responsible” means consciously setting the change document into its next status.
Every handover carries rules, and many of them have hard technical consequences. While the developer is still testing, ChaRM creates a Transport of Copies, a snapshot of the original transport that a scheduled job imports into the test system, so testing can begin long before anything is released for good. When the Transport Manager sets the status Released for Transport in Test, the original transport request is released, and from that moment it is frozen: every later correction needs a brand-new transport request. Meanwhile the Cross-System Object Lock guards every object from the first time it is saved in a ChaRM transport, stopping parallel changes in the same maintenance system with a hard error and flagging conflicts on the release line as warnings that must still be reviewed. And once a production fix is delivered, Retrofit carries it back into the project landscape, so that the next release does not silently overwrite it.
Now think again about those thousands of changes that fell back after the test import. Each of them had already passed the point of no return. Each one meant a new transport, new copies, new tests, and usually an uncomfortable conversation with the Change Manager. The rules are not bureaucracy. They are the guard rails that keep these costs from happening.
Picture a Thursday afternoon. A developer has just finished a fix. The Change Manager is asking for an update, the test system is waiting, and the status button in the ChaRM user interface is right there.
Developer: “Unit tests are green. I’ll set it to QS-Check. If anything is missing, my QS colleague will catch it.”
QS-Developer, two days later: “The code-quality check never ran, and one task in the transport is still open. Back to In Development.”
Nobody did anything wrong on purpose. The developer simply did not have the full checklist for this status, on this line, in this landscape, in front of them at the moment of the decision. The knowledge was scattered across a training guide, a responsibility matrix, SAP Help pages and the heads of a few experienced colleagues.
That is the real problem. ChaRM rules are knowledge-intensive, context-dependent and needed at a very precise moment, and humans are not good at recalling eighteen statuses’ worth of preconditions under time pressure. Machines are. That is where AI enters the story.
Our developers increasingly work in Visual Studio Code rather than only in SAP GUI or Eclipse. That gave us a natural stage, because everything a modern AI assistant needs can be brought into that one window. The solution has eight characters, and each of them plays a distinct part.
The first is the developer’s desk, the VS Code workspace itself. It holds not only code but also the written ChaRM rules, kept as plain Markdown documents under version control, together with instruction files that tell the AI how to behave in this project and reusable prompts for recurring tasks, such as checking that every connection is alive.
At that desk sits the thinker: GitHub Copilot in agent mode. It plans its steps, calls tools, compares what the rules require with what the system shows and, most importantly, explains its reasoning in plain language and names the source of every rule it applies.
The thinker never talks to company systems directly. Every request goes through the switchboard, our enterprise server built on the Model Context Protocol. It publishes a curated catalog of approved internal services as tools, marks which of them are strictly read-only, and lets the AI discover them at runtime instead of relying on hard-coded connections. Security is decided here, not in a prompt.
Behind the switchboard waits the librarian: a dedicated chatbot on the company’s internal AI platform. Its knowledge base holds every rule document, from the process skeleton and the responsibility matrix to Transport of Copies, object locking, cross-reference checks, downgrade protection, withdrawal and manual retrofit. The librarian can answer a question in natural language, but it can also do something even more useful for an AI agent: return the exact passages that match a query, each one labelled with the document it came from.
The librarian’s shelves are filled from the archive, the Git repository on the developer’s desk. Every rule document lives there first. Every change is a commit with a reason, every finished state is a tagged release, and only reviewed documents are synced to the librarian. Without the archive, the librarian would slowly drift away from the truth.
To look at the code itself, the thinker crosses the bridge: the ABAP Remote File System extension, which speaks SAP’s ABAP Development Tools protocol and lets the AI read objects and run checks in the SAP development systems without ever leaving VS Code.
One character is still under construction: the window. It will be a read-only interface on our sandbox Solution Manager system that shows the live state of a change document: its status, its transports and tasks, the transport copies and where they have been imported, the cross-reference check results, the object locks and the code-quality evidence. It will be exposed through the company API platform and authenticated with the user’s own identity, so that nobody sees more through the AI than they are allowed to see in Solution Manager itself.
And finally there is the referee: SAP Solution Manager 7.2 with ChaRM. It remains the system of record and the only place where statuses are actually set and enforced. The AI advises; the referee decides.
Imagine the window is finished. A developer types a single question into VS Code: “Can I set my change document to QS-Check?”
The thinker first turns to the switchboard and asks the librarian for the rules that apply to that status, on that line, in that landscape. Within seconds it holds the relevant passages, each with its source. Next it asks the switchboard to look through the window. What is the current status of this change document? Which transports and tasks belong to it, and are they released? Has a transport copy reached the test system? Did the code-quality check run? Are there open lock conflicts or cross-reference findings?
Then comes the moment where AI earns its place. The thinker lays the rules next to the facts, precondition by precondition, and writes back an answer a human can act on:
Copilot: “Not yet. Two things are missing. The rules require the code-quality check during Developer Test, before QS-Check, and no result is recorded for your transport. Also, one task in the transport is still unreleased. Both rules come from the ChaRM process skeleton, section Developer Test.”
The developer fixes both points, asks again, receives a green light and sets the status in Solution Manager, which applies its own checks as always. One question, one answer, and the most expensive rework pattern in our statistics simply does not happen.
We deliberately start with advice rather than automation. Our long-term vision is an AI-assisted status change in which the change itself pauses, rules and facts are checked automatically, and the change either passes or is held back with a precise list of what is missing. But trust has to be earned before a machine is allowed to press the button.
At this point we had a working librarian and a solid set of rule documents. A first connection check looked promising: the switchboard answered, the bridge to SAP responded, and the librarian’s catalog was reachable. Only the link to the sandbox Solution Manager system was still missing.
Then we asked a deceptively simple question.
Me: “Can you reach the actual content of the chatbot’s knowledge?”
It could. Through the switchboard, the AI pulled raw passages straight out of the knowledge base. So we pushed further.
Me: “Read all documents and tell me whether any of them contradict each other. Name the topic and the sources of each version.”
The answer was uncomfortable, and extremely valuable: the knowledge base contradicted itself. Our own process rule said that the original transport is released when the Transport Manager sets Released for Transport in Test. But a generic passage in the Transport of Copies document, taken from standard SAP literature, claimed that the original transport stays unreleased until the change is Successfully Tested, and the object-lock document repeated that claim. The withdrawal procedure for an already released transport existed in two versions: one said to force the status with a service report, the other said to create a reversal transport, import both together and only then withdraw. Even the responsibility document announced “eight role players” and then listed seven.
Think about what that means. A chatbot built on contradictory sources does not hallucinate. It faithfully retrieves both truths and hands the developer a coin toss. An AI assistant is only ever as consistent as its knowledge base.
So the AI changed roles, from assistant to auditor and editor. Every contradiction went to the Process Owner, who settled the open questions in eight formal process decisions, approved and recorded in a decision register. They define when the original transport is released, when and where transport copies are created and imported, how copies for retrofit are handled, when object locks start and end, how locks are configured on each line, and how release-line changes reach integration testing. With those decisions in hand, the AI edited only the source documents in the archive. Generic SAP text was rewritten or clearly marked as not applicable to our landscape, the withdrawal procedure was aligned to reversal-and-import, and the responsibility wording was corrected.
Every change went onto its own branch, was merged with a traceable history and tagged as a release. Word versions for human readers were regenerated from the corrected documents. And after each sync, the AI went back to the librarian and checked that the old wording had disappeared and the new wording came back.
Even the tooling fought back once. In the middle of a merge, the cloud sync client locked a spreadsheet and Git refused to continue. Instead of forcing its way through, the AI proved that the locked file was byte-for-byte identical to the committed version and completed the merge without overwriting anything. A small moment, but a big lesson: an AI agent in an enterprise environment has to prove that an action is safe before it takes it.
The latest round added something that rarely makes it into any manual. The transport copy that ChaRM creates for retrofit waits in the target system’s import queue until the Transport Manager explicitly imports or removes it. That matters when a developer has already applied the same fix by hand in the project landscape: import the copy blindly, and the fix is implemented twice. That piece of hard-won practice now lives in four synchronized documents, and the librarian answers it consistently.
The business case is in place: the rework analysis gave us hard numbers and a clear target. The rule documents now form a consistent, reviewed and versioned set, and the eight process decisions underneath them have been formally approved by the Process Owner. The librarian is live, synced and re-validated against its own sources, and the path from VS Code through the switchboard to the librarian and the SAP development tools has been verified end to end.
The next chapters are already outlined. A broad set of deep-validation test cases is ready to measure how well the librarian really knows ChaRM. The requirements for the window into our sandbox Solution Manager system have been drafted and are waiting for answers from the Basis team: which standard interfaces exist, where cross-reference results and object locks can be read, how the user’s own identity can be passed through, and who owns the privacy and security assessment. After that come machine-readable versions of the rules with automated checks, then the advisory status check inside VS Code, and only once all of that has proven itself, the gated status change.
If there is one thing we have learned so far, it is that the hard part of bringing AI into an SAP process is not the AI. It is the knowledge, and the boundaries around it.
Start with the pain, measured. “Developers don’t follow the rules” is an opinion; “more than half of all rework happens at the very first quality gate” is a design brief. Treat the knowledge base as a product, because retrieval-based AI amplifies whatever you give it, contradictions included. Let the AI audit the AI: so far, the most valuable thing our assistant has done was not answering a developer, but finding the inconsistencies in its own sources. Integrate through governed layers, with read-only tools, an API platform, the user’s own identity and a proper security assessment, because that is what turns a prototype into something an enterprise can run. And advise before you automate: Solution Manager stays the referee, and the AI earns its place by being right, explainably and with sources, long before anyone lets it press a button.
Every SAP landscape has its own eighteen statuses: a process that is documented, trained and audited, and still breaks in the small gap between knowing a rule and applying it at the right second.
The tools to close that gap are already on the developer’s desk: an IDE, an AI agent, an enterprise MCP server and a governed knowledge base.
So, which rule in your SAP process would you hand to an AI colleague first?
Next episode: opening the window into the sandbox Solution Manager system, and putting a full test suite against the chatbot to see how well it really knows ChaRM.