Sub topic 3
How SD Postings Reach Accounting
Assume you know sales orders, deliveries, billing documents, and basic debit-credit accounting. In this chapter, SD means Sales and Distribution. FI means Financial Accounting.
From SD documents to accounting
Posting goods issue reduces inventory and records the cost of goods sold. Billing creates an accounting document: the customer receivable is debited, and revenue and tax accounts are credited. SAP determines the accounts from the chart of accounts, company code, sales area, material, tax data, and account-assignment rules.
| SD event | Typical accounting effect |
|---|---|
| Goods issue | Debit cost of goods sold; credit inventory |
| Billing | Debit customer receivable; credit revenue and tax |
| Incoming payment | Debit bank; credit customer receivable |
The accounting document is linked to its source billing document. This link lets you reconcile the invoice with the resulting journal entries.
What S/4HANA changes
S/4HANA uses the Universal Journal, stored mainly in ACDOCA, as the common source for financial and controlling line items. Instead of reconciling several separate line-item stores, reporting can use one integrated journal. Business Partner is the central master-data object for customers and suppliers. Fiori apps provide role-based views for creating, monitoring, and analyzing transactions.
DATA(lv_billing) = CONV vbeln_vf( '0090001234' ).
SELECT rbukrs, gjahr, belnr, docln, racct, hsl
FROM acdoca
WHERE rldnr = '0L'
AND awtyp = 'VBRK'
AND awref = @lv_billing
INTO TABLE @DATA(lt_journal).Incoming payments and clearing
An incoming payment debits the bank account and credits the customer account. Clearing matches the payment with one or more open receivables. Until clearing, the invoice remains open even if money has arrived. Differences may require a residual item, partial payment, or a reason code.
Tracing the process
Document flow connects the sales order, delivery, goods issue, billing document, accounting document, and payment. Use it to identify the last completed step and the next required action.
Returns, credit memos, and corrections
A return delivery brings goods back into stock. A credit memo reduces the customer receivable and reverses or adjusts revenue and tax. Billing cancellations reverse an incorrect billing document before a corrected invoice is created. Always check document flow and reversal references before posting a correction.
Monitoring stuck documents
Monitor blocked billing documents, incomplete deliveries, failed output, unreleased credit blocks, and uncleared receivables. Start with the document flow, then inspect the application log, status fields, and accounting document. A missing accounting document after billing often indicates an account-determination, tax, posting-period, or master-data problem.
Exercise
An invoice exists, but the customer receivable is not cleared. What should you check first?
Show answer
Check whether an incoming payment was posted, whether it was assigned to the correct customer, and whether it was cleared against the invoice.