Sub topic 10
Fixed assets and the depreciation run
This chapter assumes you know basic double-entry accounting, can navigate the SAP Fiori launchpad, and have read the earlier chapters on the Universal Journal, ledgers, and posting periods. The SQL example is optional.
What asset accounting does in the close
Asset Accounting manages long-lived items such as machines, vehicles, and software. It does three jobs:
- It records the cost of each asset when it is acquired.
- It spreads that cost over the asset's useful life as depreciation.
- It records the asset's end of life through retirement or transfer.
In SAP S/4HANA, Asset Accounting is integrated with the Universal Journal. Asset postings are line items in ACDOCA, next to every other posting. They carry the asset number in the fields ANLN1 (main asset number) and ANLN2 (subnumber). Older systems kept asset line items in separate tables. Because of this change, the asset ledger and the general ledger cannot drift apart.
The building blocks
| Object | Purpose |
|---|---|
| Asset class | Groups similar assets. It supplies defaults such as account determination and depreciation keys. |
| Asset master record | One record per asset. It holds the capitalization date, useful life, and cost assignments. |
| Depreciation area | A set of valuation rules, for example book depreciation or tax depreciation. |
| Depreciation key | The method, for example straight-line, and how the amount is calculated. |
| Account determination | Maps the asset class and area to the G/L accounts for cost, accumulated depreciation, and expense. |
Each depreciation area that posts to the general ledger is assigned to a ledger through an accounting principle. This is how parallel accounting works for assets. Area 01 usually posts to the leading ledger 0L. A tax area can post to a non-leading ledger with different depreciation rules, and the two areas then produce different results.
Asset lifecycle and postings
An asset moves through a few stages, and each stage creates journal entries:
- Acquisition. You can post it from a purchase order and invoice, or directly in a journal entry. The debit goes to the asset cost account.
- Asset under construction (AUC). Costs for assets that are still being built collect on an AUC. When the work is done, settlement moves the cost to the final asset.
- Capitalization. The capitalization date starts depreciation.
- Periodic depreciation. The depreciation run posts expense each period.
- Retirement or transfer. Asset accounting removes cost and accumulated depreciation and posts any gain or loss.
Planned versus posted depreciation
S/4HANA calculates planned depreciation on the fly when you display an asset. The system does not store this planned value. It becomes a ledger fact only when you run the depreciation run. This has two effects:
- You can change useful life or depreciation key and see new planned values at once.
- The general ledger shows nothing for depreciation until the run posts it.
The run posts a journal entry for each asset and depreciation area. The debit goes to the depreciation expense account, and the credit goes to the accumulated depreciation account. The cost center on the asset master record receives the expense, so controlling gets the cost in the same entry.
Running depreciation
You start the run with transaction AFAB or the matching Fiori app. You choose these parameters:
- Company code
- Fiscal year
- Posting period
- Run type
The run types matter:
- Test run. It simulates the run and posts nothing. Use it to catch errors before the real run.
- Planned run. It posts depreciation for the selected period.
- Repeat run. It processes assets that failed in an earlier run, for example because a cost center was locked.
- Restart run. It restarts a run that terminated unexpectedly.
Read the run log carefully. It lists assets that could not be posted, with the reason.
Common errors
- Missing account determination. A new asset class or depreciation area has no accounts assigned. The run fails for every asset in that class.
- Blocked cost center. The cost center on the asset is locked or has expired. Fix the master data and start a repeat run.
- Asset not capitalized. An asset without a capitalization date gets no depreciation. This is often the cause when an AUC has not been settled.
- Wrong sequence. A late acquisition posted into a past period changes the depreciation. Check the period and ledger for catch-up postings.
- Ledger mismatch. The tax area posts to a non-leading ledger, but you only checked 0L. Both ledgers must be reviewed.
Checking asset postings in ACDOCA
For learning, you can query ACDOCA directly. Production reports should use released CDS views instead. The query below sums asset-related postings per G/L account for one company code, year, and ledger:
SELECT racct,
SUM( hsl ) AS asset_balance
FROM acdoca
WHERE rldnr = '0L'
AND rbukrs = '1010'
AND gjahr = '2025'
AND poper <= '012'
AND anln1 <> ''
GROUP BY racct
ORDER BY racct
INTO TABLE @DATA(lt_asset_balances).The result lists the asset cost accounts, the accumulated depreciation accounts, and the depreciation expense accounts. Compare the cost and accumulated depreciation totals with the asset reports. They should agree, because both read the same line items. A difference points to a posting in a different ledger or period, or to a filter that is too narrow.
Place in the closing sequence
Depreciation belongs early in the close. It is a source of costs for the later controlling steps. Allocations and settlement then use the posted depreciation. The usual order is:
- Check that the subledger postings are complete.
- Run depreciation (test run first).
- Resolve errors with a repeat run.
- Continue with accruals, valuation, and controlling.
At year end, the asset year-end closing (AJAB) must run before you can post to the next fiscal year in Asset Accounting. It checks that all periods are posted. Plan for it in the closing task list.
Exercise
The depreciation run for period 003 fails for 40 assets because their cost center is locked. The cost center is then unlocked. Which run type do you start next, and why not a planned run again?
Show answer
Start a repeat run. It processes only the assets that failed, so assets that were already posted are not depreciated twice. A planned run would also try the whole selection again and is not meant for fixing failed assets. Before the repeat run, you can check the result with a test run.
Exercise
An asset has no depreciation in the trial balance for period 005, but the asset master record shows planned depreciation for that period. What is the likely reason?
Show answer
Planned depreciation is calculated on demand and is not a posting. The depreciation run has not yet posted period 005 for that company code and ledger, or it failed for this asset. Check the run log, and check that the period is open.