VFAPW SAP (Generated Table for View) Table View details

Dictionary Type: Table View
Description: Generated Table for View




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




Table View field list including key, data, relationships and ABAP select examples

VFAPW 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 VFAPW table consists of various fields, each holding specific information or linking keys about Generated Table for View data available in SAP. These include MATNR (Material Number), PWWRK (Production plant in planned order), AUFNR (Order Number), POSNR (Order Item Number).. 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 VFAPW 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 MANDTCLNT3MANDT
MATNRMaterial Number MATNRCHAR18MATN1MATNRMATS_MAT1
PWWRKProduction plant in planned order PWWRKCHAR4WERKS
AUFNROrder Number AUFNRCHAR12AFPOALPHAAUFNRANR
POSNROrder Item Number CO_POSNRNUMC4CO_POSNR
PLWRKPlanning plant for the order CO_PWERKCHAR4T001WWERKS
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
AFTYPOrder category AUFTYPNUMC2AUFTYP
AFARTOrder Type AUFARTCHAR4T003OAUFARTAAT
DNRELIndicator: Order item not relevant for MRP CO_DNRELCHAR1CHAR1
DFREIIndicator: Order released/partially released (for MRP) CO_FREICHAR1CHAR1
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
PEDTRBasic finish date CO_GLTRPDATS8DATUM
PSTTRScheduled 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
PROJNWork breakdown structure element (WBS element) PS_PSP_ELENUMC8PRPSKONPRPS_POSNR
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
BESKZProcurement Type BESKZCHAR1BESKZMBS
SOBESSpecial procurement type SOBESCHAR1SOBES
WEPOSGoods Receipt Indicator WEPOSCHAR1XFELD
SAFNRRun schedule header number SA_AUFNRCHAR12ALPHASA_AUFNR
VERIDProduction Version VERIDCHAR4VERIDVER
VERTOMRP Distribution Key SA_VERTLCHAR4SA_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

Key field Non-key field



How do I retrieve data from SAP table VFAPW using ABAP code

The following ABAP code Example will allow you to do a basic selection on VFAPW to SELECT all data from the table
DATA: WA_VFAPW TYPE VFAPW.

SELECT SINGLE *
FROM VFAPW
INTO CORRESPONDING FIELDS OF WA_VFAPW
WHERE...

How to access SAP table VFAPW

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