Sub topic 11
Accruals, deferrals, and recurring journal entries
This chapter assumes you know how to post a journal entry and how posting periods work. It also assumes you can read a basic SQL query. The goal is to move expenses and revenue into the period where they belong, and to automate entries that repeat.
Accrual or deferral
Both adjustments apply the matching principle: costs and revenue belong in the period that caused them.
| Type | Cash or invoice | Example | Balance sheet account |
|---|---|---|---|
| Accrued expense | Invoice comes later | Consulting done in December, invoiced in January | Accrued liability |
| Deferred expense | Paid earlier | Annual insurance paid in January | Prepaid expense |
| Accrued revenue | Invoice comes later | Service delivered, not yet billed | Accrued receivable |
| Deferred revenue | Billed earlier | Annual subscription billed up front | Deferred income |
Manual accrual with automatic reversal
The simplest pattern is a manual journal entry with a reversal date. In the app for posting journal entries, you post the expense and the accrued liability. You then enter a reversal reason and a reversal posting date in the next period. The system creates the reversing document at that date. When the real invoice arrives, it posts against the expense account and cancels out the accrual.
Recurring journal entries
A recurring entry is a template for a posting that repeats, such as monthly rent or a fixed prepaid amortization. You define the lines, the first and last run dates, and the interval. A scheduled recurring entry run then creates the real journal entries. The template itself does not change any balances.
For larger volumes of accruals, S/4HANA also offers accrual management. It stores each accrual as an object, calculates the periodic postings, and feeds the closing task list.
Common errors
- Reversal date in a closed period. The reversal fails or lands in the wrong period. Check the posting period control before you post.
- Missing reversal. The accrual stays on the balance sheet and the expense is counted twice. Always set the reversal date when you post.
- Recurring run not scheduled. The template exists but nothing posts. Check the run's job log.
- Wrong ledger. An accrual meant for one accounting principle posts to all ledgers. Check the ledger assignment on the entry.
Check accrual balances
After the close, the accrual account should hold only items that are still open. This query shows its balance by period. The account number is a sample value.
SELECT poper,
SUM( hsl ) AS period_amount
FROM acdoca
WHERE rldnr = '0L'
AND rbukrs = '1010'
AND gjahr = '2025'
AND racct = '0021100000'
GROUP BY poper
ORDER BY poper
INTO TABLE @DATA(lt_accruals).A large amount in period 12 should be followed by a similar amount of the opposite sign in period 1.
Exercise
A company posts a December accrual of 5,000 for consulting services and sets no reversal date. The 5,000 invoice arrives in January and is posted to the expense account. What is wrong, and how would you spot it in ACDOCA?
Show answer
The expense is recorded twice, once as the December accrual and once as the January invoice, and the accrued liability is never released. In ACDOCA, the accrual account shows a 5,000 balance after period 1 with no offsetting entry. The expense account shows 10,000 in total. The fix is to reverse the accrual in period 1 and to set a reversal date on future accruals.