MDFA SAP (Generated Table for View) Table View details

Dictionary Type: Table View
Description: Generated Table for View




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




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
MANDTClient MANDTCLNT3T000MANDT
AUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
POSNROrder Item Number CO_POSNRNUMC4CO_POSNR
AFTYPOrder category AUFTYPNUMC2AUFTYP
AFARTOrder Type AUFARTCHAR4T003OAUFARTAAT
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
STATFIndicator: Order released/partially released (for MRP) CO_FREICHAR1CHAR1
DNRELIndicator: Order item not relevant for MRP CO_DNRELCHAR1CHAR1
MATNRMaterial Number for Order CO_MATNRCHAR18MARAMATN1MATNRMAT
PLWRKPlanning plant for the order CO_PWERKCHAR4T001WWERKS
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
PWWRKPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
BESKZProcurement Type BESKZCHAR1BESKZMBS
SOBESSpecial procurement type SOBESCHAR1SOBES
GSMNGOrder item quantity CO_PSMNGQUAN13(3) MENG13
WEMNGQuantity of goods received for the order item CO_WEMNGQUAN13(3) MENG13
PAMNGScrap quantity in item CO_PSAMGQUAN13(3) MENG13
IAMNGExpected surplus/deficit for goods receipt CO_IAMNGQUAN13(3) MENG13V
AMEINUnit of measure for in-house production CO_AUFMEUNIT3T006CUNITMEINS
MEINSBase Unit of Measure LAGMEUNIT3T006CUNITMEINS
UMREZNumerator for Conversion to Base Units of Measure UMREZDEC5UMBSZ
UMRENDenominator for conversion to base units of measure UMRENDEC5UMBSN
PEDTRBasic finish date CO_GLTRPDATS8DATUM
SEDTRScheduled finish CO_GLTRSDATS8DATUM
WEBAZGoods receipt processing time in days PLWEZDEC3DEC3
SERNRBOM explosion number SERNRCHAR8SNUMSERNR
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
KNTTPAccount Assignment Category KNTTPCHAR1T163KKNTTPKNT
SOBKZSpecial Stock Indicator SOBKZCHAR1T148SOBKZ
KZVBRConsumption Posting KZVBRCHAR1KZVBR
KDAUFSales order number CO_KDAUFCHAR10VBUKALPHAVBELNAUN
KDPOSSales order item CO_KDPOSNUMC6VBUPPOSNRAUP
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
PSPELWork breakdown structure element (WBS element) PS_PSP_ELENUMC8PRPSKONPRPS_POSNR
WEPOSGoods Receipt Indicator WEPOSCHAR1XFELD
SAFNRRun schedule header number SA_AUFNRCHAR12ALPHASA_AUFNR
VERIDProduction Version VERIDCHAR4VERIDVER
VERTOMRP Distribution Key SA_VERTLCHAR4T437VSA_VERTL
QUNUMNumber of Quota Arrangement QUNUMCHAR10ALPHAQUNUM
QUPOSQuota Arrangement Item QUPOSNUMC3NUM03
ARSNRSettlement reservation number ARSNRNUMC10MDNUM
ARSPSItem number of the settlement reservation ARSPSNUMC4RSPOS
NDISRInd.: Material in order item is not relevant for MRP CO_NDISRCHAR1CHAR1
VFMNGCommitted quantity for order acc. to ATP check components CO_VFMNGQUAN13(3) MENG13
GSBTROverall commitment date CO_GSBTRDATS8DATUM
CHARGBatch Number CHARG_DCHAR10MCHACHARGCHA
BWTARValuation Type BWTAR_DCHAR10T149DBWTARBWT
UNTTOUnderdelivery Tolerance Limit UNTTODEC3(1) PRZ21
TECHSParameter Variant/Standard Variant TECHSCHAR12TECHS
BERIDMRP Area BERIDCHAR10BERIDBERID
KRSNRNumber of Reservation/Dependent Requirement RSNUMNUMC10RSNUMRES
KRSPSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
INSMKStock Type INSMKCHAR1INSMK

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 table
DATA: 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 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!