MDQM SAP (Generated Table for View) Table View details
Dictionary Type: Table View
Description: Generated Table for View
Description: Generated Table for View
Table View field list including key, data, relationships and ABAP select examples
MDQM is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.
The MDQM table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include PRUEFLOS (Inspection Lot Number), MATNR (Material Number), WERKVORG (Plant Where Stock for Inspection Lot Is Held), INSMK (Quantity Is or Was in Inspection Stock).. 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 MDQM table view 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 |
MANDANT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
PRUEFLOS | Inspection Lot Number | QPLOS | NUMC | 12 | QPLOS | QLS | QALS | ||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKVORG | Plant Where Stock for Inspection Lot Is Held | QWERKVORG | CHAR | 4 | T001W | WERKS | |||
INSMK | Quantity Is or Was in Inspection Stock | QVINSMK | CHAR | 1 | QKZ | ||||
PASTRTERM | Inspection Start Date | QPRSTART | DATS | 8 | DATUM | ||||
PAENDTERM | End Date of the Inspection | QPRENDE | DATS | 8 | DATUM | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | MCH1 | CHARG | CHA | ||
LAGORTVORG | Storage Location for Inspection Lot Stock | QLGORTVORG | CHAR | 4 | T001L | LGORT | |||
LOSMENGE | Inspection Lot Quantity | QLOSMENGE | QUAN | 13(3) | QMENGEPLOS | ||||
LMENGEZUB | Quantity That Must Be Posted | QLMENGEZUB | QUAN | 13(3) | QMENGEPLOS | ||||
MENGENEINH | Base Unit of Measure for The Inspection Lot Quantity | QLOSMENGEH | UNIT | 3 | T006 | CUNIT | MEINS | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | T148 | SOBKZ | |||
KNTTP | Account Assignment Category | KNTTP | CHAR | 1 | T163K | KNTTP | KNT | ||
KZVBR | Consumption Posting | KZVBR | CHAR | 1 | KZVBR | ||||
PSTYP | Item Category in Purchasing Document | PSTYP | CHAR | 1 | T163 | PSTYP | |||
KDAUF | Sales Order Number of Valuated Sales Order Stock | MAT_KDAUF | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
KDPOS | Sales Order Item of Valuated Sales Order Stock | MAT_KDPOS | NUMC | 6 | NUM06 | KPO | |||
PS_PSP_PNR | Valuated Sales Order Stock WBS Element | MAT_PSPNR | NUMC | 8 | PRPS | KONPR | PS_POSNR | ||
STAT34 | Stock Postings Completed | QSTAT34 | CHAR | 1 | QKZ | ||||
STAT35 | Usage Decision Has Been Made | QSTAT35 | CHAR | 1 | QKZ | ||||
HERKUNFT | Inspection Lot Origin | QHERK | CHAR | 2 | TQ31 | QHERK | QHK | ||
REVLV | Revision Level | REVLV | CHAR | 2 | NUMCV | REVLV | RVS |
Key field | Non-key field |
How do I retrieve data from SAP table MDQM using ABAP code
The following ABAP code Example will allow you to do a basic selection on MDQM to SELECT all data from the tableDATA: WA_MDQM TYPE MDQM.
SELECT SINGLE *
FROM MDQM
INTO CORRESPONDING FIELDS OF WA_MDQM
WHERE...
How to access SAP table MDQM
Within an ECC or HANA version of SAP you can also view further information about MDQM 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