Skip to content
SAP Reference

VBAK

transaction S/4HANA status: Active

Sales Document: Header Data

Identity
What the badges mean
S/4HANA status: Active
Active and unchanged in S/4HANA.
S/4HANA status: Deprecated
Still readable today, but no longer SAP's strategic path — plan around it.
S/4HANA status: Replaced
Replaced by a new persistence in S/4HANA; the classic name may still answer reads (see read mechanism).
S/4HANA status: Migrating to IBP
Planning scope is moving from APO toward IBP.
S/4HANA status: Active (StRM) · Replaced (EWM)
Path-dependent: active with SAP Stock Room Management, replaced where EWM is the warehouse path.
S/4HANA status: Replaced · Compat View
Compatibility view: the classic table name is redirected to a view over the new persistence — see how the physical model moved.
S/4HANA status: Active · Proxy View
Proxy view: reads route through NSDM proxy/CDS views — see how the physical model moved.
master
Data class: what the table holds — master data, transaction documents, org structure, config, or texts (one row per language — see the quirks guide).
Linked type codes

CLNT the client key; filter it explicitly and carry it through every join.

NUMC fixed-width numeric text; keep it a string and keep the leading zeros.

DATS, TIMS character date (YYYYMMDD) and time (HHMMSS), zero-filled when initial.

CURR, CUKY, QUAN, UNIT amounts and quantities, meaningful only beside the currency key or unit that qualifies them.

LANG a language key in a text table — one row per language.

In field listings, K marks a primary-key field, and linked type codes in the Type column jump to the matching quirks-guide section.

Fields

45 fields · 2 key

45 fields.

Table fields: key flag, field name, description, data type (linked to the data quirks guide where the type carries a known trap), length, and check-table references. 45 fields.
KeyFieldDescriptionTypeLengthReferences
Primary keyMANDTClientCLNT3T000
Primary keyVBELNSales DocumentCHAR10
ERDATDate on Which Record Was CreatedDATS8
ERZETEntry TimeTIMS6
ERNAMName of Person Who Created the ObjectCHAR12
ANGDTQuotation/Inquiry Is Valid FromDATS8
BNDDTDate Until Which Bid/Quotation Is Binding (Valid-To Date)DATS8
AUDATDocument Date (Date Received/Sent)DATS8
VBTYPSD Document CategoryCHAR1
TRVOGTransaction GroupCHAR1
AUARTSales Document TypeCHAR4
AUGRUOrder Reason (Reason for the Business Transaction)CHAR3
GWLDTWarranty DateDATS8
SUBMICollective NumberCHAR10
LIFSKDelivery Block (Document Header)CHAR2
FAKSKBilling Block in SD DocumentCHAR2
NETWRNet Value of the Sales Order in Document CurrencyCURR15,2
WAERKSD Document CurrencyCUKY5TCURC
VKORGSales OrganizationCHAR4TVKO
VTWEGDistribution ChannelCHAR2TVTW
SPARTDivisionCHAR2TSPA
VKGRPSales GroupCHAR3
VKBURSales OfficeCHAR4
VSBEDShipping ConditionsCHAR2
VDATURequested Delivery DateDATS8
VPRGRProposed Date TypeCHAR1
KALSMPricing Procedure in PricingCHAR6
KNUMVNumber of the Document ConditionCHAR10
STWAEStatistics CurrencyCUKY5TCURC
KUNNRSold-To PartyCHAR10KNA1
KVGR1Customer Group 1CHAR3
KVGR2Customer Group 2CHAR3
KVGR3Customer Group 3CHAR3
KVGR4Customer Group 4CHAR3
KVGR5Customer Group 5CHAR3
KNKLICustomer's Account Number with Credit Limit ReferenceCHAR10
KKBERCredit Control AreaCHAR4
CTLPCRisk CategoryCHAR3
CMGSTS/4HANA only — this field is not on this table in ECC; the equivalent status lives on VBUK/VBUP thereOverall Status of Credit ChecksCHAR1
ABSTKS/4HANA only — this field is not on this table in ECC; the equivalent status lives on VBUK/VBUP thereRejection Status (All Items)CHAR1
VGBELDocument Number of the Reference DocumentCHAR10
OBJNRObject Number at Header LevelCHAR22
BUKRS_VFCompany Code to Be BilledCHAR4T001
TAXK1Alternative Tax ClassificationCHAR1
XBLNRReference Document NumberCHAR16

