MDAG SAP (Comparison of MRP list with stock/requirements list) Structure details

Dictionary Type: Structure
Description: Comparison of MRP list with stock/requirements list




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




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

MDAG 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 "Comparison of MRP list with stock/requirements list" 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_MDAG TYPE MDAG.

The MDAG table consists of various fields, each holding specific information or linking keys about Comparison of MRP list with stock/requirements list data available in SAP. These include PLANR (Planning segment number), SORT0 (Numeric field length 8), DAT00 (Receipt/Requirements date), PERKZ (Period Indicator).. 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 MDAG 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
PLAKZIndicator for planning segment PLAKZCHAR1PLAKZ
PLANRPlanning segment number PLANRCHAR20PLANR
SORT0Numeric field length 8 NUM08NUMC8NUM08
DAT00Receipt/Requirements date DAT00DATS8DATUM
PERKZPeriod Indicator PERKZCHAR1PERKZPKZ
PRPERForecast period PRPERNUMC6PRPER
EXTSUPeriod or segment EXTSUCHAR22CHAR22
MNGD1Planned independent requirements MNG07QUAN13(3) MENGV13
MNGD2Requirements MNG08QUAN13(3) MENGV13
MNGD3Receipts MNG09QUAN13(3) MENGV13
MNGD4Available quantity MNG10QUAN13(3) MENGV13
MNGD5ATP quantity MNG11QUAN13(3) MENGV13
ISTRDStatistical range of coverage (range of coverage profile) ISTRWDEC4(1) DECV3_1
SLRWDTarget range of coverage SLRWXNUMC2RWTAG
MIRWDMinimum range of coverage MIRWXNUMC2RWTAG
MARWDMaximum range of coverage MARWXNUMC2RWTAG
TGBEDQuantity MENGE_DQUAN13(3) MENG13
TGPRDAverage daily production quantity TGPROQUAN13(3) MENGE
MNGA1Planned independent requirements MNG07QUAN13(3) MENGV13
MNGA2Requirements MNG08QUAN13(3) MENGV13
MNGA3Receipts MNG09QUAN13(3) MENGV13
MNGA4Available quantity MNG10QUAN13(3) MENGV13
MNGA5ATP quantity MNG11QUAN13(3) MENGV13
ISTRAStatistical range of coverage (range of coverage profile) ISTRWDEC4(1) DECV3_1
SLRWATarget range of coverage SLRWXNUMC2RWTAG
MIRWAMinimum range of coverage MIRWXNUMC2RWTAG
MARWAMaximum range of coverage MARWXNUMC2RWTAG
TGBEAQuantity MENGE_DQUAN13(3) MENG13
TGPRAAverage daily production quantity TGPROQUAN13(3) MENGE
VLINDLine index for internal table processing XLINEINT410XLINE
BLINDLine index for internal table processing XLINEINT410XLINE
VLINALine index for internal table processing XLINEINT410XLINE
BLINALine index for internal table processing XLINEINT410XLINE
AEN01Total change indicator AEN01CHAR1CHAR1
AEN02Total change indicator AEN01CHAR1CHAR1
AEN03Total change indicator AEN01CHAR1CHAR1
AEN04Total change indicator AEN01CHAR1CHAR1
AEN05Total change indicator AEN01CHAR1CHAR1
FBYTESingle-Character Indicator CHAR1CHAR1CHAR1
LIST130 Characters CHAR30CHAR30CHAR30
LIST230 Characters CHAR30CHAR30CHAR30
DETAIL_ICONCarrier field for icons ICON_TEXTCHAR132SYCHAR132

Key field Non-key field



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

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

How to access SAP table MDAG

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