VBPAVB SAP (Reference structure for XVBPA/YVBPA) Structure details

Dictionary Type: Structure
Description: Reference structure for XVBPA/YVBPA




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




Structure field list including key, data, relationships and ABAP select examples

VBPAVB 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 "Reference structure for XVBPA/YVBPA" 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_VBPAVB TYPE VBPAVB.

The VBPAVB table consists of various fields, each holding specific information or linking keys about Reference structure for XVBPA/YVBPA data available in SAP. These include MANDT (Client), VBELN (Sales and Distribution Document Number), POSNR (Item number of the SD document), PARVW (Partner Function).. 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 VBPAVB 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
MANDTClient MANDTCLNT3T000MANDT
VBELNSales and Distribution Document Number VBELNCHAR10VBUKALPHAVBELNAUN
POSNRItem number of the SD document POSNRNUMC6VBUPPOSNR
PARVWPartner Function PARVWCHAR2TPARPARVWPARVWPAR
KUNNRCustomer Numbers KUNNRCHAR10KNA1ALPHAKUNNRKUNC_KUNNR
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
PARNRNumber of contact person PARNRNUMC10PARNRVPA
ADRNRAddress ADRNRCHAR10Assigned to domainALPHAADRNR
ABLADUnloading Point ABLADCHAR25TEXT25
LAND1Country Key LAND1CHAR3T005LAND1LND
ADRDAAddress indicator ADRDACHAR1ADRDA
XCPDKIndicator: Is the account a one-time account? XCPDKCHAR1XFELD
HITYPCustomer hierarchy type HITYP_KHCHAR1THITHITYP
PRFRERelevant for price determination ID PRFRECHAR1XFELD
BOKREIndicator: Customer Is Rebate-Relevant BOKRECHAR1XFELD
HISTUNRLevel number within hierarchy HISTUNRNUMC2NUM2
KNREFCustomer description of partner (plant, storage location) KNREFCHAR30KNREFKNREF
LZONETransportation zone to or from which the goods are delivered LZONECHAR10Assigned to domainZONE
HZUORAssignment to Hierarchy HZUORNUMC2HZUOR
STCEGVAT Registration Number STCEGCHAR20STCEG
PARVW_FFIndicator 'further partners in this function' (VBPA2) PARTNER_FFCHAR1XFELD
ADRNPPerson number AD_PERSNUMCHAR10ADRPALPHAAD_PERSNUMCDTADDRESS
KALEMaintain appointments in calendar KALECHAR1KALE
UPDKZUpdate indicator UPDKZ_DCHAR1UPDKZ
NAME1Name 1 NAME1_GPCHAR35NAME
NRARTType of partner number NRARTCHAR2TVPANRART
FEHGRIncompletion procedure for sales document FEHGRCHAR2TVUVFEHGR
SPRASLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
TELFXFax Number TELFXCHAR31TEXT31
TELTXTeletex number TELTXCHAR30TEXT30
TELX1Telex number TELX1CHAR30TEXT30
CNTPACounter for partner functions CNT_PARVWNUMC6INT6
REFOBJTYPEObject Type SWO_OBJTYPCHAR10Assigned to domainOJ_NAMEOBJ
REFOBJKEYObject key SWO_TYPEIDCHAR70SWO_TYPEID
REFLOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
STCD1Tax Number 1 STCD1CHAR16STCD1
STCD2Tax Number 2 STCD2CHAR11STCD2
STCD3Tax Number 3 STCD3CHAR18CHAR18
STCD4Tax Number 4 STCD4CHAR18CHAR18
STKZNNatural Person STKZNCHAR1STKZN
STCDTTax Number Type J_1ATOIDCHAR2Assigned to domainJ_1ATOID
J_1KFREPREName of Representative REPRESCHAR10REPRES
J_1KFTBUSType of Business GESTYPCHAR30Assigned to domainGESTYP
J_1KFTINDType of Industry INDTYPCHAR30Assigned to domainINDTYP

Key field Non-key field



How do I retrieve data from SAP structure VBPAVB using ABAP code?

As VBPAVB 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 VBPAVB as there is no data to select.

How to access SAP table VBPAVB

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