SAP VSVBAK_CN Version: Sales document: Header data Table data and field list

VSVBAK_CN is a standard SAP Table which is used to store Version: Sales document: Header data data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The VSVBAK_CN table consists of various fields, each holding specific information or linking keys about Version: Sales document: Header data data available in SAP. These include VSNMR (Number or description of a version), VBELN (Sales Document), ERDAT (Date on Which Record Was Created), ERZET (Entry time)... 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. .

VSVBAK_CN table Technical Details:

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 VSVBAK_CN table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the VSVBAK_CN table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3Assigned to domainMANDT
VSNMRNumber or description of a version VSNMRCHAR12VSNMRVS2
VBELNSales Document VBELN_VACHAR10Assigned to domainALPHAVBELNAUN
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 AUARTCHAR4Assigned to domainAUARTAUARTAAT
AUGRUOrder reason (reason for the business transaction) AUGRUCHAR3Assigned to domainAUGRU
GWLDTWarranty Date GWLDTDATS8DATUM
SUBMICollective Number SUBMICHAR10CHAR10
LIFSKDelivery block (document header) LIFSKCHAR2Assigned to domainLIFSP
FAKSKBilling block in SD document FAKSKCHAR2Assigned to domainFAKSP
NETWRNet Value of the Sales Order in Document Currency NETWR_AKCURR15(2) WERTV8
WAERKSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS
VKORGSales Organization VKORGCHAR4Assigned to domainVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2Assigned to domainVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
VKGRPSales Group VKGRPCHAR3Assigned to domainVKGRPVKG
VKBURSales Office VKBURCHAR4Assigned to domainVKBURVKB
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
GSKSTBusiness area from cost center GSKSTCHAR4Assigned to domainGSBER
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 KALSMASDCHAR6Assigned to domainKALSM
VSBEDShipping Conditions VSBEDCHAR2Assigned to domainVSBED
FKARAProposed billing type for an order-related billing document FKARACHAR4Assigned to domainFKART
AWAHRSales probability AWAHR_AKNUMC3AWAHR
KTEXTSearch term for product proposal KTEXT_VCHAR40TEXT40
BSTNKCustomer purchase order number BSTNKCHAR20BSTNK
BSARKCustomer purchase order type BSARKCHAR4Assigned to domainBSARK
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 KUNAGCHAR10Assigned to domainALPHAKUNNRVAG
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
STAFOUpdate group for statistics update STAFOCHAR6Assigned to domainALPHASTAFOMCF
STWAEStatistics currency STWAECUKY5Assigned to domainWAERS
AEDATChanged On AEDATDATS8DATUM
KVGR1Customer group 1 KVGR1CHAR3Assigned to domainKVGR1
KVGR2Customer group 2 KVGR2CHAR3Assigned to domainKVGR2
KVGR3Customer group 3 KVGR3CHAR3Assigned to domainKVGR3
KVGR4Customer group 4 KVGR4CHAR3Assigned to domainKVGR4
KVGR5Customer group 5 KVGR5CHAR3Assigned to domainKVGR5
KNUMAAgreement (various conditions grouped together) KNUMACHAR10Assigned to domainALPHAKNUMAVMBO
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
KURSTExchange Rate Type KURSTCHAR4Assigned to domainKURSTKUT
KKBERCredit control area KKBERCHAR4Assigned to domainKKBERKKB
KNKLICustomer's account number with credit limit reference KNKLICHAR10Assigned to domainALPHAKUNNR
GRUPPCustomer Credit Group GRUPP_CMCHAR4Assigned to domainGRUPP_CM
SBGRPCredit representative group for credit management SBGRP_CMCHAR3Assigned to domainSBGRP_CMKBG
CTLPCCredit management: Risk category CTLPC_CMCHAR3Assigned to domainCTLPC_CM
CMWAECurrency key of credit control area WAERS_CMCUKY5Assigned to domainWAERS
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_PRCHAR1Assigned to domainHITYP
ABRVWUsage Indicator ABRVWCHAR3Assigned to domainABRVW
ABDISMRP for delivery schedule types ABDISCHAR1ABRAB
VGBELDocument number of the reference document VGBELCHAR10Assigned to domainALPHAVBELN
OBJNRObject number at header level OBJKOCHAR22Assigned to domainJ_OBJNR
BUKRS_VFCompany code to be billed BUKRS_VFCHAR4Assigned to domainBUKRSBUK
TAXK1Tax classification 1 for customer TAXK1CHAR1Assigned 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_V1CHAR16XBLNR1
ZUONRAssignment number ORDNR_VCHAR18ZUONR
VGTYPDocument category of preceding SD document VBTYP_VCHAR1VBTYP
KALSM_CHSearch procedure for batch determination KALSMA_CHCHAR6Assigned to domainKALSM
AGRZRAccrual period for order-related billing docs.to be accrued AGRZRNUMC2NUM2
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
QMNUMNotification No QMNUMCHAR12Assigned to domainALPHAQMNUMIQM
VBELN_GRPMster contract number VBELN_GRPCHAR10Assigned to domainALPHAVBELN
SCHEME_GRPReferencing requirement: Procedure SCHEME_GRPCHAR4Assigned to domainSCHEME_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 RPLNRCHAR10Assigned to domainFPLNR
VZEITProposed schedule line time (local with ref. to sales org.) EZEIT_VBAKTIMS6TIME_SAORG
STCEG_LTax Destination Country LAND1TXCHAR3Assigned to domainLAND1LND
LANDTXTax departure country LANDTXCHAR3Assigned to domainLAND1LND
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
.INCLU--AP 0
AD01FAREGRule for billing AD01FAREGCHAR1AD01FAREG
AD01BASDOCInitial document AD01BASDOCCHAR10Assigned to domainALPHAVBELN
.INCLU--AP 0
LASTVCHRLast voucher number AD04LVCHNRNUMC8AD04VCHNR
.INCLU--AP 0
WTYSC_CLM_HDRClaim header WTYSC_CLM_HDRCHAR16WTYSC_CLM_HDR

Key field Non-key field



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

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

SELECT SINGLE *
FROM VSVBAK_CN
INTO CORRESPONDING FIELDS OF WA_VSVBAK_CN
WHERE...

How to access SAP table VSVBAK_CN

Within an ECC or HANA version of SAP you can also view further information about VSVBAK_CN and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).