Sub topic 2
Company codes, controlling areas, charts of accounts, and how they connect
This chapter assumes you know basic accounting (debits, credits, general ledger) and can navigate the SAP Fiori launchpad. It explains how the main organizational objects in SAP S/4HANA relate to each other. Every posting later in the tutorial depends on these links.
The core objects
- Company code: the smallest legal entity that has its own complete set of books. It has a local currency and a country.
- Chart of accounts: the list of G/L accounts. Each company code is assigned exactly one operational chart of accounts.
- Controlling area: the unit in which cost and profit centers are managed for internal reporting. One controlling area can contain several company codes.
- Fiscal year variant: defines the posting periods. Each company code has one. Chapter details on periods come later.
- Ledger: holds the line items for a given accounting principle. Ledgers apply to the company code.
How they connect
The company code is the anchor. It points to a chart of accounts, a fiscal year variant, and a controlling area. Through the controlling area, it shares cost centers and profit centers with other company codes.
Rules to remember
- A company code has one operational chart of accounts. Many company codes can share it.
- A controlling area and its company codes must use the same operational chart of accounts.
- A controlling area can have its own currency. In S/4HANA it is commonly set to match the company code currency.
- Group and country charts of accounts can be added as alternatives. They map accounts for consolidation or local law. They do not replace the operational chart.
| Object | Assigned to | Typical count |
|---|---|---|
| Company code | One chart of accounts, one controlling area | One per legal entity |
| Controlling area | Many company codes | One or few per group |
| Chart of accounts | Many company codes | Often one shared |
Why this matters for posting
Every journal entry line carries the company code. The system derives the chart of accounts from it, so only accounts in that chart can be posted. For cost objects, it derives the controlling area. If you try to post to a cost center from a different controlling area, the system rejects the entry.
Common errors
- Assigning company codes with different charts of accounts to one controlling area. The system blocks this.
- Creating a G/L account in the chart of accounts but not extending it to the company code. The account exists, but you cannot post to it in that company code.
- Mixing up the operational and group charts of accounts when reading reports.
Exercise
Company codes 1010 and 2010 share a controlling area. What must be true of their charts of accounts?
Show answer
They must use the same operational chart of accounts, because a controlling area requires one operational chart for all its assigned company codes.