MDCD SAP (Planned order data that can be changed via action) Structure details

Dictionary Type: Structure
Description: Planned order data that can be changed via action




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




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

MDCD 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 "Planned order data that can be changed via action" 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_MDCD TYPE MDCD.

The MDCD table consists of various fields, each holding specific information or linking keys about Planned order data that can be changed via action data available in SAP. These include AVMNG (Fixed quantity of scrap from production), MEINS (Base Unit of Measure), PSTTR (Order start date in planned order), PEDTR (Order finish date in the planned order).. 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 MDCD 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
GSMNGTotal planned order quantity GSMNGQUAN13(3) MENG13
AVMNGFixed quantity of scrap from production AVMNGQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
PSTTROrder start date in planned order PSTTRDATS8DATUM
PEDTROrder finish date in the planned order PEDTRDATS8DATUM
PERTRPlanned opening date in planned order PERTRDATS8DATUM
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
SEQNRSeq. number order CY_SEQNRNUMC14CY_SEQNR
PAFIXCheckbox XFELDCHAR1XFELD
PAFXLCheckbox XFELDCHAR1XFELD
PSFIXCheckbox XFELDCHAR1XFELD
PSFXLCheckbox XFELDCHAR1XFELD
PWWRKProduction plant in planned order PWWRKCHAR4Assigned to domainWERKS
SERNRBOM explosion number SERNRCHAR8Assigned to domainSERNR
BUDATPosting Date in the Document BUDATDATS8DATUM
BLDATDocument Date in Document BLDATDATS8DATUM
BKTXTDocument Header Text BKTXTCHAR25TEXT25
ALORTReceiving storage location for repetitive manufacturing ALORTCHAR4Assigned to domainLGORT
ACHARGReceiving batch for repetitive manufacturing SA_CHARGCHAR10Assigned to domainCHARG
ERFMGBackflush quantity in repetitive manufacturing SA_ERFMGQUAN13(3) MENG13
ERFMEUnit of measure for backflush quantity and for actual scrap SA_ERFMEUNIT3Assigned to domainCUNITMEINS
AUSMGScrap quantity SA_MNG04QUAN13(3) MENG13
GRUNDReason for scrap SA_GRUNDCHAR4Assigned to domainCO_AGRND

Key field Non-key field



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

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

How to access SAP table MDCD

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