MES vs. ERP: The Difference Explained
ERP and MES both steer manufacturing – but on different levels. The ERP plans what is to be produced. The MES controls how it is actually produced. The ERP thinks in orders, hours and days; the MES processes machine and operating data second by second. Only together do they create a continuous production process – from planning down to the machine and back again.
Key takeaways
- The ERP is the planning level of the company (top floor). It manages orders, materials, capacities, costs and inventory.
- The MES is the execution level in production (shop floor). It records, monitors, documents and controls manufacturing in real time.
- Not an either/or: An ERP cannot replace an MES, and vice versa. The value comes from integrating both systems.
What is an ERP?
ERP stands for enterprise resource planning. An ERP system brings a company’s commercial and planning processes together in one shared database. This covers sales and order processing as well as purchasing, materials management and financial accounting. Controlling, human resources and production planning also come together there.
For manufacturing, production planning is the most relevant part. From customer orders and demand forecasts, the ERP derives production orders, calculates material requirements via bills of materials and roughly plans capacities against routings. Systems widely used in industry include SAP S/4HANA, Infor LN and Microsoft Dynamics.
The limit of the ERP lies in its resolution. It knows that production order 4711 is scheduled for calendar week 38 and that 18 hours of machine time are allocated to it. It does not know that the machine has been standing still for 40 minutes because of a broken tool. To see the running process, a second system is needed.
What is an MES?
MES stands for manufacturing execution system, also referred to as a production control system. An MES monitors, documents and controls the manufacturing process in real time – from the supply of raw material through to the finished product.
Its data comes directly from the shop floor: from machine controls, sensors, test equipment and entries made by employees at the terminal. The MES condenses this raw data and relates it to the specific production order. From this come key figures for analysis and alerts the moment a deviation occurs. Dashboards provide the overview, and the documented process data provides the evidence needed for traceability.
This makes the MES the functional layer between the ERP and the process control systems of the machines. For a detailed introduction, see our article “A manufacturing execution system – MES – explained simply” and our glossary entry on MES.
ERP and MES therefore take on clearly separate tasks – and work with very different data. The comparison below shows the key differences.
MES vs. ERP: the differences at a glance
| Criterion | ERP | MES |
|---|---|---|
| Level | Top floor – company planning | Shop floor – production |
| Guiding question | What should be produced, when and in what quantity? | How is production running right now – and why? |
| Data basis | Master data, order data and planning data | Machine, operating and process data in real time |
| Cycle | Hours to days | Seconds to minutes |
| Horizon | Weeks to months | Shift and order |
| Typical users | Sales, purchasing, controlling, plant management | Production management, supervisors, operators, maintenance, quality |
| Core functions | Material requirements planning, rough capacity planning, inventory, costing, purchasing | Machine data collection, overall equipment effectiveness (OEE), detailed scheduling, traceability, quality assurance |
| Outcome | Commercial assessment of production | Operational response while the process is running |
The most important difference is not the range of functions but the relationship to time. An ERP works with target data and evaluates after the fact. An MES works with actual data and makes it possible to intervene while the order is still running. What happens when that second view is missing is something every factory floor knows well.
Why an ERP alone is not enough in manufacturing
Many manufacturers try to run production through the ERP – with confirmations at the end of the shift, with job tickets, with spreadsheets shuttling between the supervisor’s office and work scheduling. This creates three typical problems:
- The data arrives too late. If you only see the next morning that a line was down for half a day, you can no longer save the order – only cost it retrospectively.
- The data is too coarse. Micro stoppages, cycle time losses and start-up scrap never show up in a shift confirmation. Yet that is exactly where the biggest losses sit.
- The data is not reliable. Manually recorded times and quantities get estimated, rounded or corrected after the fact. Costing, on-time delivery and quoted prices then rest on assumptions rather than measurements.
This becomes particularly clear with OEE, or overall equipment effectiveness. This key figure relates the availability, performance and quality of a machine to one another, showing how much of its theoretical potential is actually being used. It can only be calculated from data an ERP never captures – such as the three-minute stoppage that occurs twenty times per shift.
An MES closes exactly this gap. It automatically records what happens at the machine and makes the difference between plan and reality visible while production is running. How it does that becomes clear when you look at the individual functions.
What an MES makes possible
A modern MES is not a single tool but a modular solution suite. These functions cover the most important use cases in discrete manufacturing:
- Machine and production data collection (MDC/PDC): Connect heterogeneous machine parks from different manufacturers and build years, and unify their data digitally .
- Production monitoring and OEE: Track utilisation, downtime and overall equipment effectiveness live, and break losses down by root cause .
- Detailed scheduling: Schedule orders against real capacities and resources, avoid bottlenecks and shorten lead times.
- Traceability (track & trace): Prove without gaps when and under what conditions a component was produced – mandatory in regulated industries.
- Quality assurance: Provide inspection instructions digitally, capture results and flag deviations immediately.
- Energy monitoring: Record consumption per machine and per order to evidence savings potential and sustainability metrics.
- Document management: Make drawings, work instructions and NC programs available at the workstation – the basis for paperless manufacturing.
Which of these building blocks a company needs depends on its manufacturing type and digital maturity. You will find an overview of our MES solutions MES FLEX, MES LITE and E-MES here. These functions only reach their full effect, however, once MES and ERP talk to each other continuously.
MES and ERP working together: how the data flows
The real value is created through vertical integration – that is, when the planning level and the production level exchange their data automatically. The data flows in both directions:
- From ERP to MES: Production orders, bills of materials, routings, dates and material reservations move downwards towards the machine. Specialists call this the southbound direction.
- From MES to ERP: Good and scrap quantities, machine and labour times, material consumption, order progress and quality status move upwards towards planning – the northbound direction.
The result: no duplicate data entry, no manual reconciliation, no data gap between planning and production. Inventory can be reduced because the real material flow becomes visible. Costing rests on measured rather than estimated times. And planning in the ERP works with capacity figures that match reality.
For SAP landscapes we offer two routes: synchronising shop floor data into SAP via Integrate4SAP, and the cloud-based MES solution SAP Digital Manufacturing with seamless integration into SAP S/4HANA.
Modern architectures add a third layer. It translates the differing data formats of machines, MES and ERP into a common language and makes them available to every system in one central place – consistently named and vendor-independent. In technical terms, this translation layer is called a semantic layer, and the central provision a unified namespace.
This is precisely what our AC4DC data platform delivers. It creates the consistent data foundation on which analytics, automation and AI applications can work reliably across systems and sites.
Where do WMS, PLM and CAQ fit in?
Alongside ERP and MES, further system acronyms come up regularly in manufacturing projects. The distinction is simpler than it sounds:
- WMS (warehouse management system): controls warehousing and material movements. It hands material over to production; the MES reports consumption back.
- PLM (product lifecycle management): manages product data, drawings and revision levels, which the MES makes available at the workstation.
- CAQ (computer aided quality): covers overarching quality management. Modern MES take on many CAQ functions directly in the process.
Within this landscape, the MES is the data hub of the shop floor – the point where every system meets the real manufacturing process.
Where an MES delivers results fastest
In practice, the question “MES or ERP” rarely comes up, because almost every manufacturer already runs an ERP. A different question matters instead: where in the plant will an MES deliver measurable benefit fastest?
A proven approach is to start in a limited area – at the critical machines or a bottleneck asset. Within a few weeks it becomes clear just how wide the gap between planned and actual performance really is. Those first results build confidence in the team and carry the project into further areas and plants.
Conclusion
MES and ERP are not competing systems but two levels of the same value chain. The ERP plans and evaluates; the MES executes and measures. Anyone who only plans without measuring execution is optimising on assumptions. Anyone who connects both steers production with data that holds up – and lays the foundation for automation and AI on the shop floor.