Insights / Case study / Manufacturing

Moving a legacy manufacturing tool to web and mobile, integrated with SAP

A manufacturer ran a critical shop-floor workflow on a legacy tool that only worked at a few desktops, held its business rules in code nobody fully understood, and left people re-typing everything into SAP. We replaced it with a web and mobile application that talks to SAP directly, without stopping production.

Client
Manufacturing company (name withheld)
Services
Modernisation · Web & mobile · SAP integration
Delivery
Phased, with a parallel run
Team
VentureChex engineers with AI agents

The starting point

The workflow at the centre of this project sat on the factory floor, close to production. It had been built years earlier as a desktop tool and had grown with the business. It did its job, but everyone around it had learnt to work around its limits.

The company already ran SAP as its system of record. The legacy tool and SAP never really talked to each other, so people acted as the bridge between them.

The problem

Double entry

Operators recorded work in the legacy tool, then someone typed the same data into SAP. That meant delays, and every re-key was a chance for a mistake.

Tied to a desk

The tool ran on a handful of machines. Shop-floor staff walked to a terminal instead of recording work where it happened.

Hard to change

Business rules were buried in code with no tests and little documentation. Small changes felt risky, so they were rarely made.

Risky to replace

The tool supported live production. A failed cut-over would have meant stopped lines, so a big-bang rewrite was off the table.

The goal

One modern application: a web app for planners and supervisors, a mobile app for the shop floor, and SAP as the single source of truth. No re-keying, and no stop in production during the switch.

How we did it

01

Discover

Agents read the legacy code, screens and database to produce a map of what the tool really did. Engineers then walked the floor with operators to confirm it, and to find what the code could not tell us.

02

Lock in behaviour

Before building anything, we captured how the legacy tool behaved as automated tests. The new system could then be checked against the old one, not against anyone's memory.

03

Design

Engineers designed an API layer and an integration service, and decided what lives in SAP and what belongs in the app. Mobile flows were designed for gloves, glare and patchy connectivity.

04

Build

Agents drafted services, screens and SAP field mappings in small changes. Engineers reviewed every one, and tests ran on each change.

05

Cut over safely

Old and new ran side by side while results were compared. Teams moved over in stages, with a rollback plan ready, and the legacy tool was retired once the numbers matched.

The shape of the system

Mobile appSHOP FLOORWeb appPLANNERS · SUPERVISORSAPI layerONE CONTRACTIntegrationRETRIES · ERRORSSAPSOURCELEGACY TOOL · RETIRED AFTER PARALLEL RUN

Mobile and web clients talk to one API. An integration service translates between that API and SAP using SAP's standard interfaces (OData, BAPI/RFC or IDoc, chosen per module), with retries and clear errors when SAP is unavailable.

Agents and engineers

Agents did
  • Mapped legacy screens, tables and business rules into readable specs
  • Drafted API contracts and SAP field mappings for review
  • Generated regression tests from the legacy tool's observed behaviour
  • Drafted migration scripts and repetitive screen code
Engineers decided
  • Which rules to keep, simplify or retire
  • What SAP owns and what the app owns
  • The integration pattern per module, and how failures are handled
  • Cut-over order and the rollback plan
  • Approval of every change before it was merged

The outcome

Enter once

Work is recorded a single time, on web or mobile, and posts to SAP without anyone retyping it.

On the shop floor

Operators use phones and tablets where the work happens, instead of walking to a terminal.

Rules you can read

The business logic is documented and covered by tests, so changes are a normal part of the week and not an event.

No stopped lines

The parallel run and staged cut-over kept production running through the switch.

What we would tell the next team

  1. 01

    Capture behaviour before you change anything.

    Tests built from the legacy tool's real output were the most useful thing we produced early on.

  2. 02

    Treat SAP as the source of truth, not a dumping ground.

    Deciding up front what SAP owns kept the new app simple and the data consistent.

  3. 03

    Run in parallel before you cut over.

    Side-by-side comparison turns a leap of faith into a checked decision.

  4. 04

    Agents speed up the reading. People own the decisions.

    AI shortened discovery and drafting a great deal, but judgment calls stayed with engineers.

Holding a legacy tool together with manual effort?