Cost and Management Accounting (Controlling)
Financial accounting answers “what must we tell the outside world?” Management accounting answers “which product, customer, and factory actually makes us money?” SAP calls this CO (Controlling); others call it cost accounting or managerial accounting.
Financial vs management accounting
| Financial (FI) | Management (CO) | |
|---|---|---|
| Audience | Regulators, investors, banks | Internal management |
| Rules | IFRS / GAAP, mandatory | Whatever helps decisions |
| Granularity | Legal entity | Product, customer, channel, machine, order |
| Timing | Period-locked | Continuous |
| Currency | Legal | Any |
| Can be restated freely | No | Yes |
They must reconcile: total cost in CO = total expense in FI. Reconciliation ledgers exist precisely to prove this, and a gap between FI and CO is a standing audit question.
Cost elements
| Type | Meaning | Example |
|---|---|---|
| Primary cost element | Mirrors a P&L GL account — cost that came from outside | Salaries, materials, rent, depreciation |
| Secondary cost element | Exists only in CO — used for internal allocations and activity charging | “IT services allocated”, “machine hours charged” |
Secondary cost elements never appear in the financial statements. They exist so that internal cost flows don’t corrupt the legal books. In S/4HANA these are unified into the chart of accounts as a distinct account type, but the concept is unchanged.
Cost behaviour
| Type | Behaviour | Example |
|---|---|---|
| Variable | Changes with volume | Raw material, piece-rate labour, packaging |
| Fixed | Constant within a range | Rent, salaried staff, depreciation |
| Semi-variable / mixed | Base + usage | Electricity, phone |
| Step-fixed | Jumps at capacity thresholds | Adding a second shift or a machine |
| Type | Traceability | |
|---|---|---|
| Direct | Traceable to one cost object | Fabric in a shirt |
| Indirect (overhead) | Shared, must be allocated | Factory supervisor’s salary |
Contribution margin = Revenue − Variable costs. The single most useful number in management accounting, because it tells you what an incremental sale is worth.
Costing methods
Standard costing
Set a planned cost per unit before the period. Post at standard. Record variances where actual differs.
Standard cost of Product X:
Material 12.00
Labour 4.50
Overhead 3.20
────────────────────
Total 19.70
Actual production cost 21.40 → 1.70 unfavourable variance per unit
Variances are the point — they tell you where things went wrong:
| Variance | Formula | Cause |
|---|---|---|
| Material price | (actual price − std price) × actual qty | Purchasing |
| Material usage/quantity | (actual qty − std qty) × std price | Production waste, scrap |
| Labour rate | (actual rate − std rate) × actual hours | HR / overtime |
| Labour efficiency | (actual hrs − std hrs) × std rate | Productivity |
| Overhead spending | actual OH − budgeted OH | Cost control |
| Overhead volume | budgeted − applied OH | Under/over-utilised capacity |
| Mix / yield | For multi-input processes | Recipe deviation |
Standard costing is dominant in discrete manufacturing. Standards are typically re-set annually in a standard cost roll-up, which revalues all inventory and posts a large one-off revaluation entry.
Actual costing
Track the real cost of each unit. Accurate, expensive, and needs periodic settlement to redistribute variances back onto the goods that carried them. SAP’s Material Ledger with actual costing does a full multi-level settlement each period.
Activity-based costing (ABC)
Allocate overhead by the activities that drive it, rather than a blanket rate.
Traditional: overhead allocated at 200% of direct labour
ABC: Setup activity → allocated per setup (₹4,500/setup)
Machine activity → per machine hour (₹320/hour)
Quality inspection → per inspection (₹150/inspection)
Order handling → per customer order (₹800/order)
ABC reveals that low-volume, high-complexity products are usually far less profitable than traditional costing suggests. Analytically superior, operationally heavy — most companies run it periodically rather than continuously.
Marginal / direct costing
Only variable costs go into inventory; fixed costs are period costs. Great for decisions, not permitted for external reporting under IFRS/GAAP (which require absorption costing). So companies run both.
Absorption costing
Fixed manufacturing overhead is absorbed into inventory value. Required by IFRS/GAAP. Side effect: producing more than you sell increases reported profit, because fixed cost is capitalised into unsold inventory. This is a known distortion and a classic exam question.
Cost centre accounting
1. Plan costs per cost centre per period
2. Actual costs post to cost centres
3. Allocate service cost centres → operating cost centres
4. Charge operating cost centres → products via activity rates
5. Analyse: plan vs actual, over/under absorption
Activity types and rates
Cost centre SEW-01 (sewing line)
Planned annual cost: 12,000,000
Planned machine hours: 30,000
─────────────────────────────────────
Activity rate: 400 per machine hour
Production orders consume machine hours at this rate. At period end, actual cost vs absorbed cost gives the over/under absorption, which is either settled to the products or written off to P&L.
Splitting the rate into fixed and variable portions is important: only the variable portion is relevant to a make-or-buy decision.
Profitability analysis (CO-PA)
The multi-dimensional margin report:
Product A Product B Product C
Gross revenue 500,000 300,000 180,000
− Discounts (25,000) (18,000) (30,000)
− Rebates (10,000) (6,000) (12,000)
= Net revenue 465,000 276,000 138,000
− Standard COGS (280,000) (160,000) (110,000)
= Gross margin 185,000 116,000 28,000
− Production variance (8,000) 2,000 (14,000)
− Freight (12,000) (7,000) (9,000)
− Sales commission (9,300) (5,520) (2,760)
− Marketing (20,000) (5,000) (1,000)
= Contribution 135,700 100,480 1,240
Characteristics (dimensions): product, product group, customer, customer group, sales channel, region, sales rep, plant, order type. Value fields: revenue, discount, COGS, freight, commission, variance.
Product C looks fine on gross margin and is nearly worthless after variances and freight. Finding that is the entire purpose of CO-PA.
Two flavours:
- Costing-based CO-PA — value fields, populated at billing with standard cost estimates. Fast reporting, but reconciling it to FI is famously awkward.
- Account-based CO-PA — uses GL accounts, always reconciles to FI. The modern default in S/4HANA.
Internal orders and projects as cost collectors
- Internal order — collects cost for a discrete activity (a trade show, a repair, a marketing campaign). Settles to a cost centre, an asset, or P&L when complete.
- WBS element / project — hierarchical, for larger efforts, with budgets and availability control.
Both are temporary; both settle and close. See Dimensions and Analytics Tags.
Transfer pricing
When one group entity sells to another, the price affects each entity’s reported profit — and therefore each country’s tax take. Tax authorities require the price to be arm’s length (OECD guidelines).
Methods: comparable uncontrolled price, cost plus, resale minus, transactional net margin, profit split.
ERP implication: you need to value the same goods movement at multiple prices simultaneously — legal transfer price for the statutory books, group cost for consolidation, and possibly a management price for internal reporting. This is what SAP’s multiple valuation approaches (legal / group / profit centre valuation) exist for.
Country-by-country reporting (BEPS Action 13) requires filing revenue, profit, tax, and headcount by jurisdiction — data that must come out of the ERP.
Budgeting and variance
See Budgeting and Commitments.
Practical notes for developers
- Every cost posting needs a cost object. Enforce it at posting; a cost line with no cost object is invisible in every management report.
- CO must reconcile to FI. Build the reconciliation report before you build anything else in this area.
- Allocation cycles are expensive batch jobs — they read and write large volumes. Design for restartability and idempotency, and run them in a defined sequence.
- Variance calculation is a settlement job, not a real-time computation.
- Never let management reporting write to the financial ledger. Separate ledgers or a clearly separated ledger dimension.
- Standard cost changes revalue inventory. A standard cost roll-up is a controlled event with a large one-off P&L impact, not a master-data edit.