JinJin48
JinJin48
SAP Consultant | BTP · S/4HANA · US Global Rollout
· 13 min read

Cover: SAP MM Batch Master — lot-level inventory identity bridging Material Master and Classification

SAP MM Batch Master

The Batch Master is the master data record that represents a uniquely identified lot, production run, or delivery unit of a material. Where the Material Master defines what a material is, the Batch Master defines a specific, traceable instance of it — capturing production dates, expiration dates, quality status, and vendor-assigned lot numbers. Every goods movement, quality inspection, and shelf-life check in SAP traces back to a Batch Master record. This article covers the object’s scope, types, organizational levels, integration points, and the MM-specific fields that consultants configure and maintain.


Part 1: Batch Master — Core Concepts (All Modules)

1.1 What Is the Batch Master?

Hub-and-spoke diagram showing the Batch Master at center, connected to Material Master, Class/Characteristic, QM Inspection Lot, Goods Movement, and Shelf Life

A batch is a subset of a material’s total stock that is managed as a separate, uniquely identified unit throughout its lifecycle — from goods receipt through storage, consumption, and disposal. The Batch Master record stores the lot-specific attributes that distinguish one batch from another: when it was made, when it expires, who supplied it, and whether it is unrestricted, restricted, or blocked for use.

AspectDetails
RoleStores lot-level identity, shelf life dates, classification values, and batch status for a specific quantity of a material
Modules using itMM (Goods movements, procurement batch assignment), QM (Quality inspection at batch level, usage decisions), WM/EWM (Warehouse-level batch tracing), PP (Production order batch assignment, component batch selection), SD (Batch-specific delivery and billing)
TransactionsMSC1N (Create) / MSC2N (Change) / MSC3N (Display) / MSCUV (Batch where-used list) / MB56 (Batch availability overview)
Key TablesMCH1 (Batch level above plant — client/plant-independent) / MCHA (Plant-level batch) / MCHB (Batch stock by plant and storage location) / MCH7 (Batch classification values)
S/4HANA noteCore batch data model unchanged from ECC. In S/4HANA, the “Manage Batches” Fiori app (F1234) replaces MSC3N for display and search. Batch classification search is available via Fiori with characteristic-based filtering.

1.2 Batch Level Options

Comparison grid showing the three SAP batch level options: Client, Plant, and Material, with their use cases and key behaviors

The batch level setting controls at which organizational scope a batch number is unique. This is a client-wide Customizing setting (transaction OMCE) and cannot be changed after batches exist — making the batch level decision one of the most consequential configuration choices in an MM implementation.

Batch LevelSettingUse CaseKey Behavior
Client Level10Cross-plant batch tracing — same batch number represents the same physical lot across all plantsBatch identity is unique at client + material + batch number. Stock can be transferred between plants without creating a new batch. Most common for regulated industries (pharma, food, chemicals).
Plant Level20Plant-autonomous batch management — same batch number can exist independently in different plantsBatch identity is unique at plant + material + batch number. A batch “1000” in Plant 1000 is a different record from “1000” in Plant 2000. Simpler for plants with no shared lots.
Material Level30Material-autonomous batches — batch number uniqueness scoped per material regardless of plantBatch identity at material + batch number. Rare in practice; used when materials are logically distinct but batch numbers may be reused across them.

Design principle: Batch level must be agreed between MM, QM, and PP during blueprint. Client-level batches are required when cross-plant stock transfers must preserve batch identity and when the same batch is inspected once and results must be visible plant-wide.


1.3 Organizational Levels and Data Hierarchy

Hierarchy diagram showing Batch Master facets across four organizational scopes: Batch Header (MCH1) at Client, Batch per Plant (MCHA) at Plant, Batch Stock (MCHB) at Storage Location, Batch Classification (MCH7) cross-cutting

A Batch is not a single record but a set of related entries across four SAP tables, each maintained at a different organizational scope. The batch level (Client / Plant / Material) is a Customizing decision (OMCT) made before go-live — it controls how widely the batch number is unique and cannot be changed afterward without complex data conversion.

Client scope
   │
   └── Batch Header (MCH1) — identity record
          One row per (Material × Batch Number).
          Fields: batch number, material, batch status, creation date,
                  SLED (shelf life expiry), MHD (best-before date),
                  vendor batch number, date of manufacture.

