LQPRS SAP (List Output Structure for Physical Samples) Structure details
Description: List Output Structure for Physical Samples
Structure field list including key, data, relationships and ABAP select examples
LQPRS 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 "List Output Structure for Physical Samples" 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_LQPRS TYPE LQPRS.
The LQPRS table consists of various fields, each holding specific information or linking keys about List Output Structure for Physical Samples data available in SAP. These include MANDT (Client), PHYNR (Physical Sample Number), OBJNR (Object number), STSMA (Status Profile for Physical Samples).. 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: Can be enhanced (character-type or numeric)
SAP LQPRS 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
PHYNR | Physical Sample Number | QPHYSPRNR | CHAR | 12 | Assigned to domain | ALPHA | QPHYSPRNR | QPN | |
OBJNR | Object number | J_OBJNR | CHAR | 22 | ONR00 | J_OBJNR | ONR | ||
STSMA | Status Profile for Physical Samples | QSTSMA_PRS | CHAR | 8 | TJ20 | J_STSMA | |||
PRART | Physical-Sample Type | QPRART | CHAR | 2 | TQ40 | QPRART | |||
PRTYP | Sample Category | QPRTYP | CHAR | 1 | TQ44 | QPRTYP | |||
PN_NR | Sample-Drawing Number | QPZNR | NUMC | 12 | QPRN | NUMC12 | QPZ | ||
XMANU | Manually Created Sample | QPRB_MAN | CHAR | 1 | QKZ | ||||
GBTYP | Physical-Sample Container | QGEBINDET | CHAR | 6 | TQ42 | QGEBINDET | |||
MENGE | Size of the Physical Sample | QPHYSPRUM | QUAN | 13(3) | QMENGEPLOS | ||||
MEINH | Unit of Measure for Physical Sample Size | QPHYSPRME | UNIT | 3 | T006 | CUNIT | MEINS | ||
PLOS2 | Current or Last Inspection Lot for the Sample | QLOT_LATE | NUMC | 12 | QALS | QPLOS | QALS | ||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
REVLV | Revision Level | REVLV | CHAR | 2 | NUMCV | REVLV | RVS | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | MCH1 | CHARG | CHA | ||
KTEXT | Short Text for Physical Sample | QTEXT_PRS | CHAR | 80 | TEXT80 | ||||
QAUTH | Material Authorization Group for Activities in QM | QMATAUTH | CHAR | 6 | TQ01B | QMATAUTH | |||
PNVER | Sample-Drawing Procedure | QPRZIEHVER | CHAR | 8 | QPRVK | QPRZIEHVER | QPV | ||
PNVEV | Version No. of the Sample-Drawing Procedure | QVERSNPRZV | CHAR | 6 | QPRVK | ALPHA | QVERSNR | ||
PNPOS | Item Number in Sample-Drawing Procedure | QZAEHLPRZV | NUMC | 4 | NUM4 | ||||
GEBEH | Lot Container | QGEBEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
TPBIS | Highest Partial Sample No. Valid for Instruction | QPROBNRBIS | NUMC | 3 | QPROBEPL | ||||
LGORT | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
ABORT | Storage Location for a Physical Sample | QAUFBEWORT | CHAR | 12 | TQ41 | QAUFBEWORT | |||
ABDAU | Storage Duration of the Physical Sample in Days | QAUFBDAUER | DEC | 5 | DEC5 | ||||
ABDAT | Storage Deadline for Physical Sample | QAUFBDATUM | DATS | 8 | DATUM | ||||
ABINF | Storage Information for the Physical Sample | QAUFBINFO | CHAR | 80 | TEXT80 | ||||
AENNA | Last User who Changed the Physical-Sample Record | QPRS_AEN | CHAR | 12 | QAENDERER | ||||
AENDT | Date the Physical Sample Was Changed | QPRS_AENDT | DATS | 8 | DATUM | ||||
AENZT | Time at Which Physical-Sample Record Changed | QPRS_AENZT | TIMS | 6 | QZEIT | ||||
VENUM | Internal Handling Unit Number | VENUM | CHAR | 10 | Assigned to domain | ALPHA | VENUM | VEL | |
VEPOS | Handling Unit Item | VEPOS | NUMC | 6 | Assigned to domain | VEPOS | |||
ADDON_DUMMY | Dummy Field for ADDON Structures in QM | QDUMMY | CHAR | 1 | QDUMMY | ||||
.INCLU--AP | 0 | ||||||||
PRIMPACK | Primary Packaging (Stability Study) | QPRIMPACK | CHAR | 8 | TQ45 | QPRIMPACK | |||
STABICON | Storage Condition | QSTABICON | CHAR | 8 | TQ43 | QSTABICON | |||
EINGDT | Date of Receipt of Initial Sample for Stability Study | QST_EINGDT | DATS | 8 | DATUM | ||||
EINLDT | Storage Date of Sample for Storage Condition | QST_EINLDT | DATS | 8 | DATUM | ||||
AUSLDT | Date of Removal from Storage of Sample for Storage Condition | QST_AUSLDT | DATS | 8 | DATUM | ||||
ENTORT | Location of Sample Drawing (Functional Location) | QPRSENTORT | CHAR | 30 | Assigned to domain | TPLNR | TPLNR | IFLM | |
INFEORT | Description of Sample-Drawing Location | QPRSINFEORT | CHAR | 60 | CHAR60 | ||||
ENTDATUM | Date of Sample Drawing | QPRSENTDATUM | DATS | 8 | DATUM | ||||
ENTZEIT | Time of Sample Drawing | QPRSENTZEIT | TIMS | 6 | QZEIT | ||||
BEARBEITER | Processor Responsible for the Sample, Sample Taker | QPRSBEARBEITER | CHAR | 20 | CHAR20 | ||||
LABOR | Work Center (Laboratory) | QLABOR | CHAR | 8 | QPLEXT_PRPLATZ | ||||
KUNNR | Customer (Ship-To Party) | QKUNWE | CHAR | 10 | KNA1 | ALPHA | KUNNR | DEBI | |
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
HRSTL | Number of Manufacturer | QLIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | |
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
ZEILE | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
VERID | Production Version | VERID | CHAR | 4 | MKAL | VERID | VER | ||
SA_AUFNR | Run schedule header number | SA_AUFNR | CHAR | 12 | SAFK | ALPHA | SA_AUFNR | ||
KZQUIT | Confirmation Required for Physical-Sample Drawing | QKZQUIT | CHAR | 1 | QKZ | ||||
SIG_IL_SDR | Digital Signature for Confirmation of Phys.-Sample Drawing | SIG_IL_SDR | CHAR | 1 | SIG_IL_SDR | ||||
FRGNA | User who Released the Physical Sample | QPRS_FRG | CHAR | 12 | QAENDERER | ||||
FRGDT | Physical Sample Release Date | QPRS_FRGDT | DATS | 8 | DATUM | ||||
FRGZT | Time of Physical Sample Release | QPRS_FRGZT | TIMS | 6 | QZEIT | ||||
PZTXT | Comments on the Physical-Sample Drawing | QPZ_TEXT | CHAR | 40 | TEXT40 | ||||
TXTMAT | Material short text | QTXTMAT | CHAR | 40 | QKURZTEXT | ||||
TXTLIEF | Name of Vendor | QTXTLIEF | CHAR | 40 | QKURZTEXT | ||||
TXTHERST | Name of Manufacturer | QTXTHERST | CHAR | 40 | QKURZTEXT | ||||
TXTKUNDE | Customer Name | QTXTKUNDE | CHAR | 40 | QKURZTEXT | ||||
STATU | Internal Status of Physical-Sample Record | QPRSSTATUS | CHAR | 40 | CHAR40 | ||||
ANWKZ | User status active | CO_ASTEX | CHAR | 1 | KREUZ | ||||
ANWST | User Status of the Physical-Sample Record | QPRS_ANWST | CHAR | 40 | CHAR40 |
Key field | Non-key field |
How do I retrieve data from SAP structure LQPRS using ABAP code?
As LQPRS 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 LQPRS as there is no data to select.How to access SAP table LQPRS
Within an ECC or HANA version of SAP you can also view further information about LQPRS 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