MDCD SAP (Planned order data that can be changed via action) Structure details
Description: Planned order data that can be changed via action
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 |
GSMNG | Total planned order quantity | GSMNG | QUAN | 13(3) | MENG13 | ||||
AVMNG | Fixed quantity of scrap from production | AVMNG | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PSTTR | Order start date in planned order | PSTTR | DATS | 8 | DATUM | ||||
PEDTR | Order finish date in the planned order | PEDTR | DATS | 8 | DATUM | ||||
PERTR | Planned opening date in planned order | PERTR | DATS | 8 | DATUM | ||||
VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
SEQNR | Seq. number order | CY_SEQNR | NUMC | 14 | CY_SEQNR | ||||
PAFIX | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
PAFXL | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
PSFIX | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
PSFXL | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
PWWRK | Production plant in planned order | PWWRK | CHAR | 4 | Assigned to domain | WERKS | |||
SERNR | BOM explosion number | SERNR | CHAR | 8 | Assigned to domain | SERNR | |||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BLDAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
BKTXT | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
ALORT | Receiving storage location for repetitive manufacturing | ALORT | CHAR | 4 | Assigned to domain | LGORT | |||
ACHARG | Receiving batch for repetitive manufacturing | SA_CHARG | CHAR | 10 | Assigned to domain | CHARG | |||
ERFMG | Backflush quantity in repetitive manufacturing | SA_ERFMG | QUAN | 13(3) | MENG13 | ||||
ERFME | Unit of measure for backflush quantity and for actual scrap | SA_ERFME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
AUSMG | Scrap quantity | SA_MNG04 | QUAN | 13(3) | MENG13 | ||||
GRUND | Reason for scrap | SA_GRUND | CHAR | 4 | Assigned to domain | CO_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 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