Sub topic 1
What record-to-report covers and how S/4HANA supports it
Record-to-report (R2R) is the finance process that turns business events into reliable financial statements. It starts with the first posting of a period and ends with published results and a closed year. This chapter gives you the map for the rest of the tutorial. It names the stages, the S/4HANA components behind each one, and the design change that makes S/4HANA different from earlier SAP systems.
Prerequisites
This chapter assumes you already know the following:
- Basic accounting concepts: debits, credits, the general ledger, and the trial balance.
- How to open and navigate apps in the SAP Fiori launchpad.
- The main finance areas: accounts payable, accounts receivable, asset accounting, and controlling.
- Basic SQL reading skills. These are needed only for the optional data-check example near the end.
What the process covers
R2R is an end-to-end process. It collects data from many sources, checks it, adjusts it, and reports it. It is usually described in six stages.
- Set up. Define the organizational structures, the chart of accounts, and the finance master data. Postings cannot happen without them.
- Record. Post journal entries, either manually or automatically from purchasing, sales, inventory, and payments.
- Adjust. At period end, post accruals and deferrals, revalue foreign currency balances, run depreciation, and do intercompany matching.
- Allocate and settle. Controlling distributes costs, settles orders and projects, and analyzes profitability.
- Close. Check completeness, coordinate the tasks, and lock the posting periods.
- Report. Produce the trial balance and financial statements, then consolidate in group reporting. At year end, carry balances forward.
The loop at the end is real. The balances you carry forward at year end become the opening balances of the next fiscal year.
How S/4HANA supports each stage
Each stage maps to a set of components. You will meet all of them in later chapters.
| Stage | Main S/4HANA support |
|---|---|
| Set up | Company codes, controlling areas, charts of accounts, G/L accounts, business partners, cost and profit centers |
| Record | General ledger, accounts payable, accounts receivable, logistics integration, journal entry apps |
| Adjust | Asset accounting, accrual and recurring entry tools, foreign currency valuation |
| Allocate and settle | Controlling: allocations, settlement, margin analysis |
| Close | Closing task lists and Advanced Financial Closing |
| Report | Trial balance and financial statement apps, CDS views, group reporting |
The design change: one journal
In SAP ERP, financial accounting and controlling kept separate line-item tables. Reconciling them was a standing period-end task. S/4HANA removes most of that work with the Universal Journal, stored in table ACDOCA. It holds the line items for the general ledger, controlling, asset accounting, and material ledger in one place.
Several things follow from this:
- A posting that affects both a G/L account and a cost center is one line item. It is not two items in two tables that must later be matched.
- Older structures such as COEP, FAGLFLEXA, ANEP, and MLIT were replaced by ACDOCA. Compatibility views keep older reports and programs working.
- Document headers still live in BKPF. Subledger-specific data, such as open items, is still held in the subledger structures.
- Balances can be calculated directly from line items. You no longer depend on stored totals tables.
- Ledgers are columns and keys in the same table. The
RLDNRfield identifies the ledger, so parallel accounting does not need a separate set of tables.
Fiori and CDS views
Most users reach R2R through Fiori apps. Examples are posting a journal entry, displaying trial balances, and managing closing tasks. These apps read from CDS views, which are data models defined in the ABAP layer on top of the database. For custom reports and extractions, SAP recommends the released CDS views over direct table access.
A first look at the data
The query below is for orientation only. It sums the company code currency amount per G/L account for one company code, one fiscal year, and the leading ledger 0L. The values 1010 and 2025 are sample values. Production code would normally read a released CDS view instead of the table.
SELECT racct,
SUM( hsl ) AS balance
FROM acdoca
WHERE rldnr = '0L'
AND rbukrs = '1010'
AND gjahr = '2025'
AND poper <= '012'
GROUP BY racct
ORDER BY racct
INTO TABLE @DATA(lt_balances).HSL is a signed amount: debits are positive and credits are negative. The sum of HSL across all accounts for a consistent company code is therefore zero. This is the same check as "the trial balance balances", expressed as a query.
Common errors and misconceptions
- Treating controlling as a separate ledger. In S/4HANA, controlling postings are line items in the same journal. A cost center posting is visible in ACDOCA next to the G/L posting.
- Expecting totals tables. Reports compute balances from line items. If an old report asks for a totals table, check whether a compatibility view or a newer app replaces it.
- Confusing the ledger with the company code. A company code is a legal reporting entity. A ledger is one accounting view of that entity's postings. One company code can have several ledgers, for example for IFRS and local GAAP.
- Leaving close to the last day. Many close steps depend on earlier ones. For example, allocations should run after accruals and valuation are posted. Start the task list early and respect the dependencies.
- Ignoring posting periods. If a period is closed, postings are rejected. Check period control before you investigate a failed posting.
How the rest of the tutorial is organized
The next chapters follow the order of the stages above. They begin with organizational structures and master data. They then cover the Universal Journal, ledgers, and posting periods before moving on to posting and integration. After that come the period-end activities, the closing cockpit, the financial statements, reconciliation, year-end, and consolidation. Each chapter builds on the one before it, so the order matters.
Exercise
A colleague says that in S/4HANA you must reconcile controlling and financial accounting line items at every period end, just as in older SAP systems. Which design feature makes this statement mostly wrong, and what does the sign convention of HSL let you check with one query?
Show answer
The Universal Journal (table ACDOCA) stores financial accounting and controlling line items together, so one posting is one line item and no matching between separate tables is needed. Because HSL is signed (debits positive, credits negative), summing HSL per ledger and journal entry should give zero. Any entry where it does not is inconsistent.
Exercise
Name the six stages of record-to-report in order, and say which stage contains accruals and foreign currency valuation.
Show answer
Set up, record, adjust, allocate and settle, close, report. Accruals and foreign currency valuation belong to the adjust stage.