Sub topic 1
The order-to-cash process at a glance
Order-to-cash (O2C) is the chain of steps that turns a customer's request into money in the bank. In SAP S/4HANA, each step creates a document, and the documents link to each other. This chapter gives you the map. Later chapters cover each step in detail.
Prerequisites
This chapter assumes you have:
- Basic ERP vocabulary (customer, invoice, payment).
- Some experience navigating SAP GUI or the Fiori launchpad.
- Basic double-entry accounting (debit, credit, receivables).
- Basic SQL reading skills, for the optional query at the end.
The working model
The process runs in two modules. Sales and Distribution (SD) handles the order, delivery and invoice. Financial Accounting (FI) records the money. Logistics steps post to accounting automatically.
| Step | Document created | Accounting effect |
|---|---|---|
| Inquiry, quotation (optional) | Inquiry, quotation | None |
| Sales order | Sales order | None |
| Delivery and picking | Outbound delivery | None |
| Post goods issue | Material document | Debit cost of goods sold, credit inventory |
| Billing | Billing document | Debit receivable, credit revenue |
| Incoming payment | Payment accounting document | Debit bank, credit receivable |
The sales order and delivery are commitments, not postings. Money moves in the books only at goods issue, billing and payment.
Two things shape every step. The organizational units (sales organization, distribution channel, division, plant, company code) decide which rules apply. Master data (customer, material, conditions) supplies the defaults, such as prices and payment terms.
Common errors
- Expecting accounting entries at order or delivery. Neither posts to the general ledger. If revenue is missing, check whether billing happened.
- Treating the invoice as the cash. Billing creates a receivable. Cash is recorded only when the payment clears that open item.
- Assuming a straight line. Availability checks, credit blocks and returns can stop or reverse a document. A stuck order is usually blocked, not lost.
- Reading document numbers by sight. Use document flow to find the successors of a document. Do not guess from number ranges.
Checking the chain in the database
Document flow is stored in table VBFA. This query lists the immediate successors of one sales order. The column VBTYP_N gives each successor's type, for example J for delivery and M for invoice.
DATA(lv_vbeln) = CONV vbeln_va( '0000012345' ).
SELECT vbelv, posnv, vbeln, posnn, vbtyp_n
FROM vbfa
WHERE vbelv = @lv_vbeln
INTO TABLE @DATA(lt_flow).Exercise
A customer's order was delivered and the goods issue is posted, but billing has not run. Which accounting entry exists, and which is still missing?
Show answer
Goods issue has posted debit cost of goods sold and credit inventory. The receivable and revenue entry is missing, because it is created only by the billing document. No payment entry can exist yet.