QP01 — Create Inspection Plan
QP01 creates a quality inspection plan, a task list that defines which characteristics, work centers, sampling procedures and specifications apply when a material is inspected at a given plant. It is master data setup, not lot creation. Inspection lots generated later by QA01, goods receipt or production confirmation read this plan to determine what gets inspected and how.
This page covers QP01, the transaction used to build inspection plans in Quality Management, and focuses on why lots fail to pick up the expected plan or characteristics. It walks through the real creation sequence, the underlying task list tables, and the release-status and validity traps that cause the most support tickets.
Reviewed by an ERPClimb SAP consultant on 15 Sept 2026· 1,126 words
Purpose
QP01 builds an inspection plan, which technically is a task list of type Q, structurally identical to a production routing but carrying inspection characteristics instead of production operations. Each plan has a group and a group counter, header-level usage and status, one or more operations, and characteristics assigned per operation, either plan-specific or pulled from a master inspection characteristic. The structural fact that explains most confusion: the plan itself is not tied to one material. It is linked to material-plant combinations through a separate allocation table, and a single plan group counter can serve several materials, or a material can have several competing plans with different validity windows and usages. Whichever plan the system actually applies at lot creation depends on that allocation and on status, not on what a consultant assumes is 'the' plan for a material.
When it is used
QP01 belongs to the quality planning phase, done before any inspection lot exists: when a new material enters production or procurement and needs defined inspection characteristics, when an existing inspection process needs a new sampling scheme, or when characteristics need to move from ad hoc plan-specific entries to reusable master inspection characteristics. It is not used during day-to-day inspection processing. Once a lot exists, the relevant transactions are QA01 to create a lot manually, QA02/QA12 to work an existing lot, and QE51N to record results. A consultant reaches for QP01 specifically when a lot has no characteristics, wrong characteristics, or when a new inspection type or plant needs its own inspection logic defined from scratch.
How to use it in practice
- Enter material and plant on the initial screen; group and group counter can be left blank for the system to assign, or entered explicitly to control naming
- Choose the task list usage and set the key date, which determines validity
- Maintain header data: plant, usage, and status (draft versus released)
- Add one or more operations and assign a work center to each
- Assign inspection characteristics per operation, either referencing an existing master inspection characteristic or entering a plan-specific characteristic with its own sampling procedure and catalog
- Check or add material assignments so the plan links to the intended material-plant combinations
- Set status to released and save; a plan sitting in create/change status will not be picked up by inspection lot creation
Key data objects
- PLKO - task list header: group, group counter, task list type Q, usage, status, validity key date
- PLPO - operation data: operation number, work center, control key for each step in the plan
- PLMK - inspection characteristics assigned to the plan's operations, including sampling procedure and catalog references
- MAPL - material task list allocation, the link between a material/plant and a specific group and group counter; this is the table that actually determines which materials use which plan
How to prove it in the data
Start in MAPL: filter on material and plant to find the group (PLNNR) and group counter (PLNAL) actually assigned, and check the deletion indicator and validity date fields there rather than assuming the plan a consultant expects is the one linked. Take that group/counter into PLKO and confirm the status field shows released, not in-process, and that the key date falls within validity. Then check PLPO for the operations and PLMK for the characteristics attached to those operations, confirming sampling procedure and catalog fields are populated rather than blank.
ECC vs S/4HANA
QP01 and its underlying task list tables are unchanged in S/4HANA; inspection planning is still done through the classical transaction. There is no confirmed dedicated Fiori app that replaces creation of inspection plans end to end, so this remains one of the QM areas still run through the SAP GUI transaction even in an otherwise Fiori-first S/4HANA landscape.
Common pitfalls and how to diagnose them
- Lot has no characteristics: the most common cause is the plan status never moved to released, or the validity key date is in the future relative to when the lot was created; check PLKO status and date before touching anything else
- Wrong plan applied when several exist for a material: multiple group counters with overlapping validity or different usages can compete; check MAPL for every group/counter tied to the material-plant and compare usage and validity rather than assuming there is only one plan
- Material never assigned: the plan looks complete in QP01 but the material-plant link in MAPL was never created or was deleted, so lot creation falls back to no plan or an unrelated one; this happens often after a plan is copied without carrying the material assignment forward
- Master inspection characteristic not usable: a plan references a master characteristic that is not released or not valid for the plant, so the characteristic is silently skipped at lot creation instead of raising an error, which looks identical to a missing assignment
- Changes not reflected in existing lots: an inspection lot copies the plan's characteristics at creation time; editing the plan afterward in QP01/QP02 does not retroactively update lots already open, a frequent source of 'I fixed it but the lot still shows the old characteristic' tickets that actually need QA02 or a new lot
- Locked or deletion-blocked plan: attempting to change or delete a plan currently open by another user, or one referenced by open lots, fails or locks; check for an active lock entry before assuming the transaction itself is broken
Whose problem this is
Inspection plan content is owned by the QM functional consultant, in coordination with production planning where operations mirror a routing and with the material master QM view that must have inspection setup active. Basis or ABAP involvement is rare, limited to mass upload tooling or authorization objects for task list maintenance. A good handover states the material, plant, group/group counter, and the specific symptom observed in the lot, not just 'the plan is wrong'.
Related SAP objects
Reviewed pages this object connects to in the ERPClimb knowledge graph.
Source: ERPClimb — https://erpclimb.com/sap-tcodes/qp01ERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.