MDFA SAP (Generated Table for View) Table View details
Dictionary Type: Table View
Description: Generated Table for View
Description: Generated Table for View
Table View field list including key, data, relationships and ABAP select examples
MDFA is a standard SAP Table View which is used to store Generated Table for View data and is available within R/3 SAP systems depending on the version and release level.
The MDFA table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include AUFNR (Order Number), POSNR (Order Item Number), AFTYP (Order category), AFART (Order Type).. 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: Not classified
SAP MDFA table view 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
POSNR | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
AFTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
AFART | Order Type | AUFART | CHAR | 4 | T003O | AUFART | AAT | ||
ELIKZ | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
STATF | Indicator: Order released/partially released (for MRP) | CO_FREI | CHAR | 1 | CHAR1 | ||||
DNREL | Indicator: Order item not relevant for MRP | CO_DNREL | CHAR | 1 | CHAR1 | ||||
MATNR | Material Number for Order | CO_MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
PLWRK | Planning plant for the order | CO_PWERK | CHAR | 4 | T001W | WERKS | |||
LGORT | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
PWWRK | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
BESKZ | Procurement Type | BESKZ | CHAR | 1 | BESKZ | MBS | |||
SOBES | Special procurement type | SOBES | CHAR | 1 | SOBES | ||||
GSMNG | Order item quantity | CO_PSMNG | QUAN | 13(3) | MENG13 | ||||
WEMNG | Quantity of goods received for the order item | CO_WEMNG | QUAN | 13(3) | MENG13 | ||||
PAMNG | Scrap quantity in item | CO_PSAMG | QUAN | 13(3) | MENG13 | ||||
IAMNG | Expected surplus/deficit for goods receipt | CO_IAMNG | QUAN | 13(3) | MENG13V | ||||
AMEIN | Unit of measure for in-house production | CO_AUFME | UNIT | 3 | T006 | CUNIT | MEINS | ||
MEINS | Base Unit of Measure | LAGME | UNIT | 3 | T006 | CUNIT | MEINS | ||
UMREZ | Numerator for Conversion to Base Units of Measure | UMREZ | DEC | 5 | UMBSZ | ||||
UMREN | Denominator for conversion to base units of measure | UMREN | DEC | 5 | UMBSN | ||||
PEDTR | Basic finish date | CO_GLTRP | DATS | 8 | DATUM | ||||
SEDTR | Scheduled finish | CO_GLTRS | DATS | 8 | DATUM | ||||
WEBAZ | Goods receipt processing time in days | PLWEZ | DEC | 3 | DEC3 | ||||
SERNR | BOM explosion number | SERNR | CHAR | 8 | SNUM | SERNR | |||
CUOBJ | Configuration (internal object number) | CUOBJ | NUMC | 18 | CUOBJ | CUX | |||
KNTTP | Account Assignment Category | KNTTP | CHAR | 1 | T163K | KNTTP | KNT | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | T148 | SOBKZ | |||
KZVBR | Consumption Posting | KZVBR | CHAR | 1 | KZVBR | ||||
KDAUF | Sales order number | CO_KDAUF | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
KDPOS | Sales order item | CO_KDPOS | NUMC | 6 | VBUP | POSNR | AUP | ||
KDEIN | Delivery Schedule for Sales Order | KDEIN | NUMC | 4 | NUM04 | ||||
PSPEL | Work breakdown structure element (WBS element) | PS_PSP_ELE | NUMC | 8 | PRPS | KONPR | PS_POSNR | ||
WEPOS | Goods Receipt Indicator | WEPOS | CHAR | 1 | XFELD | ||||
SAFNR | Run schedule header number | SA_AUFNR | CHAR | 12 | ALPHA | SA_AUFNR | |||
VERID | Production Version | VERID | CHAR | 4 | VERID | VER | |||
VERTO | MRP Distribution Key | SA_VERTL | CHAR | 4 | T437V | SA_VERTL | |||
QUNUM | Number of Quota Arrangement | QUNUM | CHAR | 10 | ALPHA | QUNUM | |||
QUPOS | Quota Arrangement Item | QUPOS | NUMC | 3 | NUM03 | ||||
ARSNR | Settlement reservation number | ARSNR | NUMC | 10 | MDNUM | ||||
ARSPS | Item number of the settlement reservation | ARSPS | NUMC | 4 | RSPOS | ||||
NDISR | Ind.: Material in order item is not relevant for MRP | CO_NDISR | CHAR | 1 | CHAR1 | ||||
VFMNG | Committed quantity for order acc. to ATP check components | CO_VFMNG | QUAN | 13(3) | MENG13 | ||||
GSBTR | Overall commitment date | CO_GSBTR | DATS | 8 | DATUM | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | MCHA | CHARG | CHA | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | T149D | BWTAR | BWT | ||
UNTTO | Underdelivery Tolerance Limit | UNTTO | DEC | 3(1) | PRZ21 | ||||
TECHS | Parameter Variant/Standard Variant | TECHS | CHAR | 12 | TECHS | ||||
BERID | MRP Area | BERID | CHAR | 10 | BERID | BERID | |||
KRSNR | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | RSNUM | RES | |||
KRSPS | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
INSMK | Stock Type | INSMK | CHAR | 1 | INSMK |
Key field | Non-key field |
How do I retrieve data from SAP table MDFA using ABAP code
The following ABAP code Example will allow you to do a basic selection on MDFA to SELECT all data from the tableDATA: WA_MDFA TYPE MDFA.
SELECT SINGLE *
FROM MDFA
INTO CORRESPONDING FIELDS OF WA_MDFA
WHERE...
How to access SAP table MDFA
Within an ECC or HANA version of SAP you can also view further information about MDFA 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