Skip to content
Tutorials Center
My learning

Topics

Lesson 17 of 36 ยท Finance: FI/CO

SAP Controlling (CO): Cost Elements, Cost Centers, Internal Orders and Allocations

Learn SAP Controlling basics: controlling area, cost elements, cost center accounting and hierarchies, internal orders, budgets, actual versus plan reports, and allocations such as assessment.

Financial accounting (FI) reports to the outside world: banks, tax offices and shareholders. Controlling (CO) reports inside the company: who spent the money, on what, and was that planned? Managers need cost per department, per project and per product. CO supplies it. In this lesson you learn the controlling area, cost elements, cost centers, internal orders and the allocations that move costs between them.

FI versus CO

Aspect FI CO
Audience External Internal management
Rules Laws and accounting standards Company's own rules
Unit Company code Controlling area
Focus Accounts, balance sheet Costs, responsibilities, margins
Period Legal fiscal year Any analysis period

Controlling area and cost elements

The controlling area is the organizational unit for internal accounting. It can cover several company codes if they share the same chart of accounts and fiscal year variant; the usual setup is one controlling area for the group. All cost objects belong to it.

A cost element classifies a cost. Primary cost elements are P&L accounts of the general ledger that receive real costs from outside (salaries, materials, rent). Secondary cost elements exist only in CO and carry internal allocations (for example "internal services"). In ECC they were separate master data (KA01); in S/4HANA cost elements are G/L accounts of a certain type (primary expense or secondary), maintained in FS00.

Cost centers

A cost center is a place where costs are incurred and where a manager is responsible: the IT department, the canteen, the warehouse. You create one with KS01 and give it a number, name, responsible person, company code, hierarchy area and validity dates.

  • Cost center group (KSH1): a tree of cost centers for reporting and allocation, for example "Administration" containing HR, Finance and IT.
  • Standard hierarchy: the single hierarchy that includes all cost centers of a controlling area.

Costs reach a cost center by any posting that carries it: a vendor invoice (FB60) with expense account 400000 and cost center 1100 posts to FI and to CO at once. In S/4HANA this happens in the universal journal, so there is no extra reconciliation.

flowchart TD
    CA["Controlling area 1000"] --> ADM["Group: Administration"]
    CA --> PRD["Group: Production"]
    ADM --> HR["CC 1100 HR"]
    ADM --> IT["CC 1200 IT"]
    ADM --> FIN["CC 1300 Finance"]
    PRD --> M1["CC 2100 Assembly"]
    PRD --> M2["CC 2200 Packing"]

Cost centers are grouped in a hierarchy for reporting.

Planning and reporting

Cost center accounting compares plan and actual values (and variances):

  • Plan: managers plan costs per cost element and period (KP06).
  • Actual: postings arrive from FI, MM, HR and so on.
  • Reports: KSB1 shows actual line items of a cost center; S_ALR_87013611 and similar show the standard report "cost centers: actual/plan/variance", and Fiori apps show the same.

A budget variance, for example, is actual minus plan. A positive number over the plan is an overspend.

Python Stand-in: cost center plan versus actual

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Internal orders

An internal order (KO01) collects costs for a short-term, specific purpose that does not fit a cost center: a marketing campaign, a trade fair, an event, a repair job. Order types define the use:

  • Overhead orders: costs are collected and settled to a cost center or G/L account.
  • Investment orders: costs are capitalized, settled to an asset under construction.
  • Accrual orders and orders with revenue.

An order can have a budget (KO22) and an availability control that warns or blocks if spending exceeds it. Statistical orders only report costs, since the real posting goes to a cost center.

Lifecycle: create and release the order, post costs against it (as a cost assignment on invoices or with KB11N manual reposting), then settle it (KO88 for one order, KOK0 for groups) to the receiver, usually a cost center or an asset. After settlement the order is technically completed and closed.

Python Stand-in: internal order budget control

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Allocations

Many cost centers deliver services to others (IT serves everyone) or hold shared costs (rent). Allocations move costs to the receivers according to a rule, using secondary cost elements so that the original primary costs stay visible. Main cycles:

Method Transaction How it works
Assessment KSU5 Allocates the total cost of a sender to receivers by a key (headcount, floor area); posts to an assessment cost element
Distribution KSV5 Allocates by key but keeps the original primary cost elements
Activity allocation KB21N Charges receivers for services in units (hours x price)
Periodic reposting KSW5 Moves primary costs to another cost center with the original element

An assessment cycle defines the segments: sender (cost center group), receiver(s) and the tracing factor (such as "fixed percentages" or "statistical key figures"). It is run each period end, and it is part of period-end closing.

Python Stand-in: assessment of IT costs by headcount

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

After the assessment, the IT cost center has zero balance, the receiver cost centers carry the IT cost under the assessment cost element, and the total over all cost centers is unchanged.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Who is the main audience of controlling reports?

    CO supports internal decisions; FI serves external reporting.
  2. 2. What is an internal order typically used for?

    Internal orders collect costs for specific purposes and are settled afterwards.
  3. 3. Which allocation method uses a key such as headcount and posts to an assessment cost element?

    Assessment allocates the total cost of senders to receivers via a secondary element.
  4. 4. What does a positive plan/actual variance (actual minus plan) indicate?

    Actual above plan means costs exceeded the plan.

Summary

  • CO serves internal management; the controlling area groups company codes for cost accounting.
  • Cost centers collect costs by responsibility; internal orders collect them for specific purposes and are settled.
  • Plan versus actual reports show variances.
  • Allocations (assessment, distribution, activity) move costs to the receivers using secondary cost elements.

Next: Profit centers and product costing