The global and independent platform for the SAP community.

ERP Algorithms vs. LLMs and AI Agents

From a computer scientist’s perspective, the specific ERP risk that AI agents in the SAP Autonomous Enterprise might trigger erroneous actions or corrupt master data stems from several systemic causes. Is the SAP Knowledge Graph a way out of this dilemma?
Peter M. Färbinger, E3 Magazine
October 15, 2026
avatar

Deterministic versus Probabilistic

Existing SAP customers are facing a new type of threat scenario: An ERP system traditionally functions as a deterministic precision machine, whereas generative AI models are based on probabilistic stochastic logic, which inevitably tends to produce structural hallucinations. In addition to this substantive disruption, there is the challenge of cloud system security.

Attackers and automated AI models have learned to quickly penetrate system code and target automated interfaces, enabling attacks at an exponential rate. The issue of cloud security and the manageability of autonomous agents (Agentic AI) is thus shifting from a purely technical IT task to an existential question of risk management and business continuity.

Risk Management: AI Agents

The specific risk that AI agents in the SAP Autonomous Enterprise will trigger erroneous actions, make incorrect postings, or corrupt master data stems from several systemic causes: When stochastic language models encounter historically corrupted master data or outdated custom code, the systems tend to implement erroneous inferences with a high degree of confidence.

As incidents at IT companies such as Amazon and Microsoft have clearly demonstrated, autonomous agents with extensive execution privileges can trigger unintended system configurations or paralyze critical processes.

Kurt Gödel and Alan Turing

The information-theoretical limits identified by Kurt Gödel and Alan Turing mathematically prove that a mathematically error-free „truth machine“ is, in principle, impossible in stochastic models. In addition, SAP’s own leadership warned against an unmanageable “Frankenstein architecture” if uncoordinated AI agents from different vendors were to clash within the same ERP system without overarching rules.

Governance-as-Code and AI Harnesses

To effectively prevent the ERP core from being compromised by uncontrolled agents, user companies must establish governance-as-code and multi-tiered security safeguards (AI harnesses).

On a technical level, control begins with identity and access rights: An AI agent must never act as a privileged placeholder with unlimited permissions, but must be managed as a digital non-human identity under the principle of principal propagation. This means that the agent operates strictly within the security and authorization context of the authenticated user and cannot perform any actions or view any data that are restricted to the human user.

In addition, by embedding the open-source runtime environment Nvidia OpenShell into the Joule Studio Runtime, SAP ensures an isolated execution layer (sandbox boundary) that defines which tools an agent is permitted to call and where inference data flows. For business-critical transactions—such as payment approvals or master data changes—the “human-in-the-loop” or “human-above-the-loop” principle remains indispensable, whereby the agent prepares suggestions, but the final execution must be confirmed by a human signal.

Another key addition is the use of the Model Context Protocol (MCP), which serves as a vendor-neutral interface standard and ensures that AI agents’ access to tools is managed in a deterministic and auditable manner via decoupled MCP servers.

The Cherries in the Neighbor's Garden

Regarding the pressing concern about whether SAP AI agents can escape their intended tenant or system environment and infiltrate third-party S/4 systems or other Autonomous Enterprises, the current analysis paints a nuanced picture: A physical escape from the runtime environment across system boundaries is made difficult at the platform level by multi-level tenant isolation, encrypted secret management in the AI Launchpad, and isolated container sandboxes.

Nevertheless, there are real risks of attack and lateral movement, which primarily arise from design flaws such as prompt injection, memory poisoning, or incorrectly configured BTP destinations. If an autonomous agent is connected to external CRM or partner systems via cross-system interfaces and encounters manipulated data there, it can be tricked into making unauthorized API calls to other S/4 clients.

AI API Gateway and Behavioral Analytics

Preventing such cross-client violations requires a centralized AI API gateway that consolidates all agent traffic at a single, monitored interface, enforces fine-grained access policies at the parameter level, and immediately blocks unusual behavior patterns through automated behavioral analytics (Behavioral Analytics).

Commercially, however, SAP also uses these security concerns as leverage: With Version 4 of the SAP API Policy (Section 2.2.2), issued in April 2026, the company strictly regulates direct, unlicensed data extraction by third-party agents and forces customers to route their agent workloads through the fee-based Business Technology Platform (SAP BTP) and the Business Data Cloud (SAP BDC). While this restricts uncontrolled data flows, it also drives costs relentlessly upward through usage-based Capacity Units.

SAP Cloud ERP Security

