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

Cover: SAP EWM Batch Master — lot-level identity linking Material, Plant, and Warehouse stock control

SAP EWM Batch Master

The Batch Master is the master data record that captures lot-specific information for batch-managed materials in SAP S/4HANA and EWM. Each batch is uniquely identified by the combination of Material, Plant, and Batch Number, and carries critical attributes such as manufacturing date, shelf life expiration date (SLED/BBD), classification values, and stock status. In SAP EWM, the Batch Master drives FEFO (First Expiry, First Out) picking strategy, batch-specific storage bin assignment, and batch split during putaway and packing. This article covers the Batch Master’s core concepts (Part 1) and the EWM-specific field details that warehouse consultants own or configure (Part 2).


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, Warehouse Product, FEFO Picking Strategy, Batch Characteristics, Inspection Lot, and Storage Bin

A batch is a uniquely identifiable quantity of a material that shares the same production run, supplier lot, or quality characteristics. The Batch Master record stores the attributes of that specific lot — when it was made, when it expires, what classification values it carries, and what stock status it is in. Unlike the Material Master, which describes a material type, the Batch Master describes a particular physical instance of that material.

AspectDetails
RoleStores lot-specific attributes (dates, classification, stock status) for one instance of a batch-managed material
Modules using itMM (batch-managed purchasing and goods movements), WM/EWM (FEFO picking, batch-split putaway, stock type control), QM (quality inspection lot linked to batch), PP (production lot tracking), SD (batch determination for sales)
TransactionsMSC1N (Create Batch) / MSC2N (Change Batch) / MSC3N (Display Batch) / MB56 (Batch Where-Used) / MM60 (Batch List) / Fiori: “Manage Batches” (F2370)
Key TablesMCH1 (Batch Header — Client level) / MCHA (Batch per Plant) / MCHB (Batch Stock — Plant/Storage Location) / MCH7 (Batch Classification)
S/4HANA noteBatch level is configurable at Client, Plant, or Material/Plant level. Embedded EWM shares the same DB — Batch Master created in MM is immediately available in EWM without CIF transfer. For Decentralized EWM, batch replication occurs via CIF/qRFC in real time.

1.2 Batch Status Types

2x2 matrix comparing the four SAP batch status types: Unrestricted, Restricted, Blocked, and Quality Inspection

The batch status (also called the batch classification status or restricted-use indicator in EWM) determines whether stock in a batch can be freely used in warehouse operations. Selecting the wrong status at goods receipt causes operational disruption — a batch that should be held for inspection may be picked before QM releases it.

Batch StatusCodeUse CaseKey Behavior
UnrestrictedUNormal usable stock, all operations allowedAvailable for all picking, transfer order, and delivery processes without restriction
Restricted-UseRConditionally usable stock (partial quality hold)Available for special movement types only; EWM can route to restricted-use storage type
BlockedBBlocked stock — not available for any useCannot be picked or transferred; requires QM or supervisor action to unblock
Quality InspectionQUnder active quality inspectionGR-posted stock held until QM releases; EWM puts in quarantine storage type; released to unrestricted upon QM usage decision

Design principle: Define the initial stock status at goods receipt in the batch classification and QM integration settings during blueprint. Changing batch status after GR requires a special movement type (344/344-R) and leaves an audit trail.


1.3 Organizational Levels and Data Hierarchy

Hierarchy diagram showing Batch Master facets across four organizational scopes: MCH1 at Client, MCHA at Plant, MCHB at Storage Location, and MCH7 as cross-cutting classification

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 a batch number is unique and cannot be changed afterward without complex data conversion.

Client scope
   │
   └── MCH1 — Batch Header (identity record)
          One row per (Material × Batch Number)
          Fields: batch number, material, creation date, external batch reference

Plant scope (per Plant: 1000, 2000, …)
   │
   └── MCHA — Batch per Plant (plant-specific attributes)
          One row per (Batch × Plant)
          Fields: Manufacturing date, SLED/BBD, total shelf life,
                  minimum remaining shelf life, vendor batch number,
                  country of origin, restricted-use indicator

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

Cross-cutting (linked by batch number, optional)
   │
   └── MCH7 — Batch Classification (Class Type 023)
          One row per (Batch × Characteristic)
          Fields: class assignment, characteristic values
                  (e.g. potency, color, particle size, purity %)
