MDTREESTRUC SAP (Fields for Tree in Order Report) Structure details

Dictionary Type: Structure
Description: Fields for Tree in Order Report




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




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

MDTREESTRUC 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 "Fields for Tree in Order Report" 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_MDTREESTRUC TYPE MDTREESTRUC.

The MDTREESTRUC table consists of various fields, each holding specific information or linking keys about Fields for Tree in Order Report data available in SAP. These include MATNR_INT (Material Number), BERID (MRP Area), WERKS (Plant), MAKTX (Material Description (Short Text)).. 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 MDTREESTRUC 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
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MATNR_INTMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
BERIDMRP Area BERIDCHAR10Assigned to domainBERIDBERID
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
DISPOMRP Controller (Materials Planner) DISPOCHAR3Assigned to domainDISPODGRHS_T024D
EKGRPPurchasing Group EKGRPCHAR3Assigned to domainEKGRPEKG
LLPROBLEMSingle-Character Indicator CHAR1CHAR1CHAR1
ERR01Exception message key AUSSLCHAR2Assigned to domainAUSSL
MSGXXOutput area for error message MSGXXCHAR200CHAR200
BDDATReceipt/Requirements date DAT00DATS8DATUM
DELKZMRP element DELKZCHAR2DELKZ
DELB0Abbreviation for MRP element DELB0CHAR6DELB0
DELNRMRP element number DEL12CHAR12DEL12
DELPSMRP element item DELPSNUMC6DELPS
DELETSchedule Line Number MRP Element DELETNUMC4DELET
MNG01Quantity received or quantity required MNG01QUAN13(3) MENGV13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
RCDATReceipt/Requirements date DAT00DATS8DATUM
RCEKZMRP element DELKZCHAR2DELKZ
RCEB0Abbreviation for MRP element DELB0CHAR6DELB0
RCENRMRP element number DEL12CHAR12DEL12
RCEPSMRP element item DELPSNUMC6DELPS
RCELTSchedule Line Number MRP Element DELETNUMC4DELET
UMDATRescheduling date UMDATDATS8DATUM
MMEMOTree Control: Icon / Image TV_IMAGECHAR46TV_IMAGE
ICON_DELAYTree Control: Icon / Image TV_IMAGECHAR46TV_IMAGE
VRZGTActual delay VRZGTQUAN9(3) VRZGT
MEIVTTime unit for the actual delay MEIVTUNIT3Assigned to domainCUNITMEINS
VRZGEExpected delay VRZGEQUAN9(3) VRZGE
MEIVETime unit for the expected delay MEIVEUNIT3Assigned to domainCUNITMEINS
ICON_QUANT_DIFFTree Control: Icon / Image TV_IMAGECHAR46TV_IMAGE
MNGDFVariance between actual and planned quantity in operation MNGDFQUAN13(3) MENG13
MEINHUnit of Measure for Activity/Operation VORMEUNIT3Assigned to domainCUNITMEINS
GAMNGTotal order quantity GAMNGQUAN13(3) MENG13
GASMGTotal scrap quantity in the order GASMGQUAN13(3) MENG13
GMEINCommon unit of measure for all order items CO_GMEINUNIT3Assigned to domainCUNITMEINS
GLTRPBasic finish date CO_GLTRPDATS8DATUM
GSTRPBasic start date CO_GSTRPDATS8DATUM
GSTRIActual start date CO_GSTRIDATS8DATUM
GLTRIActual finish date CO_GLTRIDATS8DATUM
GETRIConfirmed Order Finish Date CO_GETRIDATS8DATUM
GLTRSScheduled finish CO_GLTRSDATS8DATUM
GSTRSScheduled start CO_GSTRSDATS8DATUM
AUARTOrder Type AUFARTCHAR4Assigned to domainAUFARTAAT
STTXTSystem Status CO_STTXTCHAR40CHAR40
RMNGATotal confirmed rework quantity RMNGAQUAN13(3) MENGV13
FRERORelease or creation date FRERODATS8DATUM
GWEMGDelivered quantity CO_GWEMGQUAN13(3) MENG13
WBESTPlant stock WBEST_DTQUAN13(3) MENG13V
KBESTIndividual customer stock KBEST_DTQUAN13(3) MENG13V
PBESTProject stock PBEST_DTQUAN13(3) MENG13V
FEVORProduction Supervisor FEVORCHAR3Assigned to domainFEVORCFV
STPRSStandard price STPRSCURR11(2) WERT11V
PEINHPrice Unit PEINHDEC5PACK3
AUSSSAssembly scrap in percent AUSSSDEC5(2) DEC3_2
DZEITIn-house production time DZEITDEC3DEC3
PLIFZPlanned Delivery Time in Days PLIFZDEC3DEC3
WZEITTotal replenishment lead time (in workdays) WZEITDEC3DEC3
EISBESafety Stock EISBEQUAN13(3) MENG13
XFEHLTree Control: Icon / Image TV_IMAGECHAR46TV_IMAGE
DELAY_ICONOrder Report: Icon for Seriousness of a Delay MD_DELAY_ICONCHAR4Assigned to domainICON
DELAY_MEOrder Report: Own Delay of a Receipt Element MD_DELAY_MEQUAN4MD_DELAY_ME
DELAY_LEVELOrder Report: Cumulative Delay of Lower Levels MD_DELAY_LEVELQUAN4MD_DELAY_LEVEL
DELAY_SUMOrder Report: Own Delay + Delay of Lower Levels MD_DELAY_SUMQUAN4MD_DELAY_SUM
DELAY_UNITOrder Report: Unit of a Delay MD_DELAY_UNITUNIT3CUNITMD_DELAY_UNIT
NODEALV Tree Control: Node Key LVC_NKEYCHAR12
PARENT_NODEALV Tree Control: Node Key LVC_NKEYCHAR12

Key field Non-key field



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

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

How to access SAP table MDTREESTRUC

Within an ECC or HANA version of SAP you can also view further information about MDTREESTRUC 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!