A closer look at the security of SAP Cloud ERP reveals that the move to the cloud—whether via Rise with SAP (private cloud) or Grow with SAP (public cloud)—requires a completely new operating model based on shared responsibility. The notion that the cloud is, by its very nature, an impregnable fortress has been put into perspective by incidents such as the severe zero-day vulnerability in SAP NetWeaver Visual Composer (CVE-2025-31324), which demonstrated that even cloud-adjacent infrastructures must be continuously hardened and monitored.

SAP provides a comprehensive portfolio of security measures to ensure the security of its existing customers in the cloud. This portfolio is built on ISO 27001-certified data centers, end-to-end encryption of data at rest and in transit (TLS/KMS), OAuth2-based authentication, and automated threat detection via services such as SAP Enterprise Threat Detection. At the infrastructure level, SAP works closely with major hyperscalers such as Microsoft Azure, Amazon Web Services, and Google Cloud Platform, enabling the direct integration of advanced security tools like Microsoft Sentinel Threat Monitoring or AWS Secrets Manager.

Nevertheless, enterprise users in the cloud should not lull themselves into a false sense of security. To counter risks stemming from dependence on U.S. hyperscalers and unpredictable export control regulations—such as the U.S. government’s short-term ban on Anthropic language models—data-sovereign alternatives like the AWS European Sovereign Cloud, the Schwarz Group’s StackIT Cloud, or T-Systems’ Rise-certified private cloud are gaining massive significance. Furthermore, even the best vendor-provided cloud security does not relieve the enterprise of its own legal obligations. Under the strict requirements of the European EU AI Act, the ultimate legal and operational liability for all decisions and actions carried out by autonomous AI agents in the production ERP core remains entirely and non-transferably with the user itself.

avatar
Peter M. Färbinger, E3 Magazine

Peter M. Färbinger, Publisher and Editor-in-Chief of E3 Magazine DE, US, ES, and FR (e3mag.com), B4Bmedia.net AG, Freilassing (DE), email: pmf@b4bmedia.net, and phone: +49(0)8654/77130-21


Write a comment

Working on the SAP basis is crucial for successful S/4 conversion. 

This gives the Competence Center strategic importance for existing SAP customers. Regardless of the S/4 Hana operating model, topics such as Automation, Monitoring, Security, Application Lifecycle Management and Data Management the basis for S/4 operations.

For the fourth time, E3 magazine is organizing a summit for the SAP community in Salzburg to provide comprehensive information on all aspects of S/4 Hana groundwork.

Venue

FourSide Hotel Salzburg,
Trademark Collection by Wyndham
Am Messezentrum 2, 5020 Salzburg, Austria
+43-662-4355460

Event date

Wednesday, June 10, and
Thursday, June 11, 2026

AI experience workshop only on June 11, 2026 (limited places)
Bonus: Access to all lectures on June 11, 2026

Regular ticket

Lectures, evening event and, depending on availability, the AI workshop on June 11, 2026
Places at the AI experience workshop are limited and registration is required.

Subscribers to the E3 Magazine Ticket

reduced with promocode CCAbo26

Students*

reduced with promocode CCStud26.
Please send proof of studies by e-mail to office@b4bmedia.net.
*The first 10 tickets are free of charge for students. Try your luck! 🍀
EUR 305 excl. VAT.
EUR 590 excl. VAT
EUR 390 excl. VAT
EUR 290 excl. VAT

Venue

Hotel Hilton Heidelberg
Kurfürstenanlage 1
D-69115 Heidelberg

Event date

Wednesday, April 22 and
Thursday, April 23, 2026

Tickets

AI onlyExperience workshop on April 23, 2026 
Bonus: Access to all lectures on April 23, 2026
Regular ticket
April 22, 2026: Lectures and evening event
April 23, 2026: Lectures and AI workshop
EUR 305 excl. VAT
EUR 590 excl. VAT
Subscribers to the E3 magazine
reduced with promocode STAbo26
EUR 390 excl. VAT
Students*
reduced with promocode STStud26.
Please send proof of studies by e-mail to office@b4bmedia.net.
EUR 290 excl. VAT
*The first 10 tickets are free of charge for students. Try your luck! 🍀
The event is organized by the E3 magazine of the publishing house B4Bmedia.net AG. The presentations will be accompanied by an exhibition of selected SAP partners. The ticket price includes attendance at all presentations of the Steampunk and BTP Summit 2026, a visit to the exhibition area, participation in the evening event and catering during the official program. The lecture program and the list of exhibitors and sponsors (SAP partners) will be published on this website in due course.