Org ScopeTablePrimary FieldsNotes
ClientMCH1Batch number, material, creation date, external batch referenceIdentity record. When batch level = Client, the same batch number is unique across all plants — prevents duplicate lot numbers across sites.
PlantMCHAManufacturing date, SLED/BBD, total shelf life, minimum remaining shelf life, vendor batch, country of originPlant-specific attributes — the same batch number can carry different expiry dates per plant when batch level is Plant.
Storage LocationMCHBUnrestricted, quality inspection, blocked, restricted-use quantitiesUpdated by goods movements; the source of truth for batch-specific stock balances per storage location.
Cross-cuttingMCH7Class 023 assignment, characteristic valuesQuality and specification values for batch determination in SD/EWM; maintained via CL01 / CT01 / MSC2N.

Key design decision: Choose batch level (Client / Plant / Material) in Customizing (OMCT) before any production go-live. Changing it afterward requires a complex data conversion. Most process industry implementations use Plant level for batch number uniqueness.


1.4 Integration with Other Master Data Objects

Hub-and-spoke diagram showing Batch Master at center, connected to Material Master, Warehouse Product, Batch Characteristics, Inspection Lot, Picking Strategy FEFO, and Storage Bin

The Batch Master does not stand alone. It is the convergence point for quality, logistics, and warehouse data — every batch-triggered process in EWM traces back to data recorded here.

ObjectRelationshipPractical Notes
Material MasterBatch Master references Material (MATNR); batch management activated in MM Plant/Storage ViewThe “Batch Management” checkbox in Material Master (Plant/Storage View) must be set before a batch can be created. Total shelf life and minimum remaining shelf life can be defaulted from the Material Master and overridden at batch level
Warehouse Product (EWM)Batch Master is linked 1:N to Warehouse Product in EWM hierarchyWarehouse Product inherits batch management from Material Master; EWM picks up SLED/BBD from the Batch Master for FEFO sorting
Batch Characteristics (EWM-A08-02)Batch Characteristics are values stored within the Batch Master’s classification segment (MCH7)Characteristic values (potency, purity, temperature range) are maintained in MSC2N / Fiori “Manage Batches”; EWM uses them for batch determination in picking
Inspection Lot (QM)QM Inspection Lot is created on GR for a batch; lot links to batch numberQM usage decision changes batch status from Q (inspection) to U (unrestricted) or B (blocked); EWM reacts in real time to update available stock
Picking Strategy — FEFOEWM evaluates SLED/BBD from Batch Master to sort available batches for FEFO pickingFEFO picking is only effective when SLED/BBD is correctly maintained at GR; missing dates cause FEFO to fall back to FIFO or produce sorting errors
Storage BinEWM can assign batches to dedicated storage bins or storage types based on batch statusRestricted-use and quality inspection stock can be automatically directed to separate storage types via EWM Putaway Strategy, preventing mix with unrestricted stock

Part 2: EWM-Specific Field Details

2.0 Scope of EWM Ownership

Checklist showing EWM consultant ownership across Batch Master data sections: Basic Batch Data, Shelf Life Data, Classification Data, EWM Stock Control

Data SectionEWM InvolvementNotes
Basic Batch Data◎ Owner (shared MM)Batch number, material, plant, creation date — created in MM but consumed by EWM for all warehouse operations
Shelf Life Data◎ Owner (shared MM/QM)SLED/BBD drives FEFO strategy; EWM consultant must verify SLED is mandatory at GR in configuration
Classification Data○ Shared with MM/QMBatch class and characteristic values created in MM/QM; EWM uses values for batch determination and sorting
EWM Stock Control◎ OwnerBatch-specific stock type, restricted-use indicator, and bin assignment are EWM-specific configurations

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


2.1 Basic Batch Data

Checklist of key basic batch data fields: Batch Number, Material, Plant, Creation Date, External Batch Reference, Vendor Batch Number, Country of Origin

Basic Batch Data forms the identity layer of the batch record — it establishes which material, which lot, and which plant the batch belongs to. This data is created in MM (MSC1N or automatically at GR) and is the anchor for all subsequent EWM operations.

