# SAP Batch Management T-Codes, Tables and Movement Types for GMP

> Source: https://netray.co/tools/sap-batch-management-gmp-tcodes-and-tables-reference
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: Free Tools

## Short answer

A lookup of SAP transactions, tables and movement types for batch genealogy, inspection and release.

## Category

sap

## Erp

SAP

## Industry

Pharma and Life Sciences

## Audience

- SAP consultant
- Quality assurance
- Batch release

## Tool

**Kind:** worksheet

**Mode:** reference

**Columns:**

#### Code or table

**Key:** code

**Type:** text

#### Type

**Key:** type

**Type:** text

#### Description

**Key:** name

**Type:** text

#### GMP use

**Key:** gmp

**Type:** text

**Rows:**

#### Create Batch

**Code:** MSC1N

**Type:** Transaction

**Gmp:** Create a batch master record before goods receipt or production

#### Change Batch

**Code:** MSC2N

**Type:** Transaction

**Gmp:** Update shelf life dates, status and batch characteristics

#### Display Batch

**Code:** MSC3N

**Type:** Transaction

**Gmp:** Review batch master data during release or investigation

#### Display Batch Changes

**Code:** MSC4N

**Type:** Transaction

**Gmp:** Review change documents for a batch master

#### Batch Where-Used List

**Code:** MB56

**Type:** Transaction

**Gmp:** Trace a component batch forward or a finished batch backward

#### Material Document List

**Code:** MB51

**Type:** Transaction

**Gmp:** List goods movements by material, plant and batch

#### List of Warehouse Stocks on Hand

**Code:** MB52

**Type:** Transaction

**Gmp:** Stock by batch and storage location

#### Stock on Posting Date

**Code:** MB5B

**Type:** Transaction

**Gmp:** Reconstruct batch stock as of a past date

#### Stock Overview

**Code:** MMBE

**Type:** Transaction

**Gmp:** Check quality inspection, blocked and unrestricted stock by batch

#### Display Process Order

**Code:** COR3

**Type:** Transaction

**Gmp:** Review components and batches consumed in a process order

#### Display Production Order

**Code:** CO03

**Type:** Transaction

**Gmp:** Review components and batches consumed in a discrete order

#### Inspection Lot List

**Code:** QA32

**Type:** Transaction

**Gmp:** List inspection lots by material and batch

#### Display Inspection Lot

**Code:** QA03

**Type:** Transaction

**Gmp:** Review specification, results and status for a lot

#### Record Usage Decision

**Code:** QA11

**Type:** Transaction

**Gmp:** Accept or reject the lot and trigger stock posting

#### Results Recording Worklist

**Code:** QE51N

**Type:** Transaction

**Gmp:** Enter lab results against inspection characteristics

#### Create Quality Notification

**Code:** QM01

**Type:** Transaction

**Gmp:** Raise a deviation or complaint record

#### Display Quality Notification

**Code:** QM03

**Type:** Transaction

**Gmp:** Review a deviation or complaint record

#### Create Inspection Plan

**Code:** QP01

**Type:** Transaction

**Gmp:** Define test steps for a material

#### Create Master Inspection Characteristic

**Code:** QS21

**Type:** Transaction

**Gmp:** Define reusable test characteristics and limits

#### Characteristics Maintenance

**Code:** CT04

**Type:** Transaction

**Gmp:** Define batch characteristics such as potency or assay

#### Find Objects in Classes

**Code:** CL30N

**Type:** Transaction

**Gmp:** Search batches by characteristic values

#### Batch Cockpit

**Code:** BMBC

**Type:** Transaction

**Gmp:** Review batch master, stocks and where-used in one screen

#### Batches, cross-plant

**Code:** MCH1

**Type:** Table

**Gmp:** Batch master data at material level

#### Batches, plant level

**Code:** MCHA

**Type:** Table

**Gmp:** Batch master data at plant level

#### Batch Stocks

**Code:** MCHB

**Type:** Table

**Gmp:** Stock quantities by batch, plant and storage location

#### Material Document Header

**Code:** MKPF

**Type:** Table

**Gmp:** Posting date and document header for goods movements

#### Material Document Segment

**Code:** MSEG

**Type:** Table

**Gmp:** Material, batch, quantity, movement type and order number per line

#### Order Header Data

**Code:** AFKO

**Type:** Table

**Gmp:** Order dates and header data for production and process orders

#### Order Item

**Code:** AFPO

**Type:** Table

**Gmp:** Order item, material and planned quantity

#### Inspection Lot Record

**Code:** QALS

**Type:** Table

**Gmp:** Inspection lot header with material, batch and plant

#### Inspection Usage Decision

**Code:** QAVE

**Type:** Table

**Gmp:** Usage decision code and date per lot

#### Quality Notification

**Code:** QMEL

**Type:** Table

**Gmp:** Notification header for deviations and complaints