Plant scope (per Plant)
   │
   └── Batch per Plant (MCHA) — plant-specific attributes
          One row per (Batch × Plant).
          Fields: plant-level batch status, plant-level shelf life,
                  last goods movement date, QM classification link,
                  restricted-use indicator.

Storage Location scope (per Plant + Storage Location)
   │
   └── Batch Stock per Storage Location (MCHB)
          One row per (Batch × Plant × Storage Location).
          Fields: unrestricted, quality inspection, blocked,
                  restricted-use stock quantities.

Cross-cutting (linked by batch number, optional)
   │
   └── Batch Classification (MCH7) — Class Type 023
          One row per (Batch × Characteristic).
          Fields: class assignment, characteristic values.
Object (Table)ScopePrimary FieldsNotes
Batch Header (MCH1)ClientBatch number, material, batch status, SLED, MHD, vendor batch, date of manufactureIdentity record. Present even when batch level = Plant.
Batch per Plant (MCHA)PlantPlant-level batch status, plant-level shelf life, last goods movement dateExists for each plant in which the batch has had a goods movement.
Batch Stock per Storage Location (MCHB)Storage LocationUnrestricted, quality inspection, blocked, restricted-use stock quantitiesSource of truth for batch-specific stock balances. Batch availability checks read MCHB.
Batch Classification (MCH7)Cross-cutting (by batch number)Class 023 assignment, characteristic valuesMaintained via CL01 / CT01 / MSC2N. Only present when Class Type 023 is assigned to the material.

Key design decision: For regulated industries, shelf life dates (SLED) must be maintained at MCH1 level and are automatically proposed during goods receipt if the material’s shelf life settings are active in the Material Master (MRP / Purchasing views). Inconsistent shelf life data between MCH1 and MCHA is a common source of batch availability errors.


1.4 Integration with Other Master Data Objects

Hub-and-spoke diagram showing Batch Master at center connected to Material Master, Class, Characteristic, QM Inspection Lot, Purchasing Info Record, and Production Order

The Batch Master is not created in isolation. It is downstream of the Material Master and Classification objects, and is consumed by QM, PP, and WM processes.

ObjectRelationshipPractical Notes
Material MasterBatch management is activated per material in the Material Master (Plant/Storage 1 view — Batch Management flag)Without this flag set, the system does not prompt for batch at goods movements. Activating batch management on an existing material that already has stock requires a careful migration procedure (stock must be zero or moved first).
Class (CL01)Batch Master records are classified using class type 023 (Batch)Classification enables characteristic-based batch search (e.g., find all batches with protein content ≥ 80%). Requires classes and characteristics to be defined first (Phase 3 prerequisite).
Characteristic (CT04)Characteristic values stored in MCH7 per batchCharacteristics define the attributes captured per batch — pH level, viscosity, certificate number, inspection result. The characteristic data type and value range must be defined before batch classification can be used.
QM Inspection LotA QM usage decision updates the batch status (unrestricted / restricted / blocked)The link between QM and Batch Master is the primary driver of batch status changes in quality-controlled processes. Misaligned batch status between QM and MM is the most common cross-module batch issue.
Purchase Order / Goods ReceiptVendor batch number and SLED captured during GR into MCHA/MCH1Vendor batch number (LICHA) is recorded at GR via MIGO. If external batch number assignment is active (OMCE setting), the vendor’s lot number becomes the SAP batch number automatically.
Production OrderComponent batch selection at order confirmation; finished goods batch created at GRPP batch selection criteria (MIGO at backflush or component batch determination) read MCHA batch status and MCHB quantities. Batch where-used list (MSCUV) traces components through production.

Part 2: MM-Specific Field Details

2.0 Scope of MM Ownership

Checklist showing MM consultant ownership across Batch Master data sections: Basic Data, Shelf Life, Classification, and Batch Status

Data SectionMM InvolvementNotes
Basic Data◎ OwnerBatch number, material, plant, vendor batch number
Shelf Life Data◎ OwnerSLED, MHD, date of manufacture, remaining shelf life
Batch Status◎ OwnerUnrestricted / restricted / blocked — MM sets initial status; QM may update via usage decision
Classification (Characteristic Values)○ Shared with QM / LabClass assignment driven by MM Customizing; values entered by QM or lab teams in quality-controlled processes
QM Link○ Shared with QMBatch status changes triggered by QM inspection usage decision; MM consultant must coordinate inspection type and batch status management in blueprint

