VVBAK SAP (Sales Document: Header Data) Table details

Dictionary Type: Table
Description: Sales Document: Header Data




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




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

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

The VVBAK table consists of various fields, each holding specific information or linking keys about Sales Document: Header Data data available in SAP. These include VBELN (Sales Document), ERDAT (Date on Which Record Was Created), ERZET (Entry time), ERNAM (Name of Person who Created the Object).. 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: Not classified


SAP VVBAK 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 Document VBELN_VACHAR10VBUKALPHAVBELNAUN
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERZETEntry time ERZETTIMS6UZEIT
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ANGDTQuotation/Inquiry is valid from ANGDT_VDATS8DATUM
BNDDTDate until which bid/quotation is binding (valid-to date) BNDDTDATS8DATUM
AUDATDocument Date (Date Received/Sent) AUDATDATS8DATUM
VBTYPSD document category VBTYPCHAR1VBTYP
TRVOGTransaction group TRVOGCHAR1TRVOGVTV
AUARTSales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
AUGRUOrder reason (reason for the business transaction) AUGRUCHAR3TVAUAUGRU
GWLDTWarranty Date GWLDTDATS8DATUM
SUBMICollective number (SD) SUBMI_SDCHAR10CHAR10
LIFSKDelivery block (document header) LIFSKCHAR2TVLSLIFSP
FAKSKBilling block in SD document FAKSKCHAR2TVFSFAKSP
NETWRNet Value of the Sales Order in Document Currency NETWR_AKCURR15(2) WERTV8
WAERKSD Document Currency WAERKCUKY5TCURCWAERSFWS
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVKOVVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TVTASPARTSPAC_SPART
VKGRPSales Group VKGRPCHAR3TVBVKVKGRPVKG
VKBURSales Office VKBURCHAR4TVKBZVKBURVKB
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
GSKSTBusiness area from cost center GSKSTCHAR4TGSBGSBER
GUEBGValid-from date (outline agreements, product proposals) GUEBGDATS8DATUM
GUEENValid-to date (outline agreements, product proposals) GUEENDATS8DATUM
KNUMVNumber of the document condition KNUMVCHAR10KNUMV
VDATURequested delivery date EDATU_VBAKDATS8DATUM
VPRGRProposed date type PRGRS_VBAKCHAR1PRGRS
AUTLFComplete delivery defined for each sales order? AUTLFCHAR1XFELD
VBKLAOriginal system with release and transaction control VBKLACHAR9CHAR9
VBKLTSD document indicator VBKLTCHAR1VBKLT
KALSMSales and Distribution: Pricing Procedure in Pricing KALSMASDCHAR6T683KALSM
VSBEDShipping Conditions VSBEDCHAR2TVSBVSBED
FKARAProposed billing type for an order-related billing document FKARACHAR4TVFKFKART
AWAHRSales probability AWAHR_AKNUMC3AWAHR
KTEXTSearch term for product proposal KTEXT_VCHAR40TEXT40
BSTNKCustomer purchase order number BSTNKCHAR20BSTNK
BSARKCustomer purchase order type BSARKCHAR4T176BSARK
BSTDKCustomer purchase order date BSTDKDATS8DATUM
BSTZDPurchase order number supplement BSTZDCHAR4BSTZD
IHREZYour Reference IHREZCHAR12TEXT12
BNAMEName of orderer BNAME_VCHAR35NAME
TELF1Telephone Number TELF1_VPCHAR16TELF1
MAHZANumber of contacts from the customer MAHZADEC3PACK2
MAHDTLast customer contact date MAHDTDATS8DATUM
KUNNRSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
STAFOUpdate group for statistics update STAFOCHAR6Assigned to domainALPHASTAFOMCF
STWAEStatistics currency STWAECUKY5TCURCWAERS
AEDATChanged On AEDATDATS8DATUM
KVGR1Customer group 1 KVGR1CHAR3TVV1KVGR1
KVGR2Customer group 2 KVGR2CHAR3TVV2KVGR2
KVGR3Customer group 3 KVGR3CHAR3TVV3KVGR3
KVGR4Customer group 4 KVGR4CHAR3TVV4KVGR4
KVGR5Customer group 5 KVGR5CHAR3TVV5KVGR5
KNUMAAgreement (various conditions grouped together) KNUMACHAR10KONAALPHAKNUMAVMBO
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8PRPSKONPRPS_POSNR
KURSTExchange Rate Type KURSTCHAR4TCURVKURSTKUT
KKBERCredit control area KKBERCHAR4T014KKBERKKB
KNKLICustomer's account number with credit limit reference KNKLICHAR10KNA1ALPHAKUNNR
GRUPPCustomer Credit Group GRUPP_CMCHAR4Assigned to domainGRUPP_CM
SBGRPCredit representative group for credit management SBGRP_CMCHAR3T024BSBGRP_CMKBG
CTLPCCredit management: Risk category CTLPC_CMCHAR3T691ACTLPC_CM
CMWAECurrency key of credit control area WAERS_CMCUKY5TCURCWAERS
CMFRERelease date of the document determined by credit management CMFREDATS8DATUM
CMNUPDate of next credit check of document CMNUPDATS8DATUM
CMNGVNext date CMNGVDATS8DATUM
AMTBLReleased credit value of the document AMTBL_CMCURR15(2) WERTV8
HITYP_PRHierarchy type for pricing HITYP_PRCHAR1THITHITYP
ABRVWUsage Indicator ABRVWCHAR3TVLVABRVW
ABDISMRP for delivery schedule types ABDISCHAR1ABRAB
VGBELDocument number of the reference document VGBELCHAR10VBUKALPHAVBELN
OBJNRObject number at header level OBJKOCHAR22ONR00J_OBJNR
BUKRS_VFCompany code to be billed BUKRS_VFCHAR4T001BUKRSBUK
TAXK1Alternative tax classification TAXK1_AKCHAR1Assigned to domainTAXKD
TAXK2Tax classification 2 for customer TAXK2CHAR1Assigned to domainTAXKD
TAXK3Tax classification 3 for customer TAXK3CHAR1Assigned to domainTAXKD
TAXK4Tax Classification 4 Customer TAXK4CHAR1Assigned to domainTAXKD
TAXK5Tax classification 5 for customer TAXK5CHAR1Assigned to domainTAXKD
TAXK6Tax classification 6 for customer TAXK6CHAR1Assigned to domainTAXKD
TAXK7Tax classification 7 for customer TAXK7CHAR1Assigned to domainTAXKD
TAXK8Tax classification 8 for customer TAXK8CHAR1Assigned to domainTAXKD
TAXK9Tax classification 9 for customer TAXK9CHAR1Assigned to domainTAXKD
XBLNRReference Document Number XBLNR_VCHAR16XBLNR
ZUONRAssignment number ORDNR_VCHAR18ZUONR
VGTYPDocument category of preceding SD document VBTYP_VCHAR1VBTYP
KALSM_CHSearch procedure for batch determination KALSMA_CHCHAR6T683KALSM
AGRZRAccrual period for order-related billing docs.to be accrued AGRZRNUMC2NUM2
AUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
QMNUMNotification No QMNUMCHAR12QMELALPHAQMNUMIQM
VBELN_GRPMster contract number VBELN_GRPCHAR10Assigned to domainALPHAVBELN
SCHEME_GRPReferencing requirement: Procedure SCHEME_GRPCHAR4TVGRPSSCHEME_GRP
ABRUF_PARTCheck partner authorizations ABRUF_PARTCHAR1ABRUF_PART
ABHODPick up date ABHODDATS8DATUM
ABHOVPick up time ABHOZTIMS6UZEIT
ABHOBPick up time ABHOZTIMS6UZEIT
RPLNRNumber of payment card plan type RPLNRCHAR10FPLAFPLNR
VZEITProposed schedule line time (local with ref. to sales org.) EZEIT_VBAKTIMS6TIME_SAORG
STCEG_LTax Destination Country LAND1TXCHAR3T005LAND1LND
LANDTXTax departure country LANDTXCHAR3T005LAND1LND
XEGDRIndicator: Triangular deal within the EU ? XEGDRCHAR1XFELD
ENQUEUE_GRPBlock master contr. until all lower level contracts updated ENQUEUE_GRPCHAR1ENQUEUE_GRP
DAT_FZAUCml delivery order qty date DAT_FZAUDATS8DATUM
FMBDATMaterial Staging/Availability Date MBDATDATS8DATUM
VSNMR_VSales document version number VSNMR_VCHAR12VSNMR
HANDLEInternational unique key for VBAK-VBELN TSEGGUID_VBAKCHAR22SYSUUID_22
PROLIDangerous Goods Management Profile in SD Documents ADGE_PROLICHAR3TDGC5ADGD_PROLITDGC5_PROLI_01
CONT_DGIndicator: Document contains dangerous goods ADGE_NCDGCHAR1X

Key field Non-key field



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

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

SELECT SINGLE *
FROM VVBAK
INTO CORRESPONDING FIELDS OF WA_VVBAK
WHERE...

How to access SAP table VVBAK

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