Skip to main content

What is the difference between MES and ERP in pharmaceutical manufacturing?

ERP (enterprise resource planning) runs the business side: orders, purchasing, inventory and distribution. An MES (manufacturing execution system) runs production: it executes the approved master record step by step and creates the batch record 21 CFR 211.188 requires. SCADA and control systems supervise and run the equipment. ISA-⁠95 puts ERP at Level 4 and MES at Level 3. Whichever system shows material as usable must carry the quality unit’s decision, and interfaces carrying GMP data must be validated.Checked against its sources on 26 November 2026. How these answers are made

Illustration of a seal beside a procedure unfolding into execution checks and review evidence.

1MES vs ERP vs SCADA at a glance.

ISA-⁠95, also known as IEC 62264, models in levels how business systems connect to control systems, and “primarily deals with the interface between levels 3 and 4”.1,2

Table 1. Where each system sits, and what it often holds in a GMP plant.
SystemISA-⁠95 levelWhat it runsGMP records it often holds
ERP4, business planning and logisticsOrders, purchasing, inventory, distributionReceipt and inventory records; distribution records3
MES3, manufacturing operationsExecution of the approved master record, step by stepThe batch production record3
SCADA2 or 3, by what it doesSupervision of plant equipmentProcess data the batch record may draw on
PLC or DCS2, monitoring and supervising controlControl of the processAutomated steps under 21 CFR 211.684

ISA lists SCADA at Level 3 with the MES, but the supervisory control in its name matches ISA’s Level 2, “the monitoring and supervising of physical processes”.1

2Which system owns which GMP record.

Part 211 names neither system. It requires records, and each record has a natural owner.3

Table 2. The records an MES and an ERP hold under 21 CFR Part 211.
RecordWhat it must showUsual ownerRule
Master production recordComponents and quantities, theoretical yield and limits, full instructionsMES, approved by the quality unit211.186, 211.100(a)
Batch production recordEach significant step: dates, equipment, lots, weights, results, yield, who did and checked itMES211.188
Component recordsEach lot received, its supplier and tests, inventory, reconciliation of useERP and MES together211.184
Material statusQuarantined, released or rejectedThe system that blocks use, set by the quality unit211.84(a), 211.89
Distribution recordsProduct, consignee, date, quantity and lot, so a recall can find each lotERP211.150(b), 211.196

3What crosses between ERP, MES and SCADA.

Table 3. What crosses between ERP, MES and SCADA, and the check each needs.
MessageDirectionGMP check at the joinRule
Process orderERP to MESNames the product, batch size and approved master record version211.186(a), 211.188(a)3
Bill of materialsERP to MESQuantities match the master record the quality unit approved211.100(a)3, 211.68(b)4
Lot statusERP or QMS to MESChecked at the moment of dispense, not copied at order release211.84(a), 211.101(c)(1)3
Setpoints, commandsMES to SCADAMatch the approved master record; output is checked for accuracy211.186(b)(9)3, 211.68(b)4
Process values, alarmsSCADA to MESEntered against the step; any departure from the instructions is recorded and justified211.188(b), 211.100(b)3
Step completeSCADA to MESThe batch record names the person who checked the automated step211.188(b)(11)3, 211.68(c)4
ConsumptionMES to ERPActual lots and quantities, so each lot reconciles211.184(c), 211.188(b)(3) and (4)3
YieldMES to ERPPercentage of theoretical; outside limits is investigated211.103, 211.1923
DispositionQuality to ERPOnly released, and in the EU certified, batches reach saleable stock211.142(a), 211.165(a)3; Annex 16, 4.25

For critical systems, Annex 11 asks for “an up to date system description detailing the physical and logical arrangements, data flows and interfaces with other systems or processes”.6 This table and the one above are the core of that description. Where systems exchange data, Annex 11 asks for “appropriate built-in checks for the correct and secure entry and processing of data”,6 and 211.68(b) sets the degree of input and output checking by the system’s complexity and reliability.4 ISA-⁠95 Parts 2 and 5 define the content and transactions of the ERP and MES interface.1

At the SCADA join, a setpoint changed at the operator screen skips the MES’s check against the master record. Section 211.68(b) lets only authorized people change records,4 and FDA recommends restricting who can alter process parameters “by technical means where possible (e.g., by limiting permissions to change settings or data).”7 Annex 11 asks firms to consider, based on a risk assessment, building in an audit trail of all GMP-relevant changes and deletions; the reason for each change or deletion should be documented, and audit trails regularly reviewed.6 FDA asks for the audit trail of changes to a batch’s data to be reviewed with the batch record, by the same people and at the same points: after each significant step under 211.188(b) and before release under 211.22.7 See how to review audit trails.

In the EU the batch record need not hold every process value: “Where a validated process is continuously monitored and controlled, then automatically generated reports may be limited to compliance summaries and exception/ out-of-specification (OOS) data reports.”8

4Example: one dispense across the boundary.

Example, all invented. Component lot R-⁠3307, 50.000 kg, is needed for Batch 26-⁠052 of Product B under process order PO-⁠26-⁠3318. ERP holds stock status; the QMS holds deviations; the MES checks both before it lets material into a batch.

