Sample Management in Inspections During Production 
Description
As of Release 4.5a, you can also use sample management of quality
management (QM) for quality inspections during production. This means that the R/3 System enables you to:
- Plan the physical-sample drawing and inspection of physical samples in production
- Record inspection results for physical samples and valuate the samples
Activating Sample Management
You activate sample management for inspections during production in the master recipe by:
- Defining that inspection points for physical samples are used (in the QM data of the recipe header)
- Allocating a sample-drawing procedure in the QM data of the recipe header
- Entering the data for inspection point completion in the QM data for the phase
Processing Physical Samples
When you release a process order, the system creates a physical-sample
record for the planned physical sample in addition to the inspection
lot. The data records are combined in one physical-sample number.
During production, you can use the following functions to process the physical samples:
- If required, you can manually create data records for unplanned physical samples.
- You can process the physical-sample drawing, for example, by releasing
or locking physical samples or printing labels for them. If you have
made the corresponding settings in the sample-drawing procedure, physical samples must be released before you can record inspection
results.
- You can record inspection results for the samples. Each sample is uniquely identified by an inspection point.
If you also want to carry out these functions in the PI sheet, you can use the following process instruction categories of type
dynamic function call available in the standard system:
| Function | Process instruction category |
| Create physical-sample drawing record | QMJMP_NS |
| Process physical-sample drawing | QMJMP_SD |
To record inspection results, you can use the following process instruction categories of type
inspection results request just like for inspections without sample management:
| Function | Process instruction category |
| Results for characteristics of operations | QMJMP |
| Results for characteristics of phases | QMJMP_PH |
For more information on sample management, refer to the R/3 Library,
- Quality Inspection(QM-IM), section Sample Management
- PP - Production Planning - Process Industries, section Process Management
-> PI Sheet -> Process Instructions for the R/3 PI Sheet
-> Dynamic Function Calls
- If you want to use sample management for inspections during production,
make the appropriate settings for sample management in Customizing for Quality Management.
- If you want to use the function calls for physical-sample records and
physical-sample drawing in the PI sheet, perform the following activities in Customizing for Process Management
:
Copy the sample function calls from the SAP reference client to your plants