QSAMPTAB SAP (Internal structure: Partial samples in inspection lot) Structure details

Dictionary Type: Structure
Description: Internal structure: Partial samples in inspection lot




ABAP Code to SELECT data from QSAMPTAB
Related tables to QSAMPTAB
Access table QSAMPTAB




Structure field list including key, data, relationships and ABAP select examples

QSAMPTAB is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Internal structure: Partial samples in inspection lot" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_QSAMPTAB TYPE QSAMPTAB.

The QSAMPTAB table consists of various fields, each holding specific information or linking keys about Internal structure: Partial samples in inspection lot data available in SAP. These include VORGLFNR (Current Node Number from Order Counter APLZL), VORNR (Operation Number in the Quality Level), PRPLATZ (Work Center), PRPLATZWRK (Plant).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP QSAMPTAB structure fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
PRUEFLOSInspection Lot Number QPLOSNUMC12Assigned to domainQPLOSQLSQALS
VORGLFNRCurrent Node Number from Order Counter APLZL QLFNKNNUMC8KNTNR
VORNROperation Number in the Quality Level QVORNRDCHAR4NUMCVVORNR
PRPLATZWork Center QPRPLATZCHAR8ARBPLQAP
PRPLATZWRKPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PRPLATZTXTShort Text QKURZTEXTCHAR40QKURZTEXT
PHYSPROBENumber of the Partial Sample QPHYSPROBENUMC6Assigned to domainQPROBENR
BPRUEFUMFQuantity to Be Inspected QPRUEFUMFQUAN13(3) QMENGEPLOS
BMENGENEHBase Unit of Measure for the Sample Unit QPROBEMGEHUNIT3Assigned to domainCUNITMEINS
PPRUEFUMFQuantity to Be Inspected QPRUEFUMFQUAN13(3) QMENGEPLOS
PMENGENEHSample Unit of Measure QPROBMEUNIT3Assigned to domainCUNITMEINS
FAKPLANMEFactor for Converting MatUnitOfMeasure to SampUnitOfMeasure QUMRENFLTP16(16) QUMRENFAK
FAKPROBMEFactor for Converting SampUnitOfMeasure to MatUnitOfMeasure QUMRENPMEFLTP16(16) QUMRENFAK
MANDTClient MANDTCLNT3T000MANDT
PRZIEHVERFSample-Drawing Procedure QPRZIEHVERCHAR8QPRVKQPRZIEHVERQPV
VERSIONVersion No. of the Sample-Drawing Procedure QVERSNPRZVCHAR6ALPHAQVERSNR
POSNRPRZVItem Number in Sample-Drawing Procedure QZAEHLPRZVNUMC4NUM4
LOSGEBEHLot Container QGEBEHUNIT3T006CUNITMEINS
PROBNRPLHighest Partial Sample No. Valid for Instruction QPROBNRBISNUMC3QPROBEPL
GEBINDE1Physical-Sample Container for Drawing Primary Sample QGEBINDE1CHAR6TQ42QGEBINDET
STPRPLAN1Sampling Scheme for Primary Sample Stage of Sample Drawing QSTPRPLAN1CHAR3QDPKQSTPRPLAN
PRSCHAERF1Insp. Severity in Samp.-Draw. Proc. at Primary Sample Stage QPRSCHAER1NUMC3QDEPQPRSCHAERF
AQLWERT1AQL Value in Primary Sample Stage QAQLWERT1DEC7(3) QAQLWERT
PRANZ1Fixed No. of Physical Samples for Primary Sample Stage QPRANZ1INT13QANZAHL1
FAKTORPR1Factor for Determining the Sample Size of a Primary Sample QFAKTORPR1INT13QANZAHL1
FORMEL1Formula Field for the Number of Samples QFORMELPCHAR60QFORMEL
GEBINDERPhysical-Sample Container for Reserve Sample QGEBINDERCHAR6TQ42QGEBINDET
ANZRUECKLNumber of Reserve Samples QANZRUECKLINT13QANZAHL1
UMFRUECKLSize of Reserve Sample QUMFRUECKLQUAN13(3) QMENGEPLOS
MERUECKLUnit of Measure for Reserve Sample QMERUECKLUNIT3T006CUNITMEINS
GEBINDE2Physical-Sample Container for Drawing Pooled Sample QGEBINDE2CHAR6TQ42QGEBINDET
STPRPLAN2Sampling Scheme for Pooled Sample Stage of Sample Drawing QSTPRPLAN2CHAR3QDPKQSTPRPLAN
PRSCHAERF2Insp. Severity of Samp.-Proc. at Pooled Sample Stage QPRSCHAER2NUMC3QDEPQPRSCHAERF
AQLWERT2AQL Value in Pooled Sample Stage QAQLWERT2DEC7(3) QAQLWERT
PRANZ2Fixed No. of Physical Samples for Pooled Sample Stage QPRANZ2INT13QANZAHL1
FAKTORPR2Factor for Determining the Sample Size of a Pooled Sample QFAKTORPR2INT13QANZAHL1
FORMEL2Formula Field for the Number of Samples QFORMELPCHAR60QFORMEL
ERSTELLERName of User Who Created the Data Record QERSTELLERCHAR12QAENDERER
AENDERERName of User who Most Recently Changed the Data Record QAENDERERCHAR12QAENDERER
DATUMERSTDate on Which the Data Record Was Created QDATUMERSTDATS8DATUM
ZEITERSTTime Data Record Was Created QERSTZEITTIMS6QZEIT
DATUMAENDDate on Which Data Record Was Changed QDATUMAENDDATS8DATUM
ZEITAENDTime of Last Data Record Change QAENZEITTIMS6QZEIT
ANZENTPRFixed No. of Physical Samples for Primary Sample Stage QPRANZ1INT13QANZAHL1
UMFENTPRSize of the Physical Sample QPHYSPRUMQUAN13(3) QMENGEPLOS
ANZMISCHPRFixed No. of Physical Samples for Pooled Sample Stage QPRANZ2INT13QANZAHL1
UMFMISCHPRSize of the Physical Sample QPHYSPRUMQUAN13(3) QMENGEPLOS

Key field Non-key field



How do I retrieve data from SAP structure QSAMPTAB using ABAP code?

As QSAMPTAB is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on QSAMPTAB as there is no data to select.

How to access SAP table QSAMPTAB

Within an ECC or HANA version of SAP you can also view further information about QSAMPTAB and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!