MDAG SAP (Comparison of MRP list with stock/requirements list) Structure details
Description: Comparison of MRP list with stock/requirements list
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 |
PLAKZ | Indicator for planning segment | PLAKZ | CHAR | 1 | PLAKZ | ||||
PLANR | Planning segment number | PLANR | CHAR | 20 | PLANR | ||||
SORT0 | Numeric field length 8 | NUM08 | NUMC | 8 | NUM08 | ||||
DAT00 | Receipt/Requirements date | DAT00 | DATS | 8 | DATUM | ||||
PERKZ | Period Indicator | PERKZ | CHAR | 1 | PERKZ | PKZ | |||
PRPER | Forecast period | PRPER | NUMC | 6 | PRPER | ||||
EXTSU | Period or segment | EXTSU | CHAR | 22 | CHAR22 | ||||
MNGD1 | Planned independent requirements | MNG07 | QUAN | 13(3) | MENGV13 | ||||
MNGD2 | Requirements | MNG08 | QUAN | 13(3) | MENGV13 | ||||
MNGD3 | Receipts | MNG09 | QUAN | 13(3) | MENGV13 | ||||
MNGD4 | Available quantity | MNG10 | QUAN | 13(3) | MENGV13 | ||||
MNGD5 | ATP quantity | MNG11 | QUAN | 13(3) | MENGV13 | ||||
ISTRD | Statistical range of coverage (range of coverage profile) | ISTRW | DEC | 4(1) | DECV3_1 | ||||
SLRWD | Target range of coverage | SLRWX | NUMC | 2 | RWTAG | ||||
MIRWD | Minimum range of coverage | MIRWX | NUMC | 2 | RWTAG | ||||
MARWD | Maximum range of coverage | MARWX | NUMC | 2 | RWTAG | ||||
TGBED | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
TGPRD | Average daily production quantity | TGPRO | QUAN | 13(3) | MENGE | ||||
MNGA1 | Planned independent requirements | MNG07 | QUAN | 13(3) | MENGV13 | ||||
MNGA2 | Requirements | MNG08 | QUAN | 13(3) | MENGV13 | ||||
MNGA3 | Receipts | MNG09 | QUAN | 13(3) | MENGV13 | ||||
MNGA4 | Available quantity | MNG10 | QUAN | 13(3) | MENGV13 | ||||
MNGA5 | ATP quantity | MNG11 | QUAN | 13(3) | MENGV13 | ||||
ISTRA | Statistical range of coverage (range of coverage profile) | ISTRW | DEC | 4(1) | DECV3_1 | ||||
SLRWA | Target range of coverage | SLRWX | NUMC | 2 | RWTAG | ||||
MIRWA | Minimum range of coverage | MIRWX | NUMC | 2 | RWTAG | ||||
MARWA | Maximum range of coverage | MARWX | NUMC | 2 | RWTAG | ||||
TGBEA | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
TGPRA | Average daily production quantity | TGPRO | QUAN | 13(3) | MENGE | ||||
VLIND | Line index for internal table processing | XLINE | INT4 | 10 | XLINE | ||||
BLIND | Line index for internal table processing | XLINE | INT4 | 10 | XLINE | ||||
VLINA | Line index for internal table processing | XLINE | INT4 | 10 | XLINE | ||||
BLINA | Line index for internal table processing | XLINE | INT4 | 10 | XLINE | ||||
AEN01 | Total change indicator | AEN01 | CHAR | 1 | CHAR1 | ||||
AEN02 | Total change indicator | AEN01 | CHAR | 1 | CHAR1 | ||||
AEN03 | Total change indicator | AEN01 | CHAR | 1 | CHAR1 | ||||
AEN04 | Total change indicator | AEN01 | CHAR | 1 | CHAR1 | ||||
AEN05 | Total change indicator | AEN01 | CHAR | 1 | CHAR1 | ||||
FBYTE | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
LIST1 | 30 Characters | CHAR30 | CHAR | 30 | CHAR30 | ||||
LIST2 | 30 Characters | CHAR30 | CHAR | 30 | CHAR30 | ||||
DETAIL_ICON | Carrier field for icons | ICON_TEXT | CHAR | 132 | SYCHAR132 |
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 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