FieldDescriptionPractical Usage
Batch Number (CHARG)Unique lot identifier within the batch level scopeEWM uses this as the primary key for all batch-specific warehouse tasks. Auto-assignment via number range object “BATCH_CLT” or “BATCH_PLT” is strongly recommended for high-volume environments to prevent duplicate entry errors at GR
Material (MATNR)Material number linked to this batchMust have batch management active in the Material Master Plant/Storage View; without this flag, the batch cannot be created or referenced in EWM warehouse tasks
Plant (WERKS)Plant where the batch is managedFor Decentralized EWM, plant assignment triggers real-time CIF replication to the EWM system; for Embedded EWM, the same DB is shared and no transfer is needed
Creation DateDate the batch record was first createdAuto-set by the system at MSC1N or first GR posting; used in where-used reports (MB56) to trace batch origin across the supply chain
External Batch ReferenceCross-reference to an external batch systemUsed in regulated industries (pharma, food) where a government lot number or customer batch number must be tracked alongside the internal SAP batch number
Vendor Batch NumberSupplier’s own lot numberCaptured at GR (MIGO or Inbound Delivery); allows traceability from the internal batch back to the vendor’s own production lot — essential for supplier quality investigations and recall management
Country of OriginISO country code for the batch’s originRequired for customs, import duty, and origin-based quality rules; in food and pharma industries this field also drives regulatory labelling and country-of-origin declarations

2.2 Shelf Life Data

Checklist of shelf life fields: Manufacturing Date, SLED/BBD, Total Shelf Life, Minimum Remaining Shelf Life, with FEFO impact indicators

Shelf Life Data is the most operationally critical section of the Batch Master in an EWM FEFO environment. These fields are the direct inputs to the FEFO picking strategy — if they are missing or incorrect at goods receipt, FEFO sort order breaks down silently and older batches may remain in stock past their expiry date.

FieldDescriptionPractical Usage
Manufacturing Date (HSDAT)Date the batch was produced or filledEWM can calculate SLED automatically from Manufacturing Date + Total Shelf Life when “Shelf Life Expiration Date Check” is active in the Material Master; in automated GR flows this eliminates manual SLED entry
Shelf Life Expiration Date / BBD (VFDAT)Date after which the batch must not be used or soldThe primary sort key for FEFO picking in EWM. Must be mandatory at GR — configure this in MM Customizing (OMJJ for movement type 101, or in Warehouse Product settings). Blank SLED causes FEFO to ignore this batch in sort order, leading to expiry risk
Total Shelf LifeTotal number of days from manufacturing to expiryMaintained in the Material Master Plant/Storage View; copied to the batch at creation and used to auto-calculate SLED when Manufacturing Date is entered; change at Material Master level affects future batches only
Minimum Remaining Shelf LifeMinimum days remaining when delivered to customerUsed in SD batch determination and EWM goods issue checks; a batch with fewer remaining days than this threshold will be blocked for outbound delivery — critical for food, pharma, and cosmetics meeting retailer shelf life requirements
Storage PeriodNumber of days the material can be stored in the warehouseUsed in EWM Putaway to determine whether a newly received batch has sufficient remaining shelf life to justify putaway; if remaining shelf life < storage period, the system can block putaway
Total Shelf Life (Remaining)Calculated remaining shelf life at the time of transactionSystem-calculated field used in FEFO reports and stock aging analysis; not entered manually — derived from SLED minus current date

2.3 Classification Data

Stack layered diagram showing Batch Classification structure: Batch Class (023) → Characteristics → Values, with examples of potency, color, purity

Classification Data stores the quality and specification values that distinguish one batch from another at the characteristic level. While the class and characteristic definitions are owned by QM/MM, EWM uses these values for batch determination during picking — selecting only batches that meet the outbound delivery’s required specification.

FieldDescriptionPractical Usage
Batch Class (023)Classification class of type 023 assigned to the batchMust be created in CL01 with class type 023 before it can be assigned to a batch; the class defines which characteristics are available for this batch record; all batches of the same material should use the same class for consistent batch determination
Characteristic NameName of the batch-specific quality attributeExamples: Potency (%), Color (RAL code), Particle Size (µm), Purity (%), Temperature Range; defined in CT01; EWM batch determination conditions reference these characteristic names directly
Characteristic ValueActual measured or assigned value for this batchEntered at GR (MSC2N or Fiori “Manage Batches”) or populated automatically from QM Inspection Lot usage decision; EWM evaluates these values against batch search criteria defined in the delivery or warehouse task to select the correct batch
Characteristic Unit of MeasureUnit for numeric characteristic valuesMust match the UoM defined in the characteristic definition (CT01); mismatch between the entered UoM and the defined UoM causes batch determination errors in EWM picking

