# SAP QM Sample-Drawing Procedure: Setup and Use (QPV1)

> Source: https://netray.co/erp-help/sap-qm-sample-drawing-procedure-qpv1-how-to
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: ERP Help

## Short answer

A sample-drawing procedure defines how physical samples are taken for an inspection: how many, in which containers, and what they are used for. Create it with QPV1, then reference it from the inspection plan (or material and inspection setup), so that when a lot is created the system generates the physical sample records, which you can also create manually with QPR1.

## Kind

how-to

## System

sap

## Erp

SAP S/4HANA and ECC

## Module

Quality Management (QM) / Physical Samples

## Query

sap qm sample drawing procedure

## Alternate Queries

- sap qpv1 sample drawing procedure
- sap physical sample drawing
- sample-drawing procedure inspection plan sap

## Applies To

SAP ECC 6.0 and SAP S/4HANA on-premise with QM physical sample management

## Steps

### Set up a sample-drawing procedure

**Items:**

- Run QPV1 (Create Sample-Drawing Procedure). Enter the plant and a procedure name.
- Give a description and the sampling scope: the sample quantity or number of samples to be drawn.
- Define the sample unit and the container or packaging used for the physical sample.
- Set the sample type and the storage or usage information if your process requires it.
- Save. QPV2 changes and QPV3 displays the procedure.
- Assign the procedure in the inspection plan so that lots created from the plan use it.
- Create an inspection lot, check the physical sample records it generates, and print the sample labels if used.

## Sections

### What physical sample management does

**Body:**

Physical sample management records the actual samples taken during inspection: who took them, where they are stored, which lot and characteristic they relate to. This is the evidence trail needed for retained samples, laboratory testing and returns.

The sample-drawing procedure is the master data that describes how to take the sample. It is not the same as the sampling procedure (QDV1), which defines how many units to inspect statistically. Both are often used together.

Without the procedure, physical samples can still be created manually, but there is no standard definition to apply automatically.

### Linking to plans and lots

**Body:**

Assign the procedure in the inspection plan so the lot picks it up when generated. At lot creation, the system proposes physical sample records for the lot, based on the procedure and the sample quantity.

At results recording, inspectors can refer to the samples and record results against them. In laboratory flows, samples are passed to a lab and the results flow back.

Where the same product has different sampling needs per plant or customer, create separate procedures and keep naming consistent.

**Code:**

- QPV1   Create sample-drawing procedure
- QPV2   Change sample-drawing procedure
- QPV3   Display sample-drawing procedure
- QPR1   Create physical sample drawing
- QDV1   Create sampling procedure (different object)

### Troubleshooting

**Body:**

If no physical samples appear in a new lot, check that the procedure is assigned in the plan used for the lot, that the plan is the one selected for the lot, and that the inspection type allows physical samples.

If quantities look wrong, check the sample size in the procedure against the sampling scheme of the lot. The two are independent, so a mismatch is possible.

Make sure users have authorization for physical sample transactions. Missing authorization often looks like a missing function rather than a clear error.

## Pitfalls

- Confusing the sampling procedure (QDV1) with the sample-drawing procedure (QPV1).
- Assigning the procedure to a plan that is not the one selected for the lot.
- Defining a sample size that conflicts with the sampling scheme.
- Not setting up the storage or labeling needed to find the physical samples later.
- Forgetting authorizations for physical sample transactions.

## Ai Angle

Physical sample questions are usually traceability questions: where is the retained sample from lot X, and which plan told the operator to take it. A grounded assistant can follow the lot to the sample records, the plan and the procedure in one answer. Netray can host it on your own servers so quality and traceability data stay inside your network.

## Faq

### What is a sample-drawing procedure in SAP QM?

**Answer:** It is master data that defines how physical samples are taken for an inspection, including quantity and containers. It is used with physical sample management to create sample records for a lot.

### What is the difference between QPV1 and QDV1?

**Answer:** QPV1 creates a sample-drawing procedure for physical samples. QDV1 creates a sampling procedure, which defines the statistical inspection sample size. They solve different problems.

### How are physical samples created?

**Answer:** Automatically when the inspection lot is created, if the plan has a sample-drawing procedure, or manually with QPR1. They are then tracked against the lot.

### Do I need physical sample management for all inspections?

**Answer:** No. It is optional and mostly used where retained samples, laboratory testing or sample traceability are required. For simple in-line inspection it adds effort without value.

## Search terms

sap qm sample drawing procedure, sap qpv1, sap physical sample management, sample-drawing procedure sap, qpr1 physical sample, sampling procedure vs sample drawing procedure, sap qm physical sample inspection lot

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