The global and independent platform for the SAP community.

ERP Semantics and AI Orchestration with Hilbert, Gödel, and Turing

The Autonomous Enterprise represents an attempt to redefine ERP architecture. It is suggested that graph architecture, semantic grounding, and autonomous orchestration will give rise to a new dimension of efficiency and automated compliance.
Peter M. Färbinger, E3 Magazine
October 22, 2026
avatar

ERP System of Record

Whereas for decades the deterministic, rigid general ledger (system of record) was considered the unshakable foundation of ERP, the management team led by SAP CEO Christian Klein is now promoting an era in which the Joule Work user interface, hundreds of autonomous AI agents (Agentic AI), and the Knowledge Graph on the HANA database platform are intended to control core business processes largely without human intervention.

Existing customers are led to believe that the combination of a knowledge graph, semantic consolidation, and autonomous orchestration creates a new dimension of efficiency, traceability, and automated compliance. But from the perspective of an existing SAP customer, the question arises: Can such a stochastic, autonomous AI-ERP system ever provide absolute certainty, complete traceability, and provable accuracy?

The answer from theoretical computer science and epistemology is unequivocal: No.

The promise of a flawless, self-sufficient AI operating environment inevitably clashes with the fundamental mathematical laws of David Hilbert, Kurt Gödel, and Alan Turing. The Hilbertian Misunderstanding: The Dream of Mechanizable Truth! To understand the scope of the current debate, it is worth looking back at the International Congress of Mathematicians in 1928. There, the German mathematician David Hilbert formulated his famous research program, which was intended to place all of mathematics on an unshakable, formal foundation. Hilbert’s dream rested on three pillars:

Consistency: The absolute certainty that no contradictory statements can ever be derived from the axioms of the system.

Completeness: The guarantee that every true statement within the system can also be formally proven.

Decidability (decision problem): The existence of a mechanical procedure (an algorithm) that, for any given statement, determines in a finite number of steps whether it is true or false.

Audit Compliance and Consistency in a Traditional ERP System

The traditional ERP system—from R/3 through ECC to S/4—represented an attempt in business management and organization to implement Hilbert’s ideal in corporate practice. A classic ERP system is a deterministic system: Fixed rules, posting keys, validations, and consistent databases guarantee that, under identical conditions, an input A will always yield the exact and provable result B.

General ledger accounting, tax compliance, and audit readiness are based entirely on this Hilbertian expectation of deterministic consistency. When SAP now attempts to gradually replace this deterministic system with autonomous AI agents, it is mistakenly assumed that the stochastic world of AI can be seamlessly integrated into Hilbert’s mechanizable order.

Gödel's Incompleteness Theorem: Why No AI Architecture Can Be Absolutely Error-Free!

David Hilbert’s dream was shattered as early as 1930 and 1931 by the brilliant mind of the Austrian mathematician Kurt Gödel. With his incompleteness theorems, Gödel proved mathematically and rigorously that every sufficiently powerful formal system capable of describing arithmetic is either incomplete or inconsistent. Within such a system, there are always statements that are true but cannot be proven or disproven using the system’s own tools. Gödel proved that complex formal systems encounter fundamental limits as soon as they possess self-reference or sufficient expressive power.

For modern AI research and the SAP Autonomous Enterprise, this statement has far-reaching consequences, which have been clearly highlighted in recent scientific papers:

Hallucinations are not training errors: The phenomenon known as “AI hallucination”—in which a language model or agent generates plausible but factually incorrect data—is not a temporary software bug that can be eliminated by using more training data, more powerful GPUs, or larger parameter counts.

Structural Incompleteness (Structural Hallucination): Since large language models and generative agents are based on formal learning theories and computability models, they are directly subject to Gödel’s limits. As soon as an AI system is complex enough to make autonomous decisions about business processes, it inevitably has blind spots from a mathematical standpoint.

No error-free truth machine: A stochastic AI can never, physically or mathematically, achieve a failure or error probability of exactly zero. Anyone who claims that an AI agent operates in the production general ledger with „absolute certainty“ is ignoring the fundamental laws of theoretical computer science.

Turing's Halting Problem: The Unpredictability of Autonomous Agents

