VFAPW 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
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 |
MANDT | Client | MANDT | CLNT | 3 | MANDT | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MATN1 | MATNR | MAT | S_MAT1 | |
PWWRK | Production plant in planned order | PWWRK | CHAR | 4 | WERKS | ||||
AUFNR | Order Number | AUFNR | CHAR | 12 | AFPO | ALPHA | AUFNR | ANR | |
POSNR | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
PLWRK | Planning plant for the order | CO_PWERK | CHAR | 4 | T001W | WERKS | |||
LGORT | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
AFTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
AFART | Order Type | AUFART | CHAR | 4 | T003O | AUFART | AAT | ||
DNREL | Indicator: Order item not relevant for MRP | CO_DNREL | CHAR | 1 | CHAR1 | ||||
DFREI | Indicator: Order released/partially released (for MRP) | CO_FREI | CHAR | 1 | CHAR1 | ||||
ELIKZ | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
PEDTR | Basic finish date | CO_GLTRP | DATS | 8 | DATUM | ||||
PSTTR | 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 | ||||
PROJN | Work breakdown structure element (WBS element) | PS_PSP_ELE | NUMC | 8 | PRPS | KONPR | PS_POSNR | ||
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 | ||||
BESKZ | Procurement Type | BESKZ | CHAR | 1 | BESKZ | MBS | |||
SOBES | Special procurement type | SOBES | CHAR | 1 | SOBES | ||||
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 | 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 |
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 tableDATA: 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 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