DEV Community

Harish Stratworks
Harish Stratworks

Posted on • Originally published at stratai.io

Why SAP Implementations Fail on the Shop Floor — AI Agents Fix the Interface Problem

The shop floor is where SAP implementations go to die.

Not because the software is bad. Because the interface is wrong.

A machine operator managing three production lines doesn't have time to
navigate MM01, locate the material code, and fill in 14 mandatory fields
for a goods issue posting. A quality inspector doesn't know the difference
between a usage decision and a quality notification in SAP QM. A storekeeper
doesn't read German transaction codes.

So they don't use the system. They use WhatsApp, paper registers, and verbal
handoffs. The ERP gets yesterday's data, entered this morning, if someone
remembered.

The result: your production reports are postmortem documents. Your management
is making decisions based on what happened yesterday — usually after the
damage is done.

The fix is not more training. It's removing the expertise requirement entirely.


How AI Agents Change the Interface

When you place an AI agent between the worker and the ERP, the interaction
model changes completely.

Instead of navigating transaction codes, the worker says:

"Received 500 kg of yarn from Coimbatore Textiles, PO 4500012345, Rack B7."

The agent hears this. Understands the intent. Validates the PO. Maps the
storage location. Posts the goods receipt to SAP via BAPI_GOODSMVT_CREATE.
Returns confirmation in under 30 seconds.

Zero SAP training. Real-time data. 30 seconds.


The Technical Stack

The architecture that makes this work has four layers:

  1. Voice transcription — OpenAI Whisper (strong Indian language support:
    Hindi, Tamil, Telugu). Self-hosted for data privacy, or API.

  2. Intent + entity extraction — Claude (Sonnet 4.6). Understands the
    spoken input, maps it to SAP fields, validates against business rules,
    returns structured JSON.

  3. ERP integration — BAPI calls via SAP RFC or REST API. No custom ABAP
    needed for standard transactions.

  4. Orchestration — LangGraph for stateful multi-step workflows. Claude
    Managed Agents for session persistence and secure sandboxing.

For paper documents — delivery challans, quality certificates, weighbridge
slips — AWS Textract handles OCR extraction. Claude's vision layer resolves
ambiguities before posting to the ERP.


Proactive vs Postmortem

The bigger shift is what happens when your ERP has real-time data instead
of yesterday's data.

Traditional ERP: morning report shows 4.2% rejection rate on Batch 2238.
You learn about it 12 hours after the fact.

AI agent: rejection rate crosses 1.8% at 340 units processed — still well
below the 3% hold threshold. Agent alerts QC supervisor immediately.
Supervisor finds worn die, replaces it. Batch saved.

That's the difference between postmortem analytics and proactive intelligence.
One tells you what happened. The other prevents it.


Deployment Timeline

A single workflow — voice-based goods receipt into SAP — deploys in 4–8 weeks.
The prerequisite that matters most: floor-level process observation before
any code is written. The agent must fit how work actually happens, not how
management describes it in a requirements document.


For the full architecture — including the complete agentic stack, OCR
integration details, and three detailed proactive use cases — the complete
article is here:

Why SAP and ERP Implementations Fail on the Shop Floor — And How AI Agentic
Systems Fix It

Top comments (0)