Prerequisite: Batch Classification cannot be used in EWM batch determination unless the batch class (023) is assigned to the material in the Material Master Classification View and characteristic values are populated on each batch. Missing values cause EWM to skip the batch in search criteria evaluation.


2.4 EWM Stock Control

Checklist of EWM stock control fields: Stock Type per Batch, Restricted-Use Indicator, Batch-Specific Bin Assignment, Special Stock Indicator

EWM Stock Control fields govern how the EWM system handles a specific batch within the warehouse — which stock type it occupies, whether it can be freely transferred, and whether it is assigned to a dedicated bin. These fields are EWM-specific and are the primary levers the warehouse consultant configures to enforce lot integrity and quality segregation.

FieldDescriptionPractical Usage
Stock TypeDesignates the stock category for the batch in EWM (Unrestricted / Quality Inspection / Blocked / Restricted-Use)Drives which warehouse tasks and processes are permitted; changed by QM usage decision, goods receipt posting, or manual stock type transfer (/SCWM/STOCK_CHANGE); always confirm the initial stock type flow at GR in the integration design with QM
Restricted-Use IndicatorFlags the batch as restricted-use stock within EWMRestricted-use stock can be made available for specific movement types only; EWM putaway strategy can route restricted-use batches to a separate storage type (e.g., quarantine area) to prevent physical mixing with unrestricted stock
Batch-Specific Bin AssignmentEWM Storage Bin dedicated to this batchUsed when a batch must be stored in a specific physical location (e.g., a temperature-controlled zone for a particular lot); configured via Fixed Storage Bin assignment combined with batch-level putaway strategy rules
Special Stock IndicatorIdentifies vendor consignment, project, or sales order stock at batch levelWhen a batch is managed as vendor consignment (special stock type K) or project stock (Q), EWM tracks stock separately per batch and special stock indicator; important for consignment settlement (MRKO) and project inventory accuracy
EWM Batch StatusEWM-internal batch status managed at the warehouse levelCan differ from the MM batch restricted-use indicator when EWM is Decentralized; the EWM batch status controls warehouse task creation while MM batch status controls goods movement posting — mismatches between the two must be monitored in decentralized landscapes

L1) Big Picture

IDCategoryTitle
ewm-001OverviewWhat is SAP EWM?

L2-A) Master Data

IDCategoryTitle
ewm-a01OverviewSAP EWM Master Data: Overview, Hierarchy & Relationships
ewm-a02-01Master DataSAP EWM Material Master
ewm-a03-01Master DataSAP EWM Storage Type
ewm-a03-02Master DataSAP EWM Storage Section
ewm-a03-03Master DataSAP EWM Putaway Strategy
ewm-a03-04Master DataSAP EWM Picking Strategy
ewm-a04-02Master DataSAP EWM Storage Bin
ewm-a04-03Master DataSAP EWM Fixed Storage Bin
ewm-a04-04Master DataSAP EWM Production Supply Area
ewm-a04-05Master DataSAP EWM Packaging Specification
ewm-a04-06Master DataSAP EWM User
ewm-a05-01Master DataSAP EWM Wave Template
ewm-a06-01Master DataSAP EWM Resource
ewm-a07-01Master DataSAP EWM Inspection Type
ewm-a08-01Master DataSAP EWM Batch Master 📍
ewm-a08-02Master DataSAP EWM Batch Characteristics
ewm-a09-01Master DataSAP EWM RF Environment
ewm-a09-02Master DataSAP EWM RF Logical Transaction
ewm-a09-03Master DataSAP EWM RF Menu
ewm-a09-04Master DataSAP EWM RF Profile
ewm-a09-05Master DataSAP EWM RF Queue
ewm-a09-06Master DataSAP EWM RF Presentation Device
ewm-a10-01Master DataSAP EWM PLC
ewm-a10-02Master DataSAP EWM Communication Point

L2-B) Transaction

IDCategoryTitle
ewm-b01OverviewSAP EWM Transactions: Process Flow, Hierarchy & Relationships