VBPA SAP (Sales Document: Partner) Table details

Dictionary Type: Table
Description: Sales Document: Partner




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




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

VBPA is a standard SAP Table which is used to store Sales Document: Partner data and is available within R/3 SAP systems depending on the version and release level.

The VBPA table consists of various fields, each holding specific information or linking keys about Sales Document: Partner data available in SAP. These include VBELN (Sales and Distribution Document Number), POSNR (Item number of the SD document), PARVW (Partner Function), KUNNR (Customer Numbers).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP VBPA table 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

Key field Non-key field



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

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

SELECT SINGLE *
FROM VBPA
INTO CORRESPONDING FIELDS OF WA_VBPA
WHERE...

How to access SAP table VBPA

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