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

Cover: SAP EWM Batch Characteristics — classification attributes driving FEFO picking and quality-based batch selection

SAP EWM Batch Characteristics

Batch Characteristics are classification attributes assigned to batch-managed materials through SAP’s classification system (class type 023). Each characteristic defines a data type and value range — for example, an expiry date, purity percentage, or storage temperature. Values are entered per individual batch and are then read by EWM during warehouse task creation to sort and filter batches according to FEFO, class-based search strategies, and quality inspection relevance. This article covers the three-step setup sequence (Characteristic → Class → Class-Material Assignment) and the per-batch value entry that activates classification-driven warehouse processes.


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

1.1 What Are Batch Characteristics?

Hub-and-spoke diagram showing Batch Characteristics at center, connected to Batch Master, Material Master, Class Type 023, Picking Strategy, and Inspection Lot

A Batch Characteristic is a descriptor — a named attribute with a defined data type and allowed values — that classifies individual batches of a material. Rather than storing every possible attribute directly on the batch record, SAP delegates classification to the general Classification System: characteristics are defined once in CT04, grouped into classes of type 023 in CL01, the class is assigned to a material-plant combination, and values are entered per batch on the Classification tab of MSC2N. EWM reads these values at task creation time to rank, filter, or sequence batches.

AspectDetails
RoleProvides typed, queryable attributes at the batch level to support FEFO sorting, class-based batch search, and QM inspection relevance in EWM picking strategies
Modules using itEWM (batch search strategy, FEFO sort, wave template batch filter), MM/WM (batch classification values maintained in MM), QM (inspection-relevant batch filtering), PP (batch-tracked production components)
TransactionsCT04 (characteristic definition), CL01 (class definition), MSC2N (batch value entry — Classification tab), CL30N (class assignment report)
Key TablesCABN (characteristic definition), KLAH (class header), KSSK (object-class assignment), AUSP (characteristic values per batch)
S/4HANA noteClassification system unchanged from ECC. In Embedded EWM, batch classification values are read directly from S/4HANA tables. In Decentralized EWM, values are replicated via CIF/qRFC in real time. The Fiori app “Manage Batch Master Records” supports value entry on mobile.

1.2 Characteristic Data Types

Comparison grid of the four SAP characteristic data types — CHAR, NUM, DATE, TIME — with batch-relevant examples for each

The data type of a characteristic determines how values are stored, compared, and sorted. Choosing the wrong data type causes sort failures in FEFO strategies and breaks class-based batch searches.

Data TypeCodeUse CaseKey Behavior
CharacterCHARLot grade (A/B/C), country of origin, batch status labelValues are alphanumeric strings. Sorting is lexicographic. Allowed-values lists (via CT04 → Values tab) restrict input to a predefined set.
NumericNUMPurity (%), concentration (g/L), moisture content (%), quantityValues are numeric with unit of measure and decimal places. Supports range checks (min/max), scale intervals, and numeric sort. Critical for EWM batch search strategies using numeric thresholds.
DateDATEExpiry date, manufacturing date, best-before dateStored as YYYYMMDD. Used by FEFO sort to rank batches from earliest to latest expiry. This is the most critical data type for food, pharmaceutical, and chemical industries.
TimeTIMETime of manufacture, sampling timeStored as HHMMSS. Rarely used alone; typically combined with a DATE characteristic for precise lot traceability.

Design principle: Always use DATE type for expiry-date characteristics — not CHAR. A CHAR expiry date cannot be sorted correctly by EWM’s FEFO strategy, and numeric comparisons on date strings produce incorrect results.


1.3 Organizational Levels and Data Hierarchy

Hierarchy diagram showing three layers of Batch Classification: Definition (CABN, KLAH, KSML), Activation (KSSK), and Values (AUSP)

Batch Classification follows SAP’s Classification System using Class Type 023. The data lives at three layers, each populated via different transactions and stored in different tables:

