ERPClimb logoERPClimb
Sales Documents
SD / O2Cbeginner 7 min read

SD Sales Documents Part 1: Document Structure and Document Categories

Free sample lesson · open to everyone

Key takeaway

How SAP sales documents are built (header, item, schedule line) and which document categories exist across the sales cycle: inquiry, quotation, standard order, contracts, scheduling agreements, returns, free-of-charge deliveries and credit/debit memo requests.

In this lessonShow sections

Visual overview

SD Sales Documents Part 1: Document Structure and Document Categories — learning sheetFlow: Create a quotation with VA21 → Create an order with reference to it (VA01 > Create with Reference) → Look at header, item and schedule line tabs → Check document flow from quotation to order. Key ideas: HEADER, ITEM, SCHEDULE LINE; PRESALES DOCUMENTS; ORDERS; OUTLINE AGREEMENTS. Watch out: Choosing the wrong document category (e.g. using a standard order for returns) breaks the logistics and billing flow — the category, not the name, decides behavior.ERPClimb.com / SD / LESSON 1/5 / LEARNING SHEETSD Sales Documents Part 1: Document Structure and DocumentCategories1 · HOW IT FLOWS1Create aquotation withVA212Create an orderwith referenceto it (VA01 >…3Look at header,item andschedule line…4Check documentflow fromquotation to…2 · KEY IDEAS EXPLAINEDHeader, Item, Schedule LineHeader: customer, sales area, document type,dates, header partners, header pricing.Item: material, quantity, item category, plant,item pricing.Presales DocumentsInquiry (IN): customer asks for information;tracked for lost-sales analysis.Quotation (QT): binding offer with validity dates;converted to orders by reference.OrdersStandard order (OR): delivery- andbilling-relevant.Rush order (SO): delivery created on save; cashsale (CS): invoice printed immediately.Outline AgreementsQuantity contract (CQ) and value contract(WK1/WK2): released by release orders.Scheduling agreement (DS/LZ): delivery scheduleswith dates and quantities over time.3 · REMEMBER · WATCH OUTRememberEvery sales document has three levels: header (VBAK), item (VBAP) andschedule line (VBEP) — each controlled by its own configuration key…The document category (VBTYP) says what kind of document it is:inquiry, quotation, order, contract, scheduling agreement, returns…Presales documents (inquiry, quotation) create no requirements and nopostings; orders create requirements for delivery and billing.!Watch outChoosing the wrong document category(e.g. using a standard order forreturns) breaks the logistics andbilling flow — the category, not thename, decides behavior.4 · IN A REAL PROJECTA medical-device distributor handled customer complaints about damaged goods by creating standard orders withnegative pricing conditions. Finance could not reconcile these "orders", returned goods never wentback into stock, and revenue reports were distorted. The team introduced proper complaint documents: returns…Original ERPClimb learning sheet • Verify against your SAP release and edition

The situation: a real project scenario

A medical-device distributor handled customer complaints about damaged goods by creating standard orders with negative pricing conditions. Finance could not reconcile these "orders", returned goods never went back into stock, and revenue reports were distorted. The team introduced proper complaint documents: returns (RE) with returns delivery and inspection for physical returns, and credit memo requests (CR) with billing block and approval for price-only corrections. Credit notes became traceable in document flow and complaint KPIs were reportable by reason.

Explanation

This series on sales documents covers five parts: this first part is about document structure and document categories, Part 2 covers sales document type configuration in VOV8, Part 3 covers referencing, document flow and completion, Part 4 covers incompletion, status and blocks, and Part 5 covers architecting sales document landscapes for governance and S/4HANA migration.

Every sales document has three levels: the header (stored in VBAK), carrying the customer, sales area, document type, dates, header partners and header-level pricing; the item (VBAP), carrying the material, quantity, item category, plant and item-level pricing; and the schedule line (VBEP), carrying delivery dates and the confirmed quantities coming out of the availability check.

Each of these levels is controlled by its own configuration key — the document type at header level, the item category at item level, and the schedule line category below that.

Beneath all of this sits the document category, stored in field VBTYP, which says what kind of document it actually is — an inquiry, a quotation, an order, a contract, a scheduling agreement, a returns document, or a credit or debit memo request — and it's this category, not the document type's name, that actually decides how the document behaves in the system.

Presales documents sit at one end of this spectrum: an inquiry (document type IN) is simply a customer asking for information and is tracked mainly for lost-sales analysis, while a quotation (QT) is a binding offer with its own validity dates that gets converted into an order by reference — neither creates requirements or postings on its own.

Orders, by contrast, do create requirements for delivery and billing: the standard order (OR) is the default case, a rush order (SO) creates its delivery immediately on save, a cash sale (CS) prints its invoice immediately, and a free-of-charge delivery (FD) creates a delivery with no billing involved at all.

Outline agreements work differently again — a quantity contract (CQ) or value contract (WK1/WK2) gets fulfilled through separate release orders over time, a scheduling agreement (DS or LZ) carries delivery schedules with dates and quantities spread across a period, and a master contract can group several individual contracts together.

On the complaints side, returns (RE) bring goods back through a returns delivery, with credit issued through billing; a credit memo request (CR) or debit memo request (DR) handles a purely financial correction, billed without any delivery involved; and an invoice correction request (RK) corrects quantities or prices on an already-billed document.

Choosing the wrong document category for a situation — for instance using a standard order to process what is really a return — breaks the logistics and billing flow that depends on that category being correct.

Working through this in practice means creating a quotation with VA21, creating an order with reference to it using VA01's "Create with Reference" option, looking at the header, item and schedule line tabs on that order, and checking the document flow from the quotation through to the order — the goal being the ability to name the document category and all three levels of any sales document you open.

How the SAP process fits together

SAP PROCESS EXPLORER · Sales: order to cash

ERPClimb.com

Sales Documents — process breakdown

Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.

1/4

Selected process stage

Create

Choose sales doc type, sold-to and reference

Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario.

Code example

ABAP Code
===== STEP 1: tables per level =====Header          VBAK   document type AUART, category VBTYP, sales area, dates, status (S/4HANA)Item            VBAP   material, item category PSTYV, plant, quantity, status (S/4HANA)Schedule line   VBEP   schedule line category ETTYP, dates, confirmed quantityPartners        VBPA   Business data VBKD   Document flow VBFA ===== STEP 2: common document types and categories =====Type | Name                   | Category (VBTYP)       | TransactionIN   | Inquiry                | A                      | VA11QT   | Quotation              | B                      | VA21OR   | Standard order         | C                      | VA01CQ   | Quantity contract      | G                      | VA41DS   | Scheduling agreement   | E                      | VA31RE   | Returns                | H                      | VA01FD   | Free-of-charge deliv.  | I                      | VA01CR   | Credit memo request    | K                      | VA01DR   | Debit memo request     | L                      | VA01 ===== STEP 3: S/4HANA note =====Status tables VBUK/VBUP were merged into VBAK/VBAP (status fields now in the document tables).

Watch out

Common mistakes

  • Using standard orders with manual price changes instead of returns or credit memo requests.
  • Treating inquiries and quotations as if they created requirements.
  • Confusing document type (a name, e.g. ZOR) with document category (behavior).
  • Using contracts where scheduling agreements fit (or vice versa).
  • Looking for status in VBUK/VBUP in S/4HANA.

Do this

Best practices

  • Map every business process to the right document category first.
  • Use presales documents to track lost business (rejection reasons).
  • Use complaint documents for every correction — never manual workarounds.
  • Keep the number of custom document types small (Part 5).
  • Use document flow to explain any document's history.

In the interview

Interview angle

Questions: "What levels does a sales document have?", "Difference between inquiry and quotation?", "Contract vs scheduling agreement?"
Strong answer: header/item/schedule line (VBAK/VBAP/VBEP) with their control keys; document categories across presales, orders, outline agreements and complaints; presales create no requirements; contracts are fulfilled by release orders, scheduling agreements by delivery schedules. Mentions VBUK/VBUP merge into VBAK/VBAP in S/4HANA.

Practice this lesson

Quick check

0 of 3 questions attempted

Question 1 of 3

A customer releases quantities over a year against an agreed total quantity with fixed prices. Which document fits?

Practise this in an interview

Answer in your own words and get instant feedback, the way an interviewer would judge it.

1You need to design a free-of-charge delivery process for promotional samples that must still consume ATP and update requirements planning, but must not create billing documents. What architecture would you propose?

2What is the business purpose of the Inquiry document type (IN) in the SAP sales cycle, and does it create any commitments in MM or affect stock?

Was this lesson helpful?

Keep exploring

Referenced SAP objects

Reviewed reference pages for the objects this page mentions.

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.