Legend: ◎ = Owner / Critical, ○ = Direct involvement


2.1 Basic Data

Checklist of key Batch Master basic data fields: Batch Number, Material, Plant, Vendor Batch Number, Date of Manufacture, Country of Origin

Basic Data captures the identifying and sourcing information for each batch. These fields are typically populated at goods receipt and drive traceability reporting.

FieldDescriptionPractical Usage
Batch Number (CHARG)Unique identifier for the batch within the material-plant scopeLength and format controlled by the batch number range configuration (OMCE). Internal batch number assignment (system-generated) is common in manufacturing; external assignment (vendor’s lot number becomes the batch number) is common in distribution and pharma. Agree on internal vs. external assignment in blueprint — it cannot be changed per material after the fact without a migration.
Material (MATNR)The material this batch belongs toA batch always belongs to exactly one material. Cross-material batch assignment is not possible in standard SAP — this drives the need for careful material master design in process industries where the same physical lot may be reclassified.
Plant (WERKS)The plant at which the batch was received or createdPopulated at GR. For client-level batch management, the batch header (MCH1) exists across plants, but MCHA tracks the plant-level status. Transfers between plants do not create new batches at client level.
Vendor Batch Number (LICHA)The vendor’s internal lot or batch numberCaptured during GR (MIGO field “External batch”). Critical for recall management — this is the cross-reference between SAP batch records and vendor quality certificates. Always configure GR screens to make this field visible and mandatory for quality-critical materials.
Date of Manufacture (HSDAT)Production date of the batchEntered at GR or maintained manually in MSC2N. Drives the automatic calculation of SLED when the material’s total shelf life is defined in the Material Master. If HSDAT is not entered at GR, SLED cannot be system-calculated — configure GR mandatory-field settings accordingly.
Country of Origin (HERKL)Country where the material in this batch was producedRequired for customs declarations and import compliance. Can be defaulted from the Vendor Master or PIR but must be confirmed at GR for materials sourced from multiple countries.
Region of Origin (HERKR)Specific region within the country of originUsed for geographic designation requirements (e.g., wine appellations, protected designations of origin). Maintained in conjunction with HERKL.

2.2 Shelf Life Data

Stack layered diagram grouping Shelf Life fields: Date of Manufacture, Total Shelf Life, Remaining Shelf Life, SLED, MHD, and Minimum Remaining Shelf Life

Shelf life management is the most operationally significant part of the Batch Master for food, pharma, chemical, and consumer goods industries. Fields in this section control batch availability and FEFO (First Expired First Out) picking.

FieldDescriptionPractical Usage
Total Shelf Life (MHDLP)Total number of days from manufacture to expiryDefined in the Material Master (Plant/Storage 1 view — General Plant Data/Storage). When HSDAT is entered at GR, the system automatically calculates SLED = HSDAT + MHDLP. If left blank in Material Master, SLED must be entered manually at GR — a common source of data quality issues.
Shelf Life Expiry Date (SLED / VFDAT)The date after which the batch must not be used or soldThe primary date used in batch availability checks and FEFO warehouse strategies. SLED-expired batches can be blocked automatically via a batch search strategy or by configuring the system to flag them as “blocked” at the stock determination level. In pharma and food projects, this is the most critical date in the Batch Master.
Best-Before Date (MHD)“Best before” date — quality is guaranteed until this date but material may still be usable afterSeparate from SLED. Used where regulatory requirements distinguish between the safety expiry (SLED) and the quality guarantee date (MHD). In Japan, food regulations commonly use both dates.
Minimum Remaining Shelf Life (MNDLP)Minimum number of days of remaining shelf life required at time of goods receiptDefined in Material Master (Purchasing view). If SLED − GR date < MNDLP, the system issues a warning or error at GR depending on the tolerance key configuration. Used to reject incoming deliveries with insufficient remaining shelf life — critical for retail customers who impose their own minimum shelf life requirements on suppliers.
Storage Period (IPRKZ)Period indicator for shelf life unit (days, months, years)Defines the unit for MHDLP and MNDLP calculations. Confirm the unit matches the business’s convention — mismatches between “days” and “months” settings cause SLED calculation errors that are hard to detect before go-live.
Remaining Shelf Life at GRCalculated field: SLED − GR dateSystem-calculated at GR for information and tolerance checking. Not stored separately; displayed in MSC3N and on GR documents.