Layer 1 — Definition (Client scope)
   │
   ├── Characteristic — CT04 → table CABN
   │      Defines a measurable attribute: name, data type, unit,
   │      allowed values, decimal places.
   │      Shared across all classes and materials that use it.
   │
   └── Class (Class Type 023) — CL01 → table KLAH
          Container for one or more characteristics.
          Class type MUST be 023 — EWM only reads this type.

       Class ↔ Characteristic link — table KSML
          Many-to-many: a Class can contain multiple Characteristics;
          a Characteristic can belong to multiple Classes.

Layer 2 — Activation (Material + Plant scope)
   │
   └── Material × Plant → Class — table KSSK
          Activates batch classification for this Material in this Plant.
          Without a KSSK row, the Classification tab in MSC2N is hidden
          and batch values cannot be entered.

Layer 3 — Values (Batch scope)
   │
   └── Batch × Characteristic → Value — table AUSP
          One row per (Batch × Characteristic).
          Maintained via MSC2N (Classification tab).
          Read by EWM at task creation for batch determination scoring.
LayerObjectTableScopeNotes
DefinitionCharacteristicCABNClientOne row per characteristic. All plants share the same definition. Changes affect every class and material using that characteristic.
DefinitionClass (type 023)KLAHClientOne row per class. Class type 023 is mandatory for batch classification — other types are not read by EWM.
DefinitionClass ↔ Characteristic linkKSMLClientMany-to-many: one Class can contain multiple Characteristics; one Characteristic can belong to multiple Classes.
ActivationMaterial-Plant ↔ ClassKSSKMaterial + PlantActivating the assignment enables the Classification tab in MSC2N for that material-plant combination. Without it, batch value entry is not possible.
ValuesBatch ↔ CharacteristicAUSPBatch (Material + Batch Number)One AUSP row per batch per characteristic. Read by EWM at task creation to score and sequence batch candidates.

Key design decision: Define characteristics before classes, and lock the data type and value range before go-live. A characteristic cannot be changed once values exist for it in production — plan the data type and value range during blueprint and lock them in before go-live.


1.4 Integration with Other Master Data Objects

Hub-and-spoke showing Batch Characteristics at center, connected to Batch Master, Material Master, Picking Strategy FEFO, Wave Template, and Inspection Lot

Batch Characteristics do not operate in isolation. Their values are meaningful only when the surrounding master data — Batch Master, Material Master classification tab, and EWM picking strategy — is configured consistently.

ObjectRelationshipPractical Notes
Batch Master (EWM-A08-01)Batch Characteristics are attributes of the Batch MasterThe Batch Master record must exist before characteristic values can be entered. Batch Master holds identity (batch number, material, plant); Batch Characteristics hold quality and logistics attributes.
Material Master (Classification tab)Class-material assignment stored in Material MasterActivating batch classification requires assigning the class type 023 class to the material-plant in MM01/MM02 Classification view or directly via CL01. Without this, the Classification tab does not appear in MSC2N.
Picking Strategy (FEFO)EWM reads ZEXPIRY_DATE characteristic for FEFO sortThe FEFO picking strategy in EWM references the characteristic configured in the batch search strategy. If the characteristic name or data type does not match the strategy configuration in SPRO, FEFO sorting is silently bypassed.
Wave Template (/SCWM/WAVETMP)Wave templates can filter batches by class-based criteriaClass-based batch selection in wave templates uses characteristic value ranges (e.g., only batches with ZPURITY >= 98%). This requires both the characteristic and its class assignment to be active for the material.
Inspection Lot (QM)QM inspection relevance can be tied to characteristic valuesWhen a batch characteristic flags QM relevance (e.g., ZQUALITY_STATUS = “HOLD”), EWM can be configured to exclude or route those batches to inspection storage types before releasing for picking.

Part 2: EWM-Specific Field Details

2.0 Scope of EWM Ownership

Checklist showing EWM/MM ownership across Batch Characteristics data sections: Characteristic Definition, Class Definition, Class-Material Assignment, Batch Value Entry

