SAP Knowledge Base Article - Preview

2991022 - Number of samples calculated incorrectly using formula in sample-drawing procedure


While creating and inspection lot the number of primary or pooled samples is calculated incorrectly (table QPRS). For example due to a rounding issue less sample is created than expected.

The settings in the sample-drawing procedure (transaction QPV2) seems to be properly done:


Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.



  • SAP ERP Quality Management (QM)
  • SAP R/3
  • SAP R/3 Enterprise
  • SAP ERP Central Component
  • SAP Enhancement package for SAP ERP
  • SAP Enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4HANA, on-premise


SAP ERP Central Component all versions ; SAP ERP all versions ; SAP R/3 Enterprise all versions ; SAP R/3 all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions


QM-IM-SM, SQRT, QPRS, QPRS-PLOS2, PLOS2, Acc. to the formula, decimal, Dezimal, Sample-drawing item, QALS-ANZGEB, ANZGEB, No. of Containers, QALS-LOSMENGE, LOSMENGE, Drawing Proc., physische Probe, converting, PRTYP, QPRS-PRTYP , KBA , physical sample , QM-IM-SM , Sample Management , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.