What Gödel demonstrated for mathematical logic, Alan Turing extended to computer science and the theory of computability in 1936 with his mathematical construction of the Turing machine. Turing proved the unsolvability of the halting problem: There can be no universal algorithm that determines in advance, for any given computer program and any given input, whether the program will ever halt or remain trapped in an infinite loop. If we apply Turing’s proof to the SAP Autonomous Suite and the interaction of multi-level agent architectures (Agent2Agent), the operational risk for the CFO and the head of IT infrastructure becomes apparent:

A network of autonomous AI agents that compare offers, reroute supply chains, or authorize payments across system boundaries forms a complex, dynamic system. It is mathematically impossible to guarantee a priori, using a higher-level verification algorithm, that a network of autonomous agents will terminate correctly in every conceivable operational state and will never execute erroneous or malicious transactions.

The Transparency Paradox: While traditional ABAP code can be forensically traced line by line in the debugger, the reasoning of large language models is based on high-dimensional vectors (see also the vector engine on the HANA database platform) and statistical weights (see also Open-Weights LLMs).

Although an agent's decision can be recorded ex post, it cannot be proven ex ante in the Turingian sense!

The SAP Knowledge Graph: An Attempt to Tame Stochastics

SAP is hopefully aware of this issue at the architectural level and should attempt to counter the stochastic uncertainty of language models with a mathematical-structural anchor: the SAP Knowledge Graph. Built on the HANA Cloud’s in-memory graph engine and international W3C standards such as RDF, SPARQL, and OWL, the Knowledge Graph translates the more than seven million cryptic data fields and relationship networks of the relational ERP tables into a machine-readable, explicit ontology.

The SAP Knowledge Graph is designed to act as a semantic Babelfish. The Babelfish is a fictional creature from Douglas Adams„ novel *The Hitchhiker’s Guide to the Galaxy* and has become a symbol for machine-based translation systems. The Knowledge Graph functions as a data compass and grounding layer (semantic grounding). When the AI assistant Joule or an autonomous agent processes a request, it queries the Knowledge Graph to identify the exact business entities (e.g., customer, order, plant, supplier) in order to define the contextual framework.

By combining knowledge graphs with generative text processing (GraphRAG), SAP should indeed be able to drastically reduce the error rate compared to pure LLM models. Queries on the graph yield deterministic data relationships. However, even the SAP Knowledge Graph cannot overcome the mathematical limits set by Gödel and Turing. While it provides a perfect map of the existing metadata, as soon as the AI agent uses this as a basis to make a probabilistic assessment, a forecast, or a complex multi-hop decision, the stochastic uncertainty of the language model comes into play again. Furthermore, if the underlying master data is corrupted or contains outdated Z-code logic, the Knowledge Graph merely reflects the inaccuracies of the real-world system.

The Legal and Business Implications

This scientific analysis yields a compelling course of action for the Customer Center of Expertise (CCoE) and the executive management of every SAP user company: Do not believe in error-free autonomy! The claim of a completely self-sufficient, self-optimizing ERP landscape without human oversight is a dangerous sales narrative. Since, mathematically speaking, no error-free “truth machine” can exist, blind faith in AI autonomy at the core of ERP inevitably leads to compliance violations and business-wide chain reactions.

Neither SAP’s BTP and BDC infrastructure nor the certified security frameworks of hyperscalers relieve the user of their own legal responsibility. Under the European Union’s AI Act and the GoBD accounting standards, the operator of the ERP system is liable, without exception, for any incorrect, discriminatory, or unlawful entry in the live general ledger.

Human in or above the loop

For all business-critical processes—such as payment approvals above certain thresholds, balance sheet entries, price adjustments, or logistics planning—the principle of human approval must be strictly maintained. The agent may process data and propose solutions, but the final execution must remain tied to an auditable, human signal: a human final decision. Neither the graph theory of the HANA database platform nor the knowledge graph can override the limits of incompleteness and undecidability in computer science, as proven by Kurt Gödel and Alan Turing. The SAP Autonomous Enterprise offers highly powerful tools for automation and contextualization, but absolute certainty and provable correctness will never exist in an AI-driven ERP system.

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.