Table 4. Example: a lot on hold meets a process order.
Date, 2026SystemEventRule
26 OctoberERPLot received: 2 drums of 25.000 kg, supplier and receiving code recorded; status quarantine211.82(b), 211.184(a)
30 OctoberERPSampled 0.150 kg; QC releases the lot, 49.850 kg unrestricted211.84(a)
3 NovemberQMSWarehouse temperature excursion, DEV-⁠26-⁠077; QA puts R-⁠3307 on hold. The block message to ERP gets no acknowledgment211.22(a)
4 NovemberMESDispense for Batch 26-⁠052 refused: ERP says unrestricted, but an open deviation holds the lot211.101(c)(1)
4 NovemberERPInterface monitor flags the unacknowledged message; the block is confirmed in ERP211.68(b)
6 NovemberQMS, ERPDEV-⁠26-⁠077 closed; QA releases the lot again211.22(a)
6 NovemberMES, ERP12.505 kg dispensed against 12.500 kg ±0.5%; consumption posted; 37.345 kg remains211.101(c), 211.184(c)

The reconciliation closes: 0.150 kg sampled, 12.505 kg dispensed and 37.345 kg remaining make 50.000 kg received. The dispense sits inside its limits of 12.4375 to 12.5625 kg. What worked was the MES checking the quality unit’s decision at the moment of use, not ERP’s copy, which the lost message had left stale. See how to release incoming material.

5Can an ERP stand in for an MES or a quarantine area?

Table 5. Decision aid: what an ERP can and cannot stand in for.
SituationWhat it meansRule
ERP records batch stepsIf it records each step as it is done, it is the batch record: validate it as an MES, workflow by workflow211.100(b), 211.1883; FDA Q&A 37
ERP issues batch recordsEach issued record must accurately reproduce the approved master record211.188(a)3
Paper record, ERP stockThe paper is the batch record; ERP holds the inventory record, its keyed quantities checked against the paper211.68(b)4; 211.184(c)3
Status instead of a cageAllowed: Part 211 accepts “such other control systems”; EU GMP asks for equivalent security211.42(c)3; EU GMP 3.21, 5.59,10; ICH Q7 10.1111
Automated status checkAutomation can stand in for the second person; one person still checks211.101(c), 211.68(c)3,4

See what an MES does and how to choose an eBR or MES.

6How inspectors find the gaps.

This is what it looks like when ERP status does not follow the quality decision:

Rejected materials are not always controlled under a quarantine/hold classification in SAP system to prevent their unauthorized use.

Form FDA 483, Rentschler Biopharma SE, Laupheim, issued 15 February 2022, observation 6. The batch, released after deviation DEV-⁠19-⁠0364 found no impact, was never locked in SAP while a comparability protocol assessed it, and was rejected on 2 February 2022.12

Planning to move into an ERP does not answer a finding by itself. A firm that kept master batch records as unlocked Excel files planned, in FDA’s words, “to begin using Ecount, your Enterprise Resource Planning program, to issue batch records”. FDA answered:

Your response is inadequate because it did not include interim control measures to prevent alteration and deletion of data.

Chemland Co., Ltd., warning letter 320-⁠20-⁠22, 11 February 2020.13

7How validation differs.

FDA asks for each CGMP workflow on a computer system to be validated, and uses an MES to explain why: qualifying the platform “does not demonstrate that a given MPCR generated by the MES contains the correct calculations”. Where one system performs CGMP and non-⁠CGMP functions, as an ERP with finance and GMP stock functions does, the risk of the non-⁠CGMP functions affecting CGMP operations should be assessed and mitigated.7

For medical devices, FDA’s assurance guidance sets the effort by process risk. In its example, an ERP restocking feature is intermediate risk when a qualified person checks materials before use, and high risk when the ERP also automates that check with no person checking.14 See CSV vs CSA.

8What changed in 2025 and 2026.

  • FDA’s final computer software assurance guidance for device manufacturers, issued on 24 September 2025, was reissued on 3 February 2026, the day after the QMSR took effect.14
  • ISA revised Part 1 of ISA-⁠95 as ANSI/ISA-95.00.01-2025.1 The international edition, IEC 62264-⁠1, is still the 2013 one.2
  • The EU’s 2025 draft of Annex 11 is not in force; on 26 November 2026 the Commission still lists the January 2011 text.15 See what the Annex 11 revision changes.

9How it runs in Seal.

Seal’s MES runs batch workflows configured around your process, with material eligibility, equipment readiness, operator instructions, QC and review in the same workflow. The operator scans each lot, the workflow checks its identity, status and expiry, and the quantity is recorded against the configured tolerance; the accepted dispense is the source for inventory reconciliation and batch genealogy. Where an ERP stays in place, Seal connects to it for orders, materials and lots, and each connection sets which system owns which record.

The ERP integrations read selected records from SAP S/4HANA Cloud and NetSuite, which stay the source of truth. The bills of materials guide keeps BOM revisions, required quantities and recorded consumption distinct, and shows how to reconcile a consumption posting whose acknowledgment from the ERP is lost.