Fields marked S/4 arrived on this table with S/4HANA’s VBUK/VBUP status-field move. In ECC the equivalent status lives on VBUK/VBUP, not here.

Linked type codes in the Type column jump to the matching section of the SAP data quirks guide.

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading VBAK on Databricks. Set your Unity Catalog location and filter values below — they’re substituted into the SQL and the copy button.

Query parameters

3 parameters not filled: <catalog>, <schema>, <MANDT>

-- ============================================================
-- Table  : VBAK Sales Document: Header Data
-- Purpose: Column-selected read of VBAK — auto-generated from field metadata
-- Grain  : One row per VBELN
-- Notes  : Auto-generated skeleton. For multi-table transaction query patterns, see the linked t-codes on this page. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
  h.MANDT AS "Client",
  h.VBELN AS "Sales Document",
  h.ERDAT AS "Date on Which Record Was Created",
  h.ERZET AS "Entry Time",
  h.ERNAM AS "Name of Person Who Created the Object",
  h.ANGDT AS "Quotation/Inquiry Is Valid From",
  h.BNDDT AS "Date Until Which Bid/Quotation Is Binding (Valid-To Date)",
  h.AUDAT AS "Document Date (Date Received/Sent)",
  h.VBTYP AS "SD Document Category",
  h.TRVOG AS "Transaction Group",
  h.AUART AS "Sales Document Type",
  h.AUGRU AS "Order Reason (Reason for the Business Transaction)",
  h.GWLDT AS "Warranty Date",
  h.SUBMI AS "Collective Number",
  h.LIFSK AS "Delivery Block (Document Header)",
  h.FAKSK AS "Billing Block in SD Document",
  h.NETWR AS "Net Value of the Sales Order in Document Currency",
  h.WAERK AS "SD Document Currency",
  h.VKORG AS "Sales Organization",
  h.VTWEG AS "Distribution Channel",
  h.SPART AS "Division",
  h.VKGRP AS "Sales Group",
  h.VKBUR AS "Sales Office",
  h.VSBED AS "Shipping Conditions",
  h.VDATU AS "Requested Delivery Date",
  h.VPRGR AS "Proposed Date Type",
  h.KALSM AS "Pricing Procedure in Pricing",
  h.KNUMV AS "Number of the Document Condition",
  h.STWAE AS "Statistics Currency",
  h.KUNNR AS "Sold-To Party",
  h.KVGR1 AS "Customer Group 1",
  h.KVGR2 AS "Customer Group 2",
  h.KVGR3 AS "Customer Group 3",
  h.KVGR4 AS "Customer Group 4",
  h.KVGR5 AS "Customer Group 5",
  h.KNKLI AS "Customer's Account Number with Credit Limit Reference",
  h.KKBER AS "Credit Control Area",
  h.CTLPC AS "Risk Category",
  h.CMGST AS "Overall Status of Credit Checks",
  h.ABSTK AS "Rejection Status (All Items)"
  -- … plus 5 more columns — full list in the Fields section above
FROM <catalog>.<schema>.vbak h
WHERE
  h.MANDT = '<MANDT>'
ORDER BY h.VBELN;

Verified August 2026

More query patterns: VA01 VA02 VA03

Released CDS views over this table

Released SAP standard VDM views that read over VBAK. Prefer these over classic-table reads on S/4HANA where available.

Relationships

Diagram of 1-hop neighbors — join details below.

Join details

  • VBAKVBAPheader item · 1:N
    ON vbak.VBELN = vbap.VBELN
  • VBAKKNA1foreign key · N:1
    ON vbak.KUNNR = kna1.KUNNR
  • LIPSVBAKforeign key · N:1
    ON lips.VGBEL = vbak.VBELN
  • VBAKTVKOforeign key · N:1
    ON vbak.VKORG = tvko.VKORG
  • VBAKVBPAforeign key · 1:N
    ON vbak.VBELN = vbpa.VBELN
  • VBAKVBKDforeign key · 1:N
    ON vbak.VBELN = vbkd.VBELN

Transaction Codes That Use This Table

More Sales & Distribution tables