SRV_MDRV 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
SRV_MDRV 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 SRV_MDRV table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include EBELN (Purchasing Document Number), EKORG (Purchasing Organization), EKGRP (Purchasing Group), LIFNR (Vendor Account Number).. 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 SRV_MDRV 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | ALPHA | EBELN | BES | MEKK_C | |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
EKGRP | Purchasing Group | BKGRP | CHAR | 3 | T024 | EKGRP | EKG | ||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | EBELP | BSP | |||
RESWK | Supplying (Issuing) Plant in Stock Transport Order | RESWK | CHAR | 4 | T001W | WERKS | |||
BSTYP | Purchasing Document Category | BSTYP | CHAR | 1 | BSTYP | ||||
LOEKZ | Deletion Indicator in Purchasing Document | ELOEK | CHAR | 1 | ELOEK | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
EMATN | Material Number | EMATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
WERKS | Plant | EWERK | CHAR | 4 | T001W | WERKS | WRK | ||
LGORT | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
PLIFZ | Planned Delivery Time in Days | EPLIF | DEC | 3 | DEC3 | ||||
WEBAZ | Goods Receipt Processing Time in Days | WEBAZ | DEC | 3 | DEC3 | ||||
PSTYP | Item Category in Purchasing Document | PSTYP | CHAR | 1 | T163 | PSTYP | |||
KNTTP | Account Assignment Category | KNTTP | CHAR | 1 | T163K | KNTTP | KNT | ||
KZVBR | Consumption Posting | KZVBR | CHAR | 1 | KZVBR | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | T148 | SOBKZ | |||
BSTYP_K | Purchasing Document Category | EBSTYP | CHAR | 1 | EBSTYP | ||||
LOEKZ_K | Deletion Indicator in Purchasing Document | ELOEK | CHAR | 1 | ELOEK | ||||
BEDAT | Purchasing Document Date | EBDAT | DATS | 8 | DATUM | ||||
MATKL | Material Group | MATKL | CHAR | 9 | T023 | MATKL | MKL | S_WBWG | |
TXZ01 | Short Text | TXZ01 | CHAR | 40 | TEXT40 | ||||
PACKNO | Package number | PACKNO | NUMC | 10 | ESLH | PACKNO | |||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
WEPOS | Goods Receipt Indicator | WEPOS | CHAR | 1 | XFELD | ||||
WEUNB | Goods Receipt, Non-Valuated | WEUNB | CHAR | 1 | XFELD | ||||
WEBRE | Indicator: GR-Based Invoice Verification | WEBRE | CHAR | 1 | XFELD | ||||
KDATB | Start of Validity Period | KDATB | DATS | 8 | DATUM | ||||
KDATE | End of Validity Period | KDATE | DATS | 8 | DATUM | ||||
BSART | Purchasing Document Type | ESART | CHAR | 4 | T161 | BSART | BSA | ||
LEBRE | Indicator for Service-Based Invoice Verification | LEBRE | CHAR | 1 | XFELD | ||||
MEMORY | Purchase order not yet complete | MEMER | CHAR | 1 | XFELD | ||||
STATU | Status of Purchasing Document | ESTAK | CHAR | 1 | ESTAK | ||||
MEMORYTYPE | Category of Incompleteness | MEMORYTYPE | CHAR | 1 | MM_MEMORYTYPE |
Key field | Non-key field |
How do I retrieve data from SAP table SRV_MDRV using ABAP code
The following ABAP code Example will allow you to do a basic selection on SRV_MDRV to SELECT all data from the tableDATA: WA_SRV_MDRV TYPE SRV_MDRV.
SELECT SINGLE *
FROM SRV_MDRV
INTO CORRESPONDING FIELDS OF WA_SRV_MDRV
WHERE...
How to access SAP table SRV_MDRV
Within an ECC or HANA version of SAP you can also view further information about SRV_MDRV 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