AQuestions and answers

Who owns material status, the ERP or quality?

Quality. Under CGMP, components and products stay in quarantine until the quality control unit releases them, and dispensing checks that each component was released. Any system that shows material as available should carry the status the quality control unit set, through an interface that is checked for accuracy.

Is an MES part of the ERP?

Not in ISA-⁠95’s model, which puts them at different levels joined by an interface. One supplier may sell both: SAP sells S/4HANA as ERP and describes SAP Digital Manufacturing as a cloud-based manufacturing execution system. In GMP terms the product name matters less than the records it holds: whatever records batch steps as they are done is doing the MES’s job and is validated for it.

Where does a warehouse management system fit?

A warehouse management system tracks storage locations and stock movements, as part of the ERP or beside it. It becomes a GMP system when it holds lot status or decides which lot is picked. Then it must carry the quality unit’s decisions and be validated for that use.

References15 sources

References

  1. 1ISA-⁠95 Series of Standards: Enterprise-⁠Control System Integration, International Society of Automation, including ANSI/ISA-95.00.01-2025, Part 1: Models and Terminology. https://www.isa.org/standards-and-publications/isa-standards/isa-95-standard (read 26 November 2026)
  2. 2IEC 62264-⁠1:2013, Enterprise-control system integration, Part 1: Models and terminology, IEC, edition 2.0, 22 May 2013. https://webstore.iec.ch/en/publication/6675 (read 26 November 2026)
  3. 321 CFR Part 211, Current Good Manufacturing Practice for Finished Pharmaceuticals, sections 211.22, 211.42, 211.82, 211.84, 211.89, 211.100, 211.101, 211.103, 211.142, 211.150, 211.165, 211.184, 211.186, 211.188, 211.192 and 211.196, eCFR. https://www.ecfr.gov/current/title-21/chapter-I/subchapter-C/part-211 (read 26 November 2026)
  4. 421 CFR 211.68, Automatic, mechanical, and electronic equipment, eCFR. https://www.ecfr.gov/current/title-21/section-211.68 (read 26 November 2026)
  5. 5EudraLex Volume 4, Annex 16: Certification by a Qualified Person and Batch Release, European Commission, in operation from 15 April 2016, section 4.2. https://health.ec.europa.eu/system/files/2016-11/v4_an16_201510_en_0.pdf (read 26 November 2026)
  6. 6EudraLex Volume 4, Annex 11: Computerised Systems, European Commission, in operation from 30 June 2011, sections 4.3, 5 and 9. https://health.ec.europa.eu/system/files/2016-11/annex11_01-2011_en_0.pdf (read 26 November 2026)
  7. 7Data Integrity and Compliance With Drug CGMP: Questions and Answers, Guidance for Industry, FDA, December 2018, questions 3, 4, 7 and 8. https://www.fda.gov/media/119267/download (read 26 November 2026)
  8. 8EudraLex Volume 4, Chapter 4: Documentation, European Commission, in operation from 30 June 2011, section 4.20 and its note. https://health.ec.europa.eu/system/files/2016-11/chapter4_01-2011_en_0.pdf (read 26 November 2026)
  9. 9EudraLex Volume 4, Chapter 3: Premises and Equipment, European Commission, in operation from 1 March 2015, section 3.21. https://health.ec.europa.eu/system/files/2016-11/chapter_3_0.pdf (read 26 November 2026)
  10. 10EudraLex Volume 4, Chapter 5: Production, European Commission, in operation from 1 March 2015, section 5.5. https://health.ec.europa.eu/system/files/2016-11/chapter_5_0.pdf (read 26 November 2026)
  11. 11ICH Q7, Good Manufacturing Practice Guide for Active Pharmaceutical Ingredients, ICH, 10 November 2000, section 10.11. https://database.ich.org/sites/default/files/Q7%20Guideline.pdf (read 26 November 2026)
  12. 12Form FDA 483, Inspectional Observations, Rentschler Biopharma SE, Laupheim, Germany, inspection 7 to 15 February 2022, observation 6. https://www.fda.gov/media/159164/download (read 26 November 2026)
  13. 13Warning Letter 320-⁠20-⁠22, Chemland Co., Ltd., FDA, 11 February 2020. https://www.fda.gov/inspections-compliance-enforcement-and-criminal-investigations/warning-letters/chemland-co-ltd-593158-02112020 (read 26 November 2026)
  14. 14Computer Software Assurance for Production and Quality Management System Software, Guidance for Industry and FDA Staff, FDA, 3 February 2026, superseding the version of 24 September 2025, section V.A(2). https://www.fda.gov/media/188844/download (read 26 November 2026)
  15. 15EudraLex Volume 4, Good Manufacturing Practice guidelines, European Commission. https://health.ec.europa.eu/medicinal-products/eudralex/eudralex-volume-4_en (read 26 November 2026)

See your process in Seal.

Bring a procedure or a recurring problem. See how your team configures it with Neil and improves the next run.