Sub topic 12
How the modules connect: end-to-end processes
This chapter assumes you know the module areas, the organizational units (company code, plant, purchasing and sales organization), and the idea of master data and the business partner. It shows how those pieces combine into the processes a company runs.
Documents, not modules, carry the process
An end-to-end process is a chain of documents. Each document is created from the previous one and keeps a reference to it. Each module owns some documents, and some of them also create accounting entries in Finance.
Procure-to-pay (Procurement -> Inventory -> Finance)
Purchase requisition -> Purchase order -> Goods receipt -> Supplier invoice -> Payment
Order-to-cash (Sales -> Inventory -> Finance)
Sales order -> Delivery -> Goods issue -> Billing document -> Customer paymentTwo things make the chain work. The first is the shared master data. The purchase order uses a supplier business partner and a material. The sales order uses a customer business partner and the same kind of material record. The second is the organizational structure. The plant on a document decides which company code is charged, and so which ledger is posted to.
Which steps post to Finance
Not every step creates an accounting document. Many steps only record intent.
| Process | Step | Accounting effect |
|---|---|---|
| P2P | Requisition, purchase order | None. They are commitments only. |
| P2P | Goods receipt | Debit inventory, credit the goods receipt/invoice receipt (GR/IR) clearing account. |
| P2P | Supplier invoice | Debit GR/IR clearing, credit the supplier payable. |
| P2P | Payment | Debit the payable, credit bank. |
| O2C | Sales order, delivery | None. |
| O2C | Goods issue | Debit cost of goods sold, credit inventory. |
| O2C | Billing document | Debit the customer receivable, credit revenue. |
| O2C | Customer payment | Debit bank, credit the receivable. |
All postings land in the Universal Journal, so Controlling sees the cost objects on the same line items.
The other two processes
Plan-to-produce starts with demand and planning in Production Planning. A production order consumes components (goods issue to the order) and delivers the finished product (goods receipt). Costs flow through Controlling, which settles the order to inventory.
Record-to-report is the Finance process that sits on top of all the others. It covers period-end closing, allocations, and financial statements. It reads the postings that the operational processes already created.
Following a document chain
You can trace a chain with the document flow tables. Sales order items sit in VBAP, and the document flow is stored in VBFA, which links each document to its predecessor.
SELECT vbelv, posnv, vbeln, posnn, vbtyp_n
FROM vbfa
WHERE vbelv = '0000004711'
INTO TABLE @DATA(flow).In the Fiori apps, the same links appear as the "Document Flow" view on an order.
Common errors
- Looking for a posting too early. A purchase order or delivery creates no accounting document. If Finance shows nothing, check whether the goods movement happened.
- Unbalanced GR/IR. Goods received but not invoiced stay open on the clearing account. Large balances usually mean invoices are missing or were posted with the wrong quantity or price.
- Organizational mismatches. A plant assigned to a different company code than expected moves the posting to another ledger.
- Missing master data. A material not extended to the plant, or a partner without the supplier or customer role, stops the chain at its first step.
Exercise
A customer's sales order and delivery exist, but Finance shows no revenue and no cost of goods sold. Which two steps have not happened yet, and what does each post?
Show answer
The goods issue has not been posted, which would debit cost of goods sold and credit inventory. The billing document has not been created, which would debit the customer receivable and credit revenue. The sales order and delivery post nothing to Finance.