SAP VBAK
VBAK is a key SAP table in SD (Sales). It stores sales document headers, the header-level data of sales orders (and quotations, contracts, etc.).
VBAK holds sales document headers, keyed on VBELN, with the document type AUART, sold-to party KUNNR, sales organisation VKORG and creation date ERDAT. Items sit in VBAP keyed on VBELN plus item, schedule lines in VBEP, and VBFA holds the document flow from order to delivery to invoice. SE11 shows the structure and SE16N the data.
- VBELN, sales document number (key).
- AUART, sales document type.
- VBAP, sales document items.
- Watch out: the header says what was ordered; whether it will ship is in the schedule lines.
What it stores
It stores sales document headers, the header-level data of sales orders (and quotations, contracts, etc.).
Key fields
- VBELN, sales document number (key).
- AUART, sales document type.
- KUNNR, sold-to party.
- VKORG, sales organization.
- ERDAT, creation date.
Keys and relationships
VBELN is the key. VBAK holds the header; items are in VBAP, keyed by VBELN + item. Together they form the complete sales document.
Working with it
VBAK/VBAP is the header/item pair for sales documents. Use VBFA to trace the document flow to deliveries and invoices. View its structure in SE11 and its data (with authorization) in SE16N.
Common pitfalls
- Reading tables directly instead of using CDS/reports where appropriate.
- Ignoring header/item relationships.
- Performance: querying large tables without indexed selection.