MDEZ SAP (Individual lines of the MRP elements) Structure details

Dictionary Type: Structure
Description: Individual lines of the MRP elements




ABAP Code to SELECT data from MDEZ
Related tables to MDEZ
Access table MDEZ




Structure field list including key, data, relationships and ABAP select examples

MDEZ 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 "Individual lines of the MRP elements" 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_MDEZ TYPE MDEZ.

The MDEZ table consists of various fields, each holding specific information or linking keys about Individual lines of the MRP elements data available in SAP. These include PLANR (Planning segment number), SORT0 (Numeric field length 8), TAG00 (Daily shift (sort indicator 0)), SORT1 (Sort indicator 01).. 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 MDEZ 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
PLAABMaterial requirements planning segment PLAABNUMC2PLAAB
PLANRPlanning segment number PLANRCHAR20PLANR
SORT0Numeric field length 8 NUM08NUMC8NUM08
TAG00Daily shift (sort indicator 0) TAG00NUMC2TAG00
SORT1Sort indicator 01 SORT1CHAR1SORT1
SORT2Sort indicator 02 SORT2CHAR2SORT2
DELKZMRP element DELKZCHAR2DELKZ
PLUMIReceipt/issue indicator PLUMICHAR1CHAR1
VRFKZAvailability indicator VRFKZCHAR1VRFKZ
DAT00Receipt/Requirements date DAT00DATS8DATUM
DAT01Delivery/order finish date DAT01DATS8DATUM
DELB0Abbreviation for MRP element DELB0CHAR6DELB0
EXTRAMRP element data EXTRACHAR40CHAR40
AUSSLException message key AUSSLCHAR2Assigned to domainAUSSL
AUSKTException message number AUSKTCHAR2AUSKT
MNG01Quantity received or quantity required MNG01QUAN13(3) MENGV13
MNG02Available quantity VRFMGQUAN13(3) MENGV13
MNG03Available quantity VRFMGQUAN13(3) MENGV13
MNG04ATP quantity MNG04QUAN13(3) MENGV13
FBYTESingle-Character Indicator CHAR1CHAR1CHAR1
ALINELine index for internal table processing XLINEINT410XLINE
ZLINELine index for internal table processing XLINEINT410XLINE
SELKZSelection flag SELKZCHAR1SELKZ
ABEKZException indicator ABEKZCHAR1CHAR1
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
SERNRBOM explosion number SERNRCHAR8Assigned to domainSERNR
REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
MNAUSVariable scrap quantity MNG02QUAN13(3) MENG13
DAT02Start/release date DAT02DATS8DATUM
DAT03Opening date DAT03DATS8DATUM
SOBESSpecial procurement type SOBESCHAR1SOBES
ESOBSSpecial procurement - external display ESOBSCHAR1Assigned to domainESOBS
WRK01Planning Plant PLWRKCHAR4Assigned to domainWERKSWRK
WRK02Planning Plant PLWRKCHAR4Assigned to domainWERKSWRK
SLOC2Issuing/Receiving Storage Location SLOC2CHAR4Assigned to domainLGORT
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
UMDATRescheduling date UMDATDATS8DATUM
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
MD4KDCustomer name MD4KDCHAR35NAME
MD4LIVendor name MD4LICHAR35NAME
LLMSGException at a lower BOM level LLMESSAGECHAR2Assigned to domainAUSSL
LLDLYDelay for lower BOM levels MDDELAYINT410INT4
TRAMGMRP: stock in transit TRAMGQUAN13(3) MENGV13
USEX1Field to be filled by user exit USEEXCHAR30CHAR30
USEX2Field to be filled by user exit USEEXCHAR30CHAR30
USEX3Field to be filled by user exit USEEXCHAR30CHAR30
SORT3Sort indicator for individual customer segments SRTKDNUMC8NUM8
UNIV1Quantity received or quantity required MNG01QUAN13(3) MENGV13
UNIV2Available quantity VRFMGQUAN13(3) MENGV13
UNIV3Text field TEXTCHAR29FL_TEXT
DETAIL_ICONCarrier field for icons ICON_TEXTCHAR132SYCHAR132
PRIO_URGRequirement Urgency PRIO_URGNUMC2PURGPRIO_URG
PRIO_REQRequirement Priority PRIO_REQNUMC3PREQPRIO_REQ
MDMATMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MDLOCLocation of MRP Element MDLOCCHAR20
MDWRKPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MDBERMRP Area BERIDCHAR10Assigned to domainBERIDBERID
.INCLU--AP 0
MPNMTMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1

Key field Non-key field



How do I retrieve data from SAP structure MDEZ using ABAP code?

As MDEZ 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 MDEZ as there is no data to select.

How to access SAP table MDEZ

Within an ECC or HANA version of SAP you can also view further information about MDEZ and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!