Skip to content
Tutorials Center
My learning

Topics

Lesson 13 of 36 ยท ERP Modules Overview

SAP Order to Cash (O2C): Sales Order, Delivery, Billing and Payment

Follow the SAP order-to-cash process: inquiry, quotation, sales order, availability check, delivery, goods issue, billing and incoming payment, with document flow and accounting.

Order to cash (O2C) is the sell-side counterpart of procure to pay. It starts with a customer's interest and ends when the money arrives. In SAP it crosses sales (SD), shipping (LE/SD), inventory (MM) and finance (FI), and every step leaves a document that points to its predecessor, the document flow.

The flow

flowchart LR
    INQ["Inquiry /<br/>quotation<br/>VA11 / VA21"] --> SO["Sales order<br/>VA01"]
    SO --> DEL["Delivery<br/>VL01N"]
    DEL --> GI["Post goods<br/>issue"]
    GI --> BILL["Billing<br/>VF01"]
    BILL --> PAY["Incoming<br/>payment<br/>F-28"]

A sales order flows through delivery and billing to cash.

Pre-sales: inquiry and quotation

An inquiry (VA11) records that a customer asked about a product; a quotation (VA21) is the binding offer with price and validity date. Both are optional but common in business-to-business sales. A quotation can be copied into a sales order with one click, so data is not retyped.

Step 1: sales order

The sales order (VA01, change VA02, display VA03) records what the customer buys. You enter the order type (for example OR standard order), the sales area (sales organization, distribution channel, division), the sold-to party and the items. SAP then determines automatically from master data and configuration:

  • Pricing: a condition technique finds the price, discounts, surcharges and taxes. Conditions (PR00 price, K007 customer discount, MWST tax) are combined by a pricing procedure.
  • Availability check (ATP): is stock available on the requested date? If not, a later confirmed date appears.
  • Credit check: is the customer's credit limit exceeded?
  • Shipping data: shipping point, route, delivery date, incoterms.
  • Partners: sold-to, ship-to, bill-to, payer.

The sales order does not post to finance, but it may create a requirement for MRP so purchasing or production reacts to demand.

Step 2: delivery

The outbound delivery (VL01N) is created from the order (or collectively for many orders with VL10). Delivery covers the warehouse work:

  1. Picking: take the goods from storage locations or warehouse bins.
  2. Packing: put them into handling units.
  3. Post goods issue (PGI): confirm the goods have left. This reduces stock and creates the accounting entry (movement type 601).

The accounting entry for goods issue (assuming a stock material):

Account Debit Credit
Cost of goods sold (COGS) 600
Inventory (finished goods) 600

The value is the moving average or standard price of the material, not the selling price.

Step 3: billing

The billing document (VF01) creates the customer invoice, often collectively (VF04) for all deliveries due. It takes the prices from the order and posts to FI:

Account Debit Credit
Customer receivable (reconciliation account) 1,190
Revenue 1,000
Output tax payable 190

In FI the customer account is debited, the revenue account credited and the tax posted. The billing document is typically printed, sent by email or sent as an electronic invoice.

Step 4: incoming payment

When the customer pays, the accounts receivable clerk posts an incoming payment (F-28) that clears the open invoice: debit bank, credit customer. With automatic bank statement processing, SAP matches payments to open items by reference or amount. If the customer pays late, dunning (F150) sends reminder letters; if the receivable cannot be collected, it is written off.

Document flow and status

Every document stores references to its predecessors. In the sales order, Environment > Display document flow shows: quotation, sales order, delivery, material document (goods issue), billing document, accounting document. Status fields (open, partially delivered, completely delivered, billed) show how far an order has progressed.

Python Stand-in: O2C documents and accounting entries

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

After the payment the receivable account is back to zero, revenue and tax hold the credits, COGS and inventory show the cost side, and the bank shows the money. This is the whole cycle in six lines.

Try it: a credit check

Python Stand-in: credit limit and availability check

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

In SAP a credit block places the order on hold until a credit manager releases it (VKM3), and the availability check proposes a delivery schedule when stock is short.

Variations

  • Returns and credit memos: a return order and a return delivery bring goods back; a credit memo reduces the receivable.
  • Free-of-charge delivery and sample order types.
  • Third-party orders: the vendor ships directly to your customer; SAP creates a purchase requisition automatically.
  • Make-to-order: the sales order triggers production.
  • Rebates and billing plans: agreed periodic billing for contracts.
  • Intercompany sales between company codes of one group.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which step reduces stock and posts cost of goods sold?

    Goods issue reduces inventory and debits COGS.
  2. 2. What does the billing document post in FI?

    Billing debits the customer account and credits revenue and tax.
  3. 3. What determines prices, discounts and taxes in a sales order?

    Condition records are combined by the pricing procedure.
  4. 4. What does the document flow show?

    Document flow links quotation, order, delivery, billing and accounting documents.

Summary

  • O2C: inquiry/quotation, sales order, delivery with goods issue, billing, incoming payment.
  • The order determines price (condition technique), availability, credit and shipping data.
  • Goods issue posts COGS against inventory; billing posts receivable, revenue and tax.
  • Incoming payment clears the receivable; dunning handles late payers.

Next: The general ledger