Data SectionEWM InvolvementNotes
Characteristic Definition◎ Owner (shared MM)CT04 is maintained by the EWM/MM team. The characteristic definition is a client-level object shared across all modules. EWM drives the naming convention and data type requirements.
Class Definition◎ Owner (shared MM)CL01 class type 023 is configured jointly by EWM and MM consultants. EWM specifies which characteristics must be in each class to support picking strategies.
Class-Material Assignment◎ Owner (shared MM)Assignment of a type-023 class to a material-plant activates batch classification. EWM and MM both have interest; typically executed by the MM team using criteria defined by EWM.
Batch Value Entry◎ Owner (shared MM/QM)Values entered via MSC2N by warehouse staff, QM inspectors, or inbound process users. EWM defines which characteristics require values and at which process step (GR, inspection, etc.).

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


2.1 Characteristic Definition

Checklist of key CT04 characteristic fields: Characteristic Name, Description, Data Type, Number of Characters/Decimal Places, Unit of Measure, Value Range, Allowed Values

A characteristic definition in CT04 is the foundation of the entire batch classification system. Every attribute that EWM will use to sort, filter, or evaluate batches must be defined here as a named characteristic with an explicit data type before it can be assigned to a class or receive values.

FieldDescriptionPractical Usage
Characteristic NameInternal name (up to 30 chars)Use a Z-prefix naming convention (e.g., ZEXPIRY_DATE, ZPURITY, ZTEMPERATURE) to distinguish custom characteristics from SAP-delivered ones. Once a characteristic has values in production, the name cannot be changed — establish naming standards during blueprint and enforce them via change management.
DescriptionShort text label shown in UIWrite the description in the language visible to warehouse operators. For Japan-targeted deployments, maintain both English and Japanese descriptions (CT04 → Descriptions tab) so that MSC2N users see the Japanese label while technical config documents use the English name.
Data TypeCHAR / NUM / DATE / TIMEThe single most consequential field in the characteristic. DATE is mandatory for expiry-date characteristics driving FEFO; NUM is mandatory for any characteristic used in numeric range searches. Mismatching data type to business intent causes silent failures in EWM batch selection.
Number of CharactersLength for CHAR typeSet the minimum length that accommodates all expected values plus a reasonable buffer. Too-short CHAR characteristics truncate values silently at entry — discovered only during batch search testing.
Decimal PlacesDecimal precision for NUM typeSet to the measurement precision required (e.g., 2 decimal places for purity percentage). Overly coarse precision causes rounding in FEFO tie-breaking scenarios.
Unit of MeasureUnit for NUM typeAssign the correct base unit (e.g., % for purity, °C for temperature, days for shelf life). EWM batch search strategies can filter using the unit as a filter boundary — ensure the unit matches what the warehouse operators actually measure.
Allowed ValuesFixed list of allowed entries (CHAR/NUM)Define an allowed-values list when free-text input must be restricted (e.g., ZGRADE = A, B, or C only). An unrestricted CHAR characteristic without an allowed-values list accepts any input, leading to inconsistent batch query results and failed EWM batch selection.
Additional ValuesAllow values outside the listLeave unchecked when strict input control is required. If checked, the allowed-values list becomes advisory rather than enforced — useful for reference-only characteristics not used in automated EWM selection.

2.2 Class Definition

Stack layered diagram showing CT01/CL01 class structure: Class Header (type 023, validity), Assigned Characteristics, Description, and Class Status

A class of type 023 is the container that groups related batch characteristics and connects them to materials. The class definition controls which attributes are available for batch value entry and which EWM picking strategy configurations can reference.

FieldDescriptionPractical Usage
Class NameInternal class identifier (up to 18 chars)Use a Z-prefix convention (e.g., ZBATCH_QM, ZBATCH_FOOD, ZBATCH_CHEM). Classes are reusable across materials — a single class can be assigned to many material-plant combinations. Design classes around attribute groupings rather than individual materials (e.g., “all food-grade batches” rather than “material XYZ batch”).
Class TypeMust be 023 for batch classificationThis field is set at class creation and cannot be changed afterward. Class type 023 is the only type recognized by EWM’s batch search strategy and the Classification tab in MSC2N. Using type 001 (general) or any other type prevents batch value entry and EWM batch selection from functioning.
DescriptionShort text labelDescribe the classification purpose clearly (e.g., “Quality Management — Food Grade Batches”). This text appears in class assignment screens and reports — a clear description reduces misassignment risk when multiple classes exist for similar material groups.
Validity From / ToDate range during which the class is activeLeave “Valid To” open-ended (12/31/9999) for production classes. A class that expires silently prevents new batch value entries and EWM batch queries after the expiry date — a common cause of unexpected FEFO failures following year-end processing.
Characteristics AssignedList of characteristics linked to this class (KSML)Add all characteristics that must be available for batch value entry and EWM evaluation. Order the characteristics logically (e.g., expiry date first, then purity, then temperature) as this order determines the display sequence in MSC2N and MSC3N.
Class StatusReleased / In Preparation / LockedOnly “Released” classes can be assigned to materials and have values entered. Set to “Released” after completing the characteristics assignment and QA sign-off. Lock classes that are being revised to prevent new assignments during the change period.

