# SAP QM Sample Label Printing: How to Print Physical Sample Labels

> Source: https://netray.co/erp-help/sap-qm-sample-label-printing-qpr1-form-output-setup
> Publisher: Netray (netray.co), AI and integration engineering for ERP and manufacturing systems.
> Section: ERP Help

## Short answer

SAP QM prints sample labels for a physical sample that is tied to an inspection lot. You run the sample labelling transaction from the QPR range (QPR1 is the usual entry point), pick the lot or physical-sample number, and the system sends a form to the output device you choose. If nothing prints, the cause is almost always the form assignment or the printer, not QM data.

## Kind

how-to

## System

sap

## Erp

SAP ECC / S/4HANA

## Module

Quality Management / Inspection Lot Processing

## Query

sap qm sample label printing

## Alternate Queries

- print sample labels sap qm
- sap qm physical sample label form
- sap qm sample label not printing

## Applies To

SAP ECC 6.0 and S/4HANA on-premise. Transaction names are stable; the form technology (SAPscript, Smart Forms, Adobe Forms) depends on how your project configured it.

## Steps

### How to print sample labels for an inspection lot

**Items:**

- Confirm the inspection lot exists and the inspection type is active (QA03 to display the lot). Samples hang off the lot, so no lot means nothing to label.
- Make sure a sample-drawing procedure is on the inspection setup so the system generates physical sample records. See the QPV1 page for how those are managed.
- Create or check the physical sample (QPV1 for managing physical samples against the lot). Each physical sample gets its own number, and that number is what the label carries.
- Start the sample label print from the QPR transaction family (QPR1 for labels). Enter the plant, inspection lot or physical sample number and the selection you want.
- Choose the output device in the print dialog. If it is empty, set your default printer in SU3 (Own Data > Defaults > Output Device).
- Use Print Preview first. It tells you whether the form is found and populated before you waste label stock.
- Release the print and check SP01 (spool requests) if the label does not come out.

## Sections

### What the label is built from

**Body:**

A sample label is a form that reads data from the inspection lot and the physical sample record: material, plant, batch, inspection lot number, sample number, storage details and often a barcode. The data selection is done by a print program; the layout lives in a form. Which form is used is a configuration decision made in the QM customizing for sample handling and print control, and in many companies it is a copy of the standard form that a developer has adapted to a specific label size.

That split matters when you troubleshoot. If the preview shows wrong or missing fields, the form or print program needs a fix. If the preview is fine but paper does not appear, the problem is in output determination or the printer.

### Form and output configuration

**Body:**

Ask your QM consultant or Basis team which form is assigned in your system rather than guessing a name. For forms, the tools are SE71 for SAPscript, SMARTFORMS for Smart Forms, and the Adobe form builder (SFP) for Adobe Forms. After any change, test with the preview and then with a real device.

Label printers usually use a device type that understands ZPL or a similar language, or a Windows driver path through SAPSprint. A wrong device type causes garbage output or a blank label. Check this in SPAD, covered in the printer troubleshooting page, before you blame the form.

**Code:**

- SU3           Own Data > Defaults > Output Device
- QA03          Display inspection lot
- QPV1          Manage physical samples
- QPR1          Print sample labels (QPR family)
- SP01          Spool requests (status, error text)
- SPAD          Output device and access method

### Common reasons labels do not print

**Body:**

The most frequent cause is that no physical sample exists because the sample-drawing procedure was not assigned, so the print selection returns nothing. The second is a user with no default output device. The third is a spool request stuck in Error or Waiting because the output device is wrong or the spool work process is down.

If labels print but with the wrong size or offset, the problem is the page format in the form or the printer media setting, not SAP QM. Fix the layout once in the form and check on the physical printer.

## Pitfalls

- Printing before the physical sample is created: the selection finds nothing and the user sees no error.
- Copying the standard form into a Z form and forgetting to reassign it in customizing, so changes never show up.
- Using a laser printer device type for a thermal label printer, which produces blank or garbled labels.
- Testing only in print preview and never on the real device, so page size problems appear at go-live.
- Not setting SU3 defaults, so each user gets a dialog with an empty device field.

## Ai Angle

An AI assistant grounded in your SAP system can answer 'why did lot 10000123 not produce a sample label?' by checking whether the lot has physical samples, which sample-drawing procedure applies and whether a spool request failed, then showing the evidence. Netray builds this as a private layer over SAP, read-only by default, so labelling questions do not require sending QM data to a public service.

## Faq

### Which transaction prints sample labels in SAP QM?

**Answer:** The sample labelling functions sit in the QPR transaction range, and QPR1 is the usual starting point. Physical samples themselves are managed in QPV1. Because menus and forms vary by project, confirm the exact transaction and form with your QM consultant before building a process around it.

### Why does the sample label preview work but the printer prints nothing?

**Answer:** Preview only proves the form and data are fine. Check SP01 for the spool request status and error text, then SPAD for the output device, device type and access method. A failed or waiting request almost always points to the printer definition or the spool work process.

### Can I add a barcode to the SAP QM sample label?

**Answer:** Yes, but it is a form change, not a QM setting. Barcodes are added in the form layout using a barcode style or font, and the printer must support it. Test the scan on the real label printer, because barcode size and quiet zones depend on the device.

### Do I need a developer to change the label layout?

**Answer:** Usually yes for anything beyond text position. Layout lives in the form (SAPscript, Smart Forms or Adobe), and adding fields can require a change to the print program that selects the data. Small position changes can often be done by a form specialist without touching the program.

## Search terms

sap qm sample label printing, print sample labels sap, qpr1 sap, sap physical sample label, sap qm label form, sap qm sample label not printing, inspection lot sample label, sap qm barcode label

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