QSAMPTAB SAP (Internal structure: Partial samples in inspection lot) Structure details
Description: Internal structure: Partial samples in inspection lot
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 |
PRUEFLOS | Inspection Lot Number | QPLOS | NUMC | 12 | Assigned to domain | QPLOS | QLS | QALS | |
VORGLFNR | Current Node Number from Order Counter APLZL | QLFNKN | NUMC | 8 | KNTNR | ||||
VORNR | Operation Number in the Quality Level | QVORNRD | CHAR | 4 | NUMCV | VORNR | |||
PRPLATZ | Work Center | QPRPLATZ | CHAR | 8 | ARBPL | QAP | |||
PRPLATZWRK | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PRPLATZTXT | Short Text | QKURZTEXT | CHAR | 40 | QKURZTEXT | ||||
PHYSPROBE | Number of the Partial Sample | QPHYSPROBE | NUMC | 6 | Assigned to domain | QPROBENR | |||
BPRUEFUMF | Quantity to Be Inspected | QPRUEFUMF | QUAN | 13(3) | QMENGEPLOS | ||||
BMENGENEH | Base Unit of Measure for the Sample Unit | QPROBEMGEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PPRUEFUMF | Quantity to Be Inspected | QPRUEFUMF | QUAN | 13(3) | QMENGEPLOS | ||||
PMENGENEH | Sample Unit of Measure | QPROBME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
FAKPLANME | Factor for Converting MatUnitOfMeasure to SampUnitOfMeasure | QUMREN | FLTP | 16(16) | QUMRENFAK | ||||
FAKPROBME | Factor for Converting SampUnitOfMeasure to MatUnitOfMeasure | QUMRENPME | FLTP | 16(16) | QUMRENFAK | ||||
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
PRZIEHVERF | Sample-Drawing Procedure | QPRZIEHVER | CHAR | 8 | QPRVK | QPRZIEHVER | QPV | ||
VERSION | Version No. of the Sample-Drawing Procedure | QVERSNPRZV | CHAR | 6 | ALPHA | QVERSNR | |||
POSNRPRZV | Item Number in Sample-Drawing Procedure | QZAEHLPRZV | NUMC | 4 | NUM4 | ||||
LOSGEBEH | Lot Container | QGEBEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
PROBNRPL | Highest Partial Sample No. Valid for Instruction | QPROBNRBIS | NUMC | 3 | QPROBEPL | ||||
GEBINDE1 | Physical-Sample Container for Drawing Primary Sample | QGEBINDE1 | CHAR | 6 | TQ42 | QGEBINDET | |||
STPRPLAN1 | Sampling Scheme for Primary Sample Stage of Sample Drawing | QSTPRPLAN1 | CHAR | 3 | QDPK | QSTPRPLAN | |||
PRSCHAERF1 | Insp. Severity in Samp.-Draw. Proc. at Primary Sample Stage | QPRSCHAER1 | NUMC | 3 | QDEP | QPRSCHAERF | |||
AQLWERT1 | AQL Value in Primary Sample Stage | QAQLWERT1 | DEC | 7(3) | QAQLWERT | ||||
PRANZ1 | Fixed No. of Physical Samples for Primary Sample Stage | QPRANZ1 | INT1 | 3 | QANZAHL1 | ||||
FAKTORPR1 | Factor for Determining the Sample Size of a Primary Sample | QFAKTORPR1 | INT1 | 3 | QANZAHL1 | ||||
FORMEL1 | Formula Field for the Number of Samples | QFORMELP | CHAR | 60 | QFORMEL | ||||
GEBINDER | Physical-Sample Container for Reserve Sample | QGEBINDER | CHAR | 6 | TQ42 | QGEBINDET | |||
ANZRUECKL | Number of Reserve Samples | QANZRUECKL | INT1 | 3 | QANZAHL1 | ||||
UMFRUECKL | Size of Reserve Sample | QUMFRUECKL | QUAN | 13(3) | QMENGEPLOS | ||||
MERUECKL | Unit of Measure for Reserve Sample | QMERUECKL | UNIT | 3 | T006 | CUNIT | MEINS | ||
GEBINDE2 | Physical-Sample Container for Drawing Pooled Sample | QGEBINDE2 | CHAR | 6 | TQ42 | QGEBINDET | |||
STPRPLAN2 | Sampling Scheme for Pooled Sample Stage of Sample Drawing | QSTPRPLAN2 | CHAR | 3 | QDPK | QSTPRPLAN | |||
PRSCHAERF2 | Insp. Severity of Samp.-Proc. at Pooled Sample Stage | QPRSCHAER2 | NUMC | 3 | QDEP | QPRSCHAERF | |||
AQLWERT2 | AQL Value in Pooled Sample Stage | QAQLWERT2 | DEC | 7(3) | QAQLWERT | ||||
PRANZ2 | Fixed No. of Physical Samples for Pooled Sample Stage | QPRANZ2 | INT1 | 3 | QANZAHL1 | ||||
FAKTORPR2 | Factor for Determining the Sample Size of a Pooled Sample | QFAKTORPR2 | INT1 | 3 | QANZAHL1 | ||||
FORMEL2 | Formula Field for the Number of Samples | QFORMELP | CHAR | 60 | QFORMEL | ||||
ERSTELLER | Name of User Who Created the Data Record | QERSTELLER | CHAR | 12 | QAENDERER | ||||
AENDERER | Name of User who Most Recently Changed the Data Record | QAENDERER | CHAR | 12 | QAENDERER | ||||
DATUMERST | Date on Which the Data Record Was Created | QDATUMERST | DATS | 8 | DATUM | ||||
ZEITERST | Time Data Record Was Created | QERSTZEIT | TIMS | 6 | QZEIT | ||||
DATUMAEND | Date on Which Data Record Was Changed | QDATUMAEND | DATS | 8 | DATUM | ||||
ZEITAEND | Time of Last Data Record Change | QAENZEIT | TIMS | 6 | QZEIT | ||||
ANZENTPR | Fixed No. of Physical Samples for Primary Sample Stage | QPRANZ1 | INT1 | 3 | QANZAHL1 | ||||
UMFENTPR | Size of the Physical Sample | QPHYSPRUM | QUAN | 13(3) | QMENGEPLOS | ||||
ANZMISCHPR | Fixed No. of Physical Samples for Pooled Sample Stage | QPRANZ2 | INT1 | 3 | QANZAHL1 | ||||
UMFMISCHPR | Size of the Physical Sample | QPHYSPRUM | QUAN | 13(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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects