MDST SAP (Control string for stock/requirements situation) Structure details

Dictionary Type: Structure
Description: Control string for stock/requirements situation




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




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
ANZEIScreen combination in MRP lists INCMDCHAR8CHAR8
PRASTPeriod split PRASTCHAR5T449APRAST
KZSUMMDUSX indicator KZSUMCHAR1CHAR1
INPERInternal period indicator INPERCHAR1CHAR1
MRPPPPPC planning calendar MRPPPCHAR3Assigned to domainMRPPP
ABKZGIndicator for segment selection ABKZGCHAR1CHAR1
TRKZGTransaction indicator TRKZGCHAR1CHAR1
VRFWECheckbox XFELDCHAR1XFELD
BEDVLCheckbox XFELDCHAR1XFELD
KZATPATP indicator KZATPCHAR1CHAR1
KZUMTRescheduling indicator KZUMTCHAR1CHAR1
XLINELine index for internal table processing XLINEINT410XLINE
SBZKZChanges to grouping of dependent requirements SBZKZCHAR1CHAR1
MEINHUnit of Measure for Display MEINHUNIT3Assigned to domainCUNITMEINS
GROKODetailed or standard header in MRP list GROKOCHAR1XFELD
LIANZFlag whether system is to display vendor LIANZCHAR1CHAR1
KUANZflag whether system is to display customer in MD04 KUANZCHAR1CHAR1
UEX1AFlag: User exit 1 button has been activated (single lines) UEX1ACHAR1CHAR1
UEX2AFlag: User exit 2 button has been activated (single lines) UEX2ACHAR1CHAR1
UEX3AFlag: User exit 3 button has been activated (single lines) UEX3ACHAR1CHAR1
UX1PAFlag: User exit 1 button has been activated (Period totals) UX1PACHAR1CHAR1
UX2PAFlag: User exit 2 button has been activated (Period totals) UX2PACHAR1CHAR1
UX3PAFlag: User exit 3 button has been activated (Period totals) UX3PACHAR1CHAR1
KDSRTSort individual customer segments in MRP lists KDSRTCHAR2CHAR2
WIRKSFlag if active ingredient unit of measure columns are shown WIRKSCHAR1CHAR1
WRKMEUnit of Measure for Display MEINHUNIT3Assigned to domainCUNITMEINS
WIRAKFlag whether active ingred./product quantities mgmt active WIRAKCHAR1CHAR1
WIRKF4Flag shows if F4 help for active ingredient mgmt was pressed WIRKF4CHAR1CHAR1
MEINH2Unit of Measure for Display MEINHUNIT3Assigned to domainCUNITMEINS
SMEKZStandard unit of measure SMEKZNUMC2SMEKZ
WZFLGDisplay end of total replenishment lead time WZFLGCHAR1XFELD
MTREEDisplay Overview Tree MTREECHAR1XFELD
ATREEHide/show planning segment tree at number of segments ATREEINT410ATREE
DFILTActivate display filter and selection rule DFILTCHAR1XFELD
NAVPRNavigation profile NAVPRCHAR10Assigned to domainNAVPR
PRREGChecking Rule for Availability Check PRREGCHAR2Assigned to domainPRREGPRR
ERGBZSelection rule ERGBZCHAR8T462CHAR8
FILBZName of display filter FILBZCHAR8T463CHAR8
TREETTree type in MD04/MD05 TREETCHAR1TREET
KZMKAIndicator: Several individual customer segments KZMKACHAR1XFLAG
MEMFLRead Order Report from Buffer MD_MEM_ORDREPCHAR1XFELD
ORDPRProfile for Order Report PROFID_ORD_REPCHAR12PROFID_ORD_REPPROFID
MDATSDisplay Tab Pages for Material Groupings MDATSCHAR1MDATS
MDNVMDo Not Aggregate Quantity of Material Groupings MDNVMCHAR1XFLAG
MDKUMNo Stock Transfers in Cross-Plant View MDKUMCHAR1XFLAG
MDZGDIdentification of Grouped Display MDZGDCHAR2MD_MDZGD
.INCLU--AP 0
ADPIC_NO_AGGRDo Not Display Aggregated Stock (MPN-MRP Set/Supersession) ADPIC_D_MD04_NO_AGGRCHAR1ADPIC_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 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!