IT CanvassTalk to an advisor
SAP tables · LessonReviewed by Ravi M, SAP Trainer, 10 yrs · Updated · Published · SAP S/4HANA 2023 · all levels

SAP VBAP

VBAP is a key SAP table in SD (Sales). It stores sales document items, the line-level data (materials, quantities, values) of sales orders and related documents.

Quick answer

VBAP holds sales document items in SAP, keyed by sales document VBELN and item POSNR: one row per order line, with the material, order quantity and net value. The header sits in VBAK, schedule lines in VBEP and the document flow in VBFA. Join it to VBAK on VBELN for a full order.

Key takeaways
  • VBELN, sales document (key).
  • POSNR, item number (key).
  • Watch out: VBAP holds the requested quantity, and VBEP holds the quantity the system actually confirmed.

What it stores

It stores sales document items, the line-level data (materials, quantities, values) of sales orders and related documents.

Key fields

  • VBELN, sales document (key).
  • POSNR, item number (key).
  • MATNR, material.
  • KWMENG, order quantity.
  • NETWR, net value.

Keys and relationships

The key is VBELN + POSNR, one row per order line. It links to the header (VBAK) via VBELN and to schedule lines (VBEP) and document flow (VBFA).

Working with it

VBAP holds sales line detail, materials, quantities, values, and is central to sales reporting. Join with VBAK on VBELN for full orders. 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.
Already working on SAP and stuck on a live ticket?Get an expert SAP developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support