QPRSA SAP (Archiving Structure for Physical Samples) Structure details
Description: Archiving Structure for Physical Samples
Structure field list including key, data, relationships and ABAP select examples
QPRSA 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 "Archiving 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_QPRSA TYPE QPRSA.
The QPRSA table consists of various fields, each holding specific information or linking keys about Archiving 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 QPRSA 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 | ||||
PLOS | Current or Last Inspection Lot for the Sample | QLOT_LATE | NUMC | 12 | Assigned to domain | QPLOS | QALS | ||
ANLDT | Creation Date of Physical Sample | QPRS_ANLDT | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP structure QPRSA using ABAP code?
As QPRSA 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 QPRSA as there is no data to select.How to access SAP table QPRSA
Within an ECC or HANA version of SAP you can also view further information about QPRSA 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