VBAPF SAP (Order Item Flow: Dynamic Division) Structure details
Description: Order Item Flow: Dynamic Division
Structure field list including key, data, relationships and ABAP select examples
VBAPF 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 "Order Item Flow: Dynamic Division" 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_VBAPF TYPE VBAPF.
The VBAPF table consists of various fields, each holding specific information or linking keys about Order Item Flow: Dynamic Division data available in SAP. These include POSNR (Item number of the SD document), DUMMY (Single-Character Indicator), VBTYP (SD document category), REFKZ (Item was referenced).. 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 VBAPF 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 |
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | VBUP | POSNR | |||
DUMMY | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
REFKZ | Item was referenced | REFKZ | CHAR | 1 | XFELD | ||||
ERLMENGE | Quantity for completion (sales) in basic unit of measure | ERLMENGF | FLTP | 16(16) | RFMNG_FLO | ||||
ERLWERT | Value for completion | ERLWERT | CURR | 15(2) | WERTV8 | ||||
ERLWERT_WA | Value for completion | ERLWERT | CURR | 15(2) | WERTV8 | ||||
ERLMENGE_L | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
ERLMENGE_P | Quantity for completion (sales) in basic unit of measure | ERLMENGE | QUAN | 13(3) | MENG13 | ||||
ERLMENGE_F | Invoiced quantity in basic unit of measure | ERLMENGE_F | QUAN | 13(3) | MENG13 | ||||
FAKLMENG | Invoiced delivery quantity in base unit of measure | FAKLMENG | QUAN | 13(3) | MENG13 | ||||
AMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
BMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
CMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
DMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
EMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
FMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
GMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
HMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
IMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
JMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
KMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
LMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
MMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
NMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
OMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
PMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
QMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
RMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
RMENGE_P | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
RMENGE_NV_P | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
SMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
TMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
UMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
VMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
WMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
XMENGE | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
YMENGE | Completed quantity base UoM; 1st letter = sales doc. type | XMENGE | QUAN | 13(3) | MENG13 | ||||
ANZTAP | Number of transfer order items | ANZTAP | DEC | 5 | DEC5 | ||||
ANZQTAP | Number of confirmed transfer order items | ANZQTAP | DEC | 5 | DEC5 | ||||
ANZLFP | Number of delivery items | ANZLFP | DEC | 5 | DEC5 | ||||
ANZFKP | Number of billing items | ANZFKP | DEC | 5 | DEC5 | ||||
ANZFKP_IV | Number of billing items (inter-company billing) | ANZFKP_IV | DEC | 5 | DEC5 | ||||
ANZWAP | Number of goods issue items | ANZWAP | DEC | 5 | DEC5 | ||||
WEMNG | Quantity of goods received in base unit of measure | WEMENGE | QUAN | 13(3) | MENG13 | ||||
REMNG | Invoice receipt quantity in base unit of measure | REMENGE | QUAN | 13(3) | MENG13 | ||||
ANZLRP | No.of invoice lists | ANZLRP | DEC | 5 | DEC5 | ||||
ANZLGP | No.of credit memo lists | ANZLGP | DEC | 5 | DEC5 | ||||
REWRT | Invoice value in local currency | REWRT | CURR | 13(2) | WRTV7 | ||||
WEWRT | Value of goods received in local currency | WEWRT | CURR | 13(2) | WERT7 | ||||
BEWRT | Net value of purchasing document item in local currency | NEHWR | CURR | 15(2) | WERTV8 | ||||
ERLMENGEV | Completion quantity for sales (category F) in sales unit | ERLMENGFV | FLTP | 16(16) | RFMNG_FLO | ||||
ERLMENGELV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
ERLMENGEPV | Completed quantity for sales (category P) in sales unit | ERLMENGEV | QUAN | 13(3) | MENG13 | ||||
ERLMENGEFV | Invoiced quantity (P category) in sales unit | ERLMENGEFV | QUAN | 13(3) | MENG13 | ||||
FAKLMENGV | Billed delivery quantity (P category) in sales unit | FAKLMENGV | QUAN | 13(3) | MENG13 | ||||
AMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
BMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
CMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
DMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
EMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
FMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
GMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
HMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
IMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
JMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
KMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
LMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
MMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
NMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
OMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
PMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
QMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
RMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
RMENGE_PV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
RMENGE_NV_PV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
SMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
TMENGEV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
UMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
VMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
WMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
XMENGEV | Dummy | RFMNG_FLO | FLTP | 16(16) | RFMNG_FLO | ||||
YMENGEV | Compltd qty (category P) in sales unit; 1st place=VBAK-VBTYP | XMENGEV | QUAN | 13(3) | MENG13 | ||||
WEMNGV | Quantity of goods received (category P) in sales unit | WEMENGEV | QUAN | 13(3) | MENG13 | ||||
REMNGV | Invoiced receipt quantity (category P) in sales unit | REMENGEV | QUAN | 13(3) | MENG13 | ||||
PZMNG_SAV | Completd qty (category F) in sales unit;1st place=VBAK-VBTYP | XMENGE_FLTV | FLTP | 16(16) | RFMNG_FLO | ||||
ERLMENGEFV_IV | Invoiced quantity (P category) in sales unit | ERLMENGEFV | QUAN | 13(3) | MENG13 | ||||
NOQUANTITY | No quantity logic (document item without quantity) | NOQUANTITY | CHAR | 1 | XFELD | ||||
ANZWAP_EX | Number of external goods issue items | ANZWAP_EX | DEC | 5 | DEC5 | ||||
ANZWAP_EX_QGT0 | Number of ext. goods issue items with quantity > 0 | ANZWAP_EX_QGT0 | DEC | 5 | DEC5 | ||||
ANZWAP_EX_MAIN | Number of ext. goods issue items with item number < 900000 | ANZWAP_EX_MAIN | DEC | 5 | DEC5 | ||||
QMENGE_F | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
PZMNG_SA | Referenced quantity in base unit of measure (float) | RFMNG_FLT | FLTP | 16(16) | RFMNG_FLO | ||||
ERLMENGE_F_IV | Invoiced quantity in basic unit of measure | ERLMENGE_F | QUAN | 13(3) | MENG13 | ||||
ANZFKP_NE | Number of Billing Items in Prov. or Diff. Billing Document | ANZFKP_NE | DEC | 5 | DEC5 | ||||
ANZFKP_IV_NE | Number of ICB Items in Provisional or Differential Invoice | ANZFKP_IV_NE | DEC | 5 | DEC5 | ||||
.INCLU--AP | 0 | ||||||||
ERLMENGE_S | Invoiced quantity in basic unit of measure | ERLMENGE_F | QUAN | 13(3) | MENG13 | ||||
.INCLU--AP | 0 | ||||||||
ERLWERT_F | Value for completion | ERLWERT | CURR | 15(2) | WERTV8 | ||||
WAERK | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS |
Key field | Non-key field |
How do I retrieve data from SAP structure VBAPF using ABAP code?
As VBAPF 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 VBAPF as there is no data to select.How to access SAP table VBAPF
Within an ECC or HANA version of SAP you can also view further information about VBAPF 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