MDST SAP (Control string for stock/requirements situation) Structure details
Description: Control string for stock/requirements situation
Structure field list including key, data, relationships and ABAP select examples
MDST 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 "Control string for stock/requirements situation" 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_MDST TYPE MDST.
The MDST table consists of various fields, each holding specific information or linking keys about Control string for stock/requirements situation data available in SAP. These include PRAST (Period split), KZSUM (MDUSX indicator), INPER (Internal period indicator), MRPPP (PPC planning calendar).. 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 MDST 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 |
ANZEI | Screen combination in MRP lists | INCMD | CHAR | 8 | CHAR8 | ||||
PRAST | Period split | PRAST | CHAR | 5 | T449A | PRAST | |||
KZSUM | MDUSX indicator | KZSUM | CHAR | 1 | CHAR1 | ||||
INPER | Internal period indicator | INPER | CHAR | 1 | CHAR1 | ||||
MRPPP | PPC planning calendar | MRPPP | CHAR | 3 | Assigned to domain | MRPPP | |||
ABKZG | Indicator for segment selection | ABKZG | CHAR | 1 | CHAR1 | ||||
TRKZG | Transaction indicator | TRKZG | CHAR | 1 | CHAR1 | ||||
VRFWE | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
BEDVL | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
KZATP | ATP indicator | KZATP | CHAR | 1 | CHAR1 | ||||
KZUMT | Rescheduling indicator | KZUMT | CHAR | 1 | CHAR1 | ||||
XLINE | Line index for internal table processing | XLINE | INT4 | 10 | XLINE | ||||
SBZKZ | Changes to grouping of dependent requirements | SBZKZ | CHAR | 1 | CHAR1 | ||||
MEINH | Unit of Measure for Display | MEINH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
GROKO | Detailed or standard header in MRP list | GROKO | CHAR | 1 | XFELD | ||||
LIANZ | Flag whether system is to display vendor | LIANZ | CHAR | 1 | CHAR1 | ||||
KUANZ | flag whether system is to display customer in MD04 | KUANZ | CHAR | 1 | CHAR1 | ||||
UEX1A | Flag: User exit 1 button has been activated (single lines) | UEX1A | CHAR | 1 | CHAR1 | ||||
UEX2A | Flag: User exit 2 button has been activated (single lines) | UEX2A | CHAR | 1 | CHAR1 | ||||
UEX3A | Flag: User exit 3 button has been activated (single lines) | UEX3A | CHAR | 1 | CHAR1 | ||||
UX1PA | Flag: User exit 1 button has been activated (Period totals) | UX1PA | CHAR | 1 | CHAR1 | ||||
UX2PA | Flag: User exit 2 button has been activated (Period totals) | UX2PA | CHAR | 1 | CHAR1 | ||||
UX3PA | Flag: User exit 3 button has been activated (Period totals) | UX3PA | CHAR | 1 | CHAR1 | ||||
KDSRT | Sort individual customer segments in MRP lists | KDSRT | CHAR | 2 | CHAR2 | ||||
WIRKS | Flag if active ingredient unit of measure columns are shown | WIRKS | CHAR | 1 | CHAR1 | ||||
WRKME | Unit of Measure for Display | MEINH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
WIRAK | Flag whether active ingred./product quantities mgmt active | WIRAK | CHAR | 1 | CHAR1 | ||||
WIRKF4 | Flag shows if F4 help for active ingredient mgmt was pressed | WIRKF4 | CHAR | 1 | CHAR1 | ||||
MEINH2 | Unit of Measure for Display | MEINH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
SMEKZ | Standard unit of measure | SMEKZ | NUMC | 2 | SMEKZ | ||||
WZFLG | Display end of total replenishment lead time | WZFLG | CHAR | 1 | XFELD | ||||
MTREE | Display Overview Tree | MTREE | CHAR | 1 | XFELD | ||||
ATREE | Hide/show planning segment tree at number of segments | ATREE | INT4 | 10 | ATREE | ||||
DFILT | Activate display filter and selection rule | DFILT | CHAR | 1 | XFELD | ||||
NAVPR | Navigation profile | NAVPR | CHAR | 10 | Assigned to domain | NAVPR | |||
PRREG | Checking Rule for Availability Check | PRREG | CHAR | 2 | Assigned to domain | PRREG | PRR | ||
ERGBZ | Selection rule | ERGBZ | CHAR | 8 | T462 | CHAR8 | |||
FILBZ | Name of display filter | FILBZ | CHAR | 8 | T463 | CHAR8 | |||
TREET | Tree type in MD04/MD05 | TREET | CHAR | 1 | TREET | ||||
KZMKA | Indicator: Several individual customer segments | KZMKA | CHAR | 1 | XFLAG | ||||
MEMFL | Read Order Report from Buffer | MD_MEM_ORDREP | CHAR | 1 | XFELD | ||||
ORDPR | Profile for Order Report | PROFID_ORD_REP | CHAR | 12 | PROFID_ORD_REP | PROFID | |||
MDATS | Display Tab Pages for Material Groupings | MDATS | CHAR | 1 | MDATS | ||||
MDNVM | Do Not Aggregate Quantity of Material Groupings | MDNVM | CHAR | 1 | XFLAG | ||||
MDKUM | No Stock Transfers in Cross-Plant View | MDKUM | CHAR | 1 | XFLAG | ||||
MDZGD | Identification of Grouped Display | MDZGD | CHAR | 2 | MD_MDZGD | ||||
.INCLU--AP | 0 | ||||||||
ADPIC_NO_AGGR | Do Not Display Aggregated Stock (MPN-MRP Set/Supersession) | ADPIC_D_MD04_NO_AGGR | CHAR | 1 | ADPIC_DOM_XFLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure MDST using ABAP code?
As MDST 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 MDST as there is no data to select.How to access SAP table MDST
Within an ECC or HANA version of SAP you can also view further information about MDST 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