Legacy ERP Modernisation: How to Integrate Without Ripping and Replacing
Most manufacturers can't afford to replace their ERP. Here's how to build modern software around it without touching the core system.
The conversation about ERP replacement usually starts the same way: everything is old, the vendor is gone, it’s slow, and “we need new software.” Then someone gets a quote. It’s a 24-month project. It costs more than the company spent on the entire current system. It requires migrating 15 years of transaction history. Everyone agrees it’s impossible and the conversation ends.
That’s the wrong ending. You don’t have to replace it. You have to build around it.
Why Full ERP Replacement Fails
The math is brutal. Replacing SAP or Oracle with new software requires:
- Data migration — 15 years of orders, invoices, GL entries, vendor records. One bad migration and you can’t reconcile the books.
- Operational pause — the switchover window is at minimum weeks; at worst you run both systems in parallel for months.
- Buried logic — decades of customizations, bolt-ons, and manual workarounds are undocumented. The new system doesn’t replicate all of them.
- Cost — implementation alone is 3–5x the license cost. Full teams are dedicated to it for two years.
The risk is so high that most projects are killed mid-implementation. The ones that complete are delivered late, over budget, and with less functionality than the old system had.
The better approach: don’t replace it. Build a modern integration layer on top.
The Strangler Fig Pattern for ERP Modernisation
The strangler fig grows around a tree and eventually replaces it. Applied to ERP, it means:
- Keep the ERP as the system of record — it still owns GL, AP, AR, inventory
- Build an API gateway — exposes ERP data as modern REST/GraphQL endpoints
- Build new features outside the ERP — order management, shop floor visibility, supplier portals
- Route transactions back through the ERP — new software writes changes into the legacy system in real time
- Gradually move capabilities — over 24–36 months, migrate purchasing, planning, reporting
This is not a theoretical pattern. Toyota, BMW, and most tier-1 manufacturers built this exact architecture in the 2010s when their legacy systems became bottlenecks.
Building the Integration Layer
The technical architecture is simpler than a full replacement:
1. API Gateway (API Abstraction Layer)
Sit between new software and the ERP. This layer:
- Translates requests — converts REST calls into ERP APIs (SAP’s OData, Oracle’s REST, or legacy connector protocols like JCo)
- Caches read-heavy data — inventory, BOM, pricing queries are fast locally; write-through on mutations
- Handles authentication — new services use OAuth; the gateway manages ERP credentials securely
- Logs all traffic — audit trail for compliance
Build this in Java, Node.js, or Python. Don’t try to modify the ERP directly.
2. Event-Driven Integration
Instead of polling the ERP for changes, capture them as they happen:
- Idocs or Webhooks — SAP emits Idocs (intermediate documents) when GL entries, POs, or shipments are created
- Change Data Capture — if the ERP doesn’t have webhooks, run CDC on the database to capture mutations
- Queue events — push to Kafka or AWS SQS; decouple new systems from ERP availability
- React in real time — notify shop floor systems, update dashboards, trigger automations
This is much faster than the nightly batch imports that most legacy setups use.
3. Data Synchronisation Pattern
Bi-directional sync without data corruption:
- Last-write-wins with timestamps — the system with the later change wins; prevents conflicts
- Idempotent writes — the same transaction written twice produces the same result; critical for retries
- Staged transactions — validate in a staging table before committing to the ERP; rollback on validation failure
What Success Looks Like in 6–12 Months
After this investment, your team has:
- Shop floor visibility — real-time production status, without waiting for the ERP batch job
- New reporting — analytics and BI tools query the integration layer, not the locked-down ERP database
- Supplier portals — vendors check shipment status and confirm orders via modern web apps; ERP stays protected
- Mobile operations — field teams don’t use terminals bolted onto ERP screens; they use modern apps that sync to ERP in the background
- Faster incident response — when something breaks, you debug the integration layer, not 20 years of customized ERP code
The ERP still runs everything. The difference is you’re not held hostage by it anymore.
The Budget Reality
A proper integration layer costs 30–40% of a full replacement. That gets you:
- 3–6 engineers for 12 months
- API gateway platform (open-source or commercial)
- Event capture infrastructure (Kafka, CDC tooling)
- Testing and staging environments
The ERP stays on support and unchanged. The risk is orders of magnitude lower than a cutover project.
Common Mistakes to Avoid
Trying to sync everything immediately. Pick the highest-value data first (orders, shipments, GL). Don’t sync master data until the pipeline is stable.
Building custom ERP modules instead of the gateway. You’re not an ERP customizer. You’re building software that talks to the ERP.
Ignoring data quality upstream. If the ERP is garbage in, garbage out, the integration layer will be too. Fix data quality first.
Running event capture and batch jobs in parallel. Pick one. If you need both, there’s a data consistency problem you haven’t solved.
Where to Start
Audit your current state: what data is stuck in the ERP that blocks new software? Where are teams waiting for nightly batch jobs? Pick the highest-pain point and build the integration there first.
That’s your foundation. Apply it repeatedly, and in 18 months you have a modern software architecture that the legacy ERP still powers, but no longer blocks.