Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Purpose
Explains how sample size (field QALS-GESSTICHPR) is calculated during inspection lot creation.
Overview
This document introduces what settings influence sample size calculation and the logic about how the sample size is
determined during lot creation.
<Settings>
1. Plant level:
In the customizing t-code QCC0 -> Quality Management -> Basic Settings -> Maintain Settings at Plant Level, tab Insp. lot
creation, there are some fields called presettings for sampling procedures. These settings are used automatically if no
sampling procedures are defined in the characteristics.
2. Material level:
In the QM view of material master (t-code MM01/MM02/MM03), for each inspection type, there are several fields and
indicators which control sample size calculation. The logic will be explained later.
3. Characteristic level:
If you set the control indicator sampling procedure for the characteristic, a sampling procedure has to be assigned to an
inspection characteristic in a task list or material specification..
If you do not enter a sampling procedure for an inspection characteristic, the system chooses a sampling procedure
proposed in the settings at plant level. If no sampling procedure was entered in these settings, the system takes the lot size
as the sample size.
<Sampling procedure>
A sampling procedure can be created in t-code QDV1.
The sampling types are defined in the customizing t-code QCC0 -> Quality Management -> Basic Data -> Define Sample
Determination. You can read the documentation here to know more.
<Calculation logic>
There are two possibilities for determining the sample size:
Attention:
If you set the indicator for a 100% inspection in the material master record, this has priority over all other
procedures defined to calculate the inspection size.
If several characteristics use different sampling procedures, the highest sample size of the characteristics is used
as the inspection lot sample size.
The following document introduces how sample drawing procedure influences the lot sample size in physical
sample management.
Physical Samples Management in SAP QM
Physical Samples management is the functionality normally used in Process industries like
Pharma/Food/Chemical etc.
Primary samples are taken directly from the population or inspection lot.
Pooled samples are created by pooling primary samples.
Reserve samples are primary samples that are reserved as specimen samples.
Number of samples to be taken for above three types samples is calculated by sample drawing Procedure.
Scenario : Lets say I received a material from a vendor 100 L material supplied in two containers
each 50 L.Now I have to check this material . so I need to take samples from each container lets say
I take 1 L from each container. so my primary samples will become two (each 1 L) as I take sample
from each container. Primary samples are the ones directly taken from inspection lot qty. Now the
above two primary samples are mixed to make a pooled sample. In my example it will become 1+1 =
2 L. Pooled samples are created by mixing primary samples. these pooled sample is used for
analysis. Reserve samples are taken from lot directly and not used for immediate analysis. they are
stored for future reference as per regulatory norms. Normally they are destroyed once the expiry of
the material is reached. in our case let say 0.25 L taken separately and stored.
Process Flow :
Define primary samples, pooled samples and Reserve samples as shown below in the three
different tab
Finally save the sample drawing Procedure.
Assign the inspection points (200) & Sample Drawing Procedure in the Inspection Plan header
QP02
During creation of Inspection plan assign the inspection points (200) & Sample Drawing Procedure in the
header as shown below
During saving of the inspection lot physical samples will get created as per the Sample drawing
procedure assigned in the inspection plan. Check for the same in QA02/QA03.
Thanks