Teaching the agent the job:

Automating SAP order operations end to end

How six months of hands-on workflow engineering with an agentic-AI platform turned closed ERP screens and unwritten business rules into automated, auditable operations.

Enterprise ERP

SAP S/4HANA

Agentic Automation

The Context & Problem

Is your slowest work still manual?

We Asked this to an operations team. You rarely hear that the technology can't do it. You hear nothing at all, because nobody ever framed the task as automatable in the first place. Kudzu went looking for the reason. Two answers kept coming back. The system is closed. The costliest manual work sits inside ERP systems.

Operators move through SAP screens from memory. There is no API a business user could point a tool at, so the work stays manual by default. Nobody ever sat down and decided it was too complex.

Nobody wrote the rules down. Discount floors change by customer tier. Some customers take substitutes, others refuse, and each has a fill rate they will accept. A return window runs 30 days, stretches to 45 for loyal accounts, and gets waived outright for defects. None of it is written anywhere a tool could read. So the platform stopped asking companies to write their workflows down, and started asking them to show one.

Our Solution

It ran against a live SAP system

123+

parameter

123+

parameter

123+

parameter

Kudzu built and reworked a suite of workflows covering SAP S/4HANA sales-order operations, the work a rep would otherwise do by hand across the SAP GUI. Every SAP step is the agent driving the real web interface the way a trained operator does. No connector was installed, and nothing in the client's SAP setup changed.

Business policy stays in ordinary spreadsheets the client owns, and the agent reads them fresh on every run. Customer tiers, discount floors, substitution rules, return eligibility: all of it editable by the people who set it. Anything that breaches policy stops and goes to a person, with a 24-hour clock and auto-reject on timeout. The agent does the legwork. People keep the pen.

Discount authorisation

The agent prices orders against margin floors it reads live from a sheet the business owns. Anything that would break a floor stops and goes to a person. Once approved, the agent returns to SAP and books the order at the sanctioned price.

Stock substitution

When a material runs short, the agent checks stock, looks up which substitutes this particular customer accepts, and works out a split. Five policy gates sit along that path. Any one failing sends the order to hold-and-notify.

Returns processing

Four SAP transactions in a single pass. It checks the return window, applies eligibility rules, screens for fraud, and matches the returned goods against what shipped. Only then does it create the return and post the credit.

The Impact

From manual work to teachable workflows

The impact wasn't just automating a few SAP tasks. It was proving that work once considered too complex, too fragmented, or too dependent on human knowledge could be made executable.

30+ live runs. 4 SAP transactions chained. Zero silent failures.

More importantly, the team now has a way to turn operational knowledge into workflows that can be automated, governed, and improved over time.

The agent learned and executed the job!

"

A customer says their delivery arrived damaged. Before any money moves, the agent pulls the original order and checks the window: 30 days as standard, 45 for loyal accounts, waived outright for defects. It screens for fraud on value and history. Then it matches the returned goods against what shipped, down to the count and the condition. A real defect refunds as money. A change of heart becomes store credit. Every step lands in the log.