2.3 Class-Material Assignment

Hierarchy tree showing Class → Material+Plant assignment flow: CL01 assignment, Material Master Classification view, and MSC2N Classification tab activation

Assigning a type-023 class to a material-plant combination is the activation step that enables batch value entry for that material. Without this assignment, the Classification tab does not appear in MSC2N and EWM cannot read characteristic values for batch selection.

FieldDescriptionPractical Usage
MaterialMaterial number (MATNR)The batch-managed material receiving the class assignment. The material must have batch management active (Material Master MRP 1 or Plant Data / Storage 1 view — Batch Management checkbox) before the classification assignment has operational effect in EWM.
PlantPlant codeScope the assignment to the plant where EWM operates. If the same material is batch-managed in multiple plants, each plant requires its own class assignment (one KSSK record per material-plant combination). Forgetting a plant is the most common setup error found during EWM integration testing.
ClassClass name (type 023)The class to assign. Only one class per class type can be assigned to a material-plant; if multiple attribute groupings are needed, merge them into a single class or use a multi-level classification design.
Standard ClassFlag marking the default classification classWhen a material has multiple classes of the same type, the standard class is the one used by default in MSC2N and by EWM batch selection. Always set exactly one standard class per class type per material-plant to avoid ambiguous batch queries.
ValidityDate range of the assignmentMatches the class validity. For production systems, leave the end date open (12/31/9999). A time-limited class assignment is useful during phased rollouts — activate the class for a future plant before that plant goes live without affecting current production.

2.4 Batch Value Entry

Checklist of key MSC2N Classification tab fields: Batch Number, Characteristic, Value, Unit of Measure — with entry timing and EWM consumption notes

Batch value entry is the operational step where characteristic values are recorded for each individual batch. These values are the data that EWM reads at task creation to execute FEFO sorting, class-based batch selection, and quality-relevant batch routing.

FieldDescriptionPractical Usage
Batch NumberThe batch being classifiedEntered in the selection screen of MSC2N. The batch must already exist (created during GR in MIGO or replicated from an upstream system) before values can be entered. In automated inbound processes, batch creation and value population are triggered together via BAPI or IDoc — manual MSC2N entry is used for exception handling and corrections.
CharacteristicAttribute name (from the assigned class)Displayed on the Classification tab in MSC2N in the order defined in the class. All characteristics assigned to the class appear — mandatory characteristics (defined in CT04 with “Entry Required” flag) must be filled before the batch record can be saved.
ValueThe typed value for this characteristicEntry format is enforced by the data type: date picker for DATE, numeric input with decimal validation for NUM, dropdown from allowed-values list for restricted CHAR. EWM reads this value directly from AUSP at batch search time — a blank or incorrect value causes the batch to be excluded from FEFO sort or class-based selection.
Unit of MeasureDisplay unit for NUM characteristicsPre-populated from the characteristic definition. For temperature, the configured unit (°C) must match the measuring instrument — do not enter a value in °F if the characteristic unit is °C, as no unit conversion occurs in classification.
Change DocumentsAudit trail of value changesEvery change to a classification value is logged in the change document system (CDHDR/CDPOS). This audit trail is essential for batch traceability in regulated industries (pharmaceutical GxP, food HACCP). Verify that change document activation is set on each characteristic in CT04 (Additional Data tab → Change Documents = X).

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