#### Class Header Data

**Code:** KLAH

**Type:** Table

**Gmp:** Class definitions used by batch classification

#### Characteristic Values

**Code:** AUSP

**Type:** Table

**Gmp:** Stored characteristic values, including batch values

#### Link Between Object and Classification

**Code:** INOB

**Type:** Table

**Gmp:** Links a batch object to its class

#### Goods receipt

**Code:** 101

**Type:** Movement type

**Gmp:** Receipt against a purchase order or process order

#### Goods issue for order

**Code:** 261

**Type:** Movement type

**Gmp:** Component consumption into a production or process order

#### Reversal of goods issue for order

**Code:** 262

**Type:** Movement type

**Gmp:** Return of components from an order

#### Transfer posting, quality inspection to unrestricted

**Code:** 321

**Type:** Movement type

**Gmp:** Release after a positive usage decision

#### Transfer posting, unrestricted to quality inspection

**Code:** 322

**Type:** Movement type

**Gmp:** Move stock back into inspection

#### Transfer posting, blocked to unrestricted

**Code:** 343

**Type:** Movement type

**Gmp:** Release blocked stock after investigation

#### Transfer posting, unrestricted to blocked

**Code:** 344

**Type:** Movement type

**Gmp:** Quarantine suspect stock

#### Goods issue for scrapping

**Code:** 551

**Type:** Movement type

**Gmp:** Destruction of rejected stock

#### Goods issue for delivery

**Code:** 601

**Type:** Movement type

**Gmp:** Shipment of released batches to customers

**Notes:** Transaction availability depends on SAP release, role design and add-ons. Table and field names are standard SAP, but custom enhancements are common in regulated plants. Verify in your system with SE11 and SE93.

## Content

**Intro:** In a GMP plant, SAP batch management is the backbone of traceability: every receipt, issue, inspection and release is tied to a batch number. This lookup lists the transactions, tables and movement types that quality and IT teams use most.

**Sections:**

#### How to use the list

**Body:** Search for a batch task such as where-used, release or scrap and the rows show the transaction, the tables behind it and the movement type it posts. Filter by type to list only tables when you are building a report, or only transactions when you are writing a work instruction for operators. Export the filtered list to Excel for a validation traceability matrix or a role design workshop.

#### Batch traceability in practice

**Body:** Forward trace starts at a component batch and finds every order that consumed it through movement 261. Backward trace starts at a finished batch, finds the order that received it through movement 101, then reads the components consumed by that order. MB56 performs this in the SAP GUI, while a SQL or ABAP query over MSEG and MKPF can handle bulk traces during a recall.

#### Quality release and stock status

**Body:** A batch usually enters inspection stock after goods receipt, an inspection lot is created, results are recorded and a usage decision moves the stock. Movement 321 releases inspection stock to unrestricted use, while 343 and 344 move stock between blocked and unrestricted status. Control who can post these movements, because they are the point where a quality decision becomes a stock change.

**Bullets:**

- Restrict QA11 and release movements to authorised roles.
- Review change documents with MSC4N for batch master edits.
- Check stock status with MMBE before shipment.

#### Common mistakes

**Body:** People trace only the plant they know and miss transfers between plants. Others rely on MCHB for history, but it holds current stock rather than movements. Use MSEG and MKPF for history. In validated systems, also remember that custom Z transactions and enhancements can change the standard behaviour listed here.

**Cta:** Netray can build a private, read-only tracing assistant on top of your SAP batch data, so quality can ask for a forward or backward trace in plain language and see the query behind the answer.

**Faq:**

#### Which SAP transaction shows where a batch was used?

**Answer:** MB56, the Batch Where-Used List, shows forward and backward relationships for a batch. For large recalls or custom reports, teams often query the material document tables MSEG and MKPF directly, filtering by batch and movement type.

#### What is the difference between MCHA and MCHB?

**Answer:** MCHA holds batch master data at plant level, such as dates and status. MCHB holds the stock quantities for each batch by plant, storage location and stock category. Neither holds the movement history, which is in MSEG and MKPF.

#### Which movement type releases a batch from quality inspection?

**Answer:** Movement 321 transfers stock from quality inspection to unrestricted use. It is normally posted automatically from the usage decision when a lot is accepted, but some plants post it manually under controlled authorisations.

#### Are these codes the same in S/4HANA?

**Answer:** Most are, but S/4HANA changes some data models, for example material documents and batch handling, and certain tables may be compatibility views. Check each object in your own release with SE11 and your vendor documentation.

## Search terms

sap batch management tcodes, sap msc1n msc2n msc3n, sap mb56 batch where used, sap mchb mcha mch1 tables, sap movement type 321 343 344, sap batch genealogy gmp, sap qm usage decision batch release

---
Talk to an engineer: https://netray.co/contact?intent=erp_ai | Machine catalog: https://netray.co/agent/catalog.json