2.3 Batch Status

Comparison two-column layout showing the three batch statuses (Unrestricted, Restricted, Blocked) with their stock categories and allowed transactions

Batch status controls which stock category a batch’s inventory falls into and determines which transactions can consume or move the batch. It is the primary mechanism for quality hold management in MM.

StatusCodeStock CategoryAllowed OperationsPractical Usage
Unrestricted(blank / U)Unrestricted-use stockAll goods movements, PO release, delivery, backflushDefault status for batches not under quality inspection or hold. All normal MM and PP operations proceed without restriction.
RestrictedRRestricted-use stockGoods movements allowed but restricted — typically requires a usage decision or overrideUsed when a batch is conditionally released for use in specific processes (e.g., downgraded for rework use only). Requires Customizing to enable movement type-level restriction behavior.
BlockedSBlocked stockNo consumption, no delivery, no transfer allowedApplied automatically when QM creates an inspection lot requiring a usage decision, or manually via MSC2N for quality holds. A blocked batch cannot be delivered or consumed until the status is changed. This is the primary quarantine mechanism in regulated industries.

Design principle: Batch status changes should be governed by a clear process — either through QM usage decisions (system-driven) or through an MM-authorized change in MSC2N (manual). Uncontrolled manual status changes are an audit risk in GxP environments. Establish a change log and approval workflow for batch status changes as part of the QM-MM integration design.


2.4 Classification (Characteristic Values)

Checklist of batch classification characteristic value fields: Class Assignment, Characteristic Values, and Search Strategy linkage

Batch classification enables capturing lot-specific quality, compositional, or process attributes and using them for batch search, selection, and reporting. It is the bridge between the Batch Master and the Classification module (Phase 3).

FieldDescriptionPractical Usage
Class Assignment (KLART 023)Assignment of a classification class (type 023 = Batch) to the batchThe class defines which characteristics are relevant for this batch. One or more classes can be assigned to a single batch. The class type 023 must be used — using other class types (e.g., 001 for materials) on batches causes search strategy errors in WM and SD.
Characteristic ValuesValues entered for each characteristic defined in the assigned classExample characteristics: Protein Content (%), pH Value, Certificate Number, Viscosity (mPas). Values are stored in MCH7 and are searchable via the Classification Info System (CL30N) or the Manage Batches Fiori app. In pharma and food, these values are often populated automatically from QM inspection results via the QM-Classification link.
Batch Search StrategySAP WM/EWM setting that selects batches based on characteristic valuesConfigured in Customizing (transaction MBC1). When a batch search strategy references a class, the system evaluates characteristic values to select the best-fit batch for a delivery or production order. This is the mechanism for FEFO-by-characteristic (e.g., always pick the batch with the highest protein content above 85%).
Standard Characteristic — LOBM_VFDATStandard batch classification characteristic for SLEDPre-defined by SAP; must be included in the batch class to enable FEFO picking via WM batch search strategy. If LOBM_VFDAT is missing from the class, the SLED date cannot be used in the search strategy — a common configuration gap discovered only at WM testing.
Standard Characteristic — LOBM_ZUSTDStandard characteristic for batch statusLinks the MCHA batch status to the classification system. Required when batch status is used as a selection criterion in batch search strategies.

Prerequisite: Class and Characteristic objects (Phase 3 — MM-A04-01, MM-A04-02) must be created and class type 023 activated before batch classification can be used. Batch classification setup should be included in the Phase 3 workbook even though it is used in Phase 4.


L1) Big Picture

IDCategoryTitle
mm-001OverviewWhat is SAP MM?

L2-A) Master Data

IDCategoryTitle
mm-a01OverviewSAP MM Master Data: Overview, Hierarchy & Relationships
mm-a02-01Master DataSAP MM Material Master
mm-a04-01Master DataSAP MM Class
mm-a04-02Master DataSAP MM Characteristic
mm-a06-01Master DataSAP MM Purchasing Info Record
mm-a05-01Master DataSAP MM Batch Master 📍
mm-a06-02Master DataSAP MM Source List
mm-a06-03Master DataSAP MM Quota Arrangement
mm-a06-04Master DataSAP MM Price Condition

L2-B) Transaction

IDCategoryTitle
mm-b01OverviewSAP MM Transactions: Process Flow, Hierarchy & Module Integration