top of page

Master Data Essential for Costing in SAP CO: The Six Objects Behind Every Standard Cost (4/30)

Nov 17
10 min read

SAP Costing Series · Section 01: Foundations · Blog 4 of 30


In SAP, a product cost is only as accurate as the master data behind it. CK11N does not ‘calculate’ a cost from scratch: it reads six master data objects and multiplies quantities by prices. If any one of them is missing or wrong, the standard cost is wrong, and so are inventory valuation, COGS and every margin report built on it.


In Blog 3 we followed the flow of costs from PO to GRN to production to sale. This post looks at the data that drives that flow:


  1. Material Master — what the item is, how it is valued and how it is procured

  2. Bill of Materials (BOM) — what goes into it, and in what quantity

  3. Routing — the operations needed to make it, and how long each takes

  4. Work Centers — where each operation happens, and which cost center pays for it

  5. Cost Centers & Activity Types — what an hour of machine or labour time costs

  6. Costing Sheets — how overheads are added on top


The running example is a simple discrete product, Gear Assembly GA-100, so you can see each object's contribution to one final number.


Flow diagram: Material Master, BOM, Routing, Work Center, activity prices and costing sheet feed material, conversion and overhead cost into a ₹906.70 CK11N cost estimate.
Figure 1: Each master data object feeds one cost element. Together they produce the CK11N standard cost of ₹906.70 for GA-100.

1. Material Master (MM01 / MM02)

The material master decides whether an item can be costed at all, at what price, and to which GL account its value posts. Costing reads four groups of views; the fields below are the ones that most often break a cost estimate.


View

Field

What it does in costing

MRP 2

Procurement type (E / F / X)

E = in-house, so SAP explodes BOM and routing; F = external, so SAP picks a purchase price

MRP 2

Special procurement key

Phantom assembly, stock transfer from another plant, subcontracting, etc.

MRP 1

Assembly scrap %

Inflates all component quantities of this assembly

Costing 1

With Quantity Structure

Must be ticked for in-house items, or no BOM/routing is read

Costing 1

Do Not Cost

If ticked, the item is excluded from roll-up

Costing 1

Origin Group

Drives cost element and cost component assignment

Costing 1

Overhead Group

Links the material to a costing sheet overhead rate

Costing 1

Variance Key

Without it, no production variances are calculated

Costing 1

Costing Lot Size

Spreads setup time over this quantity

Costing 2

Planned prices 1–3; future / current / previous standard

Valuation sources for purchased items; cost estimate results land here

Accounting 1

Valuation Class

Determines the inventory GL account (OBYC → BSX)

Accounting 1

Price Control (S / V)

Standard price or moving average price


Price control: S vs V


Standard price (S)

Moving average price (V)

Typical use

Finished and semi-finished goods

Raw materials, packing, stores

Inventory valued at

Fixed standard until next release

Weighted average of every receipt

Price difference goes to

Price difference account (PRD)

Absorbed into inventory value

Effect on analysis

Shows purchase price variance clearly

Variance hidden in the average


Example. Steel forging RM-01 has 100 pcs in stock valued at ₹450 each. A GRN arrives for 100 pcs at ₹470.


  • Under S (standard ₹450): stock is valued at ₹90,000 for the 200 pcs; ₹2,000 (100 × ₹20) goes to the price difference account.

  • Under V: the average becomes (₹45,000 + ₹47,000) ÷ 200 = ₹460, and the ₹2,000 sits inside inventory.


In S/4HANA with Material Ledger active, S-controlled items are revalued to actual at month-end, which we cover in Blog 8.


2. Bill of Materials (CS01 / CS02)

The BOM supplies the material cost: every component quantity in it is multiplied by that component's price. A wrong quantity, a missing scrap percentage or the wrong alternative BOM changes the product cost directly.


  • BOM usage — usage 1 (Production) is normally picked by the costing variant's quantity structure; a BOM created only for usage 2 (Engineering) is ignored.

  • Alternative BOM — one material can have several recipes (e.g. imported vs local bearing). The production version decides which one is costed.

  • Base quantity — quantities are per base quantity. A BOM for 100 pcs read as if it were for 1 pc inflates material cost 100 times.

  • Item category — L (stock item) is costed; N (non-stock) is costed from the item's own price; T (text) is not costed.

  • Relevancy to costing indicator on each item — blank means the item is skipped.

  • Component scrap % — adds expected loss of that component.

  • Validity date — a BOM valid from next month is invisible to today's cost estimate.


Worked example — GA-100 material cost per unit


Component

BOM qty

Component scrap

Qty costed

Price (₹)

Cost (₹)

RM-01 Steel forging

1 pc

2%

1.02

450.00

459.00

BR-20 Bearing

2 pcs

—

2.00

85.00

170.00

PK-05 Packing set

1 set

—

1.00

25.00

25.00

Total material





654.00


BOM diagram for GA-100 gear assembly: steel forging 1.02 × ₹450 = ₹459, two bearings ₹170 and packing set ₹25, totalling ₹654 material cost per unit.
Figure 2: Material cost comes straight from the BOM. Leaving out the 2% component scrap would understate cost by ₹9 per unit.

Production version (C223). In S/4HANA the production version links one alternative BOM to one routing for a lot-size and validity range. If it is missing or locked, CK11N either stops or picks the wrong quantity structure.


3. Routing (CA01 / CA02)

The routing supplies the conversion cost: it lists each operation, the work center where it runs, and the standard time it takes. Costing multiplies those times by activity prices.


  • Operation and work center — each operation points to one work center, which in turn points to a cost center.

  • Control key — must be costing-relevant (e.g. PP01). An operation with a non-costing control key carries time for scheduling but adds ₹0 to cost.

  • Standard values — setup, machine and labour time per operation, entered against the base quantity.

  • Base quantity — times are per base quantity; setup time is usually per lot and is spread over the costing lot size.

  • Operation scrap — extra quantity started at an operation to cover expected rejection there.

  • External processing — subcontracted operations (e.g. heat treatment) are costed from the purchasing info record price rather than activity rates.


GA-100 routing (base quantity 100 pcs)


Op

Description

Work center

Setup (hr/lot)

Machine (hr/100)

Labour (hr/100)

0010

CNC turning

CNC-01

1.0

25.0

25.0

0020

Assembly & testing

ASM-01

—

—

40.0


Per unit, that is 0.25 machine hour and 0.25 labour hour on CNC-01, 0.40 labour hour on ASM-01, plus 0.01 setup hour (1 hour ÷ costing lot size of 100). In process industries (PP-PI), the master recipe (C201) takes the place of the routing; we cover that in Blog 22.


4. Work Centers (CR01 / CR02)

The work center is the bridge between production and controlling: it converts routing times into cost by linking each standard value to a cost center and an activity type. Its Costing tab is the part that matters here.


  • Cost center assignment, with validity dates — if the validity ends before the costing date, the operation is not costed.

  • Activity types per standard value — e.g. setup and machine time to activity type MCH-HR, labour time to LAB-HR.

  • Formula keys — tell SAP how to compute activity quantity from routing values; SAP-delivered keys such as SAP001 (setup), SAP002 (machine) and SAP003 (labour) cover most cases.

  • Standard value key — defines which standard values (setup, machine, labour) the routing will ask for.


Work center

Cost center

Setup →

Machine →

Labour →

CNC-01

4100 Machining

MCH-HR

MCH-HR

LAB-HR

ASM-01

4200 Assembly

—

—

ASM-LAB


A common audit finding: two machines with very different running costs mapped to the same cost center and activity type. The cost estimate then averages them, and product-wise profitability is distorted.


5. Cost Centers & Activity Types

Cost centers collect what a department spends; activity types express its output (machine hours, labour hours) so that cost can be charged to products at a rate per hour. The activity price is where cost accounting judgement enters SAP.


  • Cost center (KS01) — assigned to a node of the standard hierarchy (OKEON), with a category such as production, service or administration, a profit center and a validity period.

  • Activity type (KL01) — unit of measure (H), category 1 (manual entry, manual allocation) for production activities, and an allocation cost element, which in S/4HANA is a secondary cost element of type 43 created in FS00.


Planning steps that produce the rate


  1. KP06 — plan primary costs (salaries, power, depreciation, consumables) by cost element for each cost center, in plan version 0.

  2. KP26 — plan activity output (hours) for each cost center / activity type.

  3. KSPI — SAP calculates the plan activity price.


Plan activity price = Planned cost of the cost center (incl. allocated service costs) ÷ Planned activity quantity


Cost center

Activity type

Planned cost (₹)

Planned qty (hr)

Price (₹/hr)

4100 Machining

MCH-HR

36,00,000

12,000

300

4100 Machining

LAB-HR

18,00,000

9,000

200

4200 Assembly

ASM-LAB

10,80,000

6,000

180


Why the denominator matters. If KP26 is planned at 8,000 machine hours instead of 12,000, the machine rate jumps from ₹300 to ₹450 and every product passing through CNC-01 looks 50% costlier on that operation. The planned quantity should reflect normal capacity, the same principle CAS-2 (Capacity Determination) and CAS-3 (Production and Operation Overheads) apply to overhead absorption. Activity price planning is covered in depth in Blog 17.


6. Costing Sheets (KZS2)

The costing sheet adds overheads that are not charged through activity types — typically stores and procurement overhead on material, and factory overhead on conversion. It is built from three components:


Component

Question it answers

GA-100 example

Base

On what amount?

B100 = raw material cost elements; B200 = activity cost elements

Overhead rate

At what % or rate?

C100 = 5% material overhead; C200 = 10% production overhead (can vary by plant or overhead group)

Credit key

Which cost center gets the credit?

E100 → 2100 Stores; E200 → 4900 Factory admin


The costing sheet is assigned to the costing variant's valuation variant (Blog 5), and the material's overhead group in Costing 1 lets you apply different rates to different product families.


Line

Base

Base value (₹)

Rate

Overhead (₹)

Material overhead

Material cost

654.00

5%

32.70

Production overhead

Conversion cost

200.00

10%

20.00

Total overhead




52.70


On actual production orders, the same costing sheet is applied at month-end (KGI2 / CO43) and credits the stated cost centers, so plan and actual overhead are calculated on the same logic.


7. How It All Connects: The GA-100 Cost Estimate

Putting the six objects together, CK11N arrives at a standard cost of ₹906.70 per unit for GA-100. Each line of the itemization traces back to exactly one master data object.


Item

Source master data

Quantity

Rate (₹)

Value (₹)

RM-01 Steel forging

BOM + Material Master price

1.02 pc

450.00

459.00

BR-20 Bearing

BOM + Material Master price

2 pcs

85.00

170.00

PK-05 Packing set

BOM + Material Master price

1 set

25.00

25.00

Op 0010 Setup

Routing + Work Center + KSPI rate

0.01 hr

300.00

3.00

Op 0010 Machine

Routing + Work Center + KSPI rate

0.25 hr

300.00

75.00

Op 0010 Labour

Routing + Work Center + KSPI rate

0.25 hr

200.00

50.00

Op 0020 Assembly labour

Routing + Work Center + KSPI rate

0.40 hr

180.00

72.00

Material overhead

Costing Sheet

5% of 654.00

—

32.70

Production overhead

Costing Sheet

10% of 200.00

—

20.00

Standard cost per unit




906.70


Waterfall chart of GA-100 standard cost per unit: material ₹654 (72.1%), conversion ₹200 (22.1%) and overheads ₹52.70 (5.8%) add up to ₹906.70.
Figure 3: Material drives 72% of GA-100's standard cost, so BOM quantities and component prices deserve the closest review.

Once marked and released (CK24), ₹906.70 becomes the standard price in Accounting 1 and values every unit of GA-100 in stock.


8. Common Master Data Errors and Their Fixes

Most failed or distorted cost estimates trace back to one of these gaps. Each fix is a master data correction, not a costing configuration change.


Error

What you see in costing

Fix

No valid price for a purchased component

Cost estimate ends with errors; component valued at ₹0

Maintain planned or standard price (MM02) per the valuation strategy

Production version missing or locked

BOM/routing not found, or wrong alternative costed

Create or unlock the production version (C223)

BOM usage or validity date wrong

Material cost missing

Check usage and valid-from date (CS02)

Control key not costing-relevant

Operation shows time but ₹0 cost

Change to a costing control key (CA02)

Activity price not calculated

Conversion cost ₹0 or error on activity type

Plan in KP26 and run KSPI for version 0 and the right fiscal year

Work center cost center validity expired

Operation not costed

Extend validity in the Costing tab (CR02)

Overhead group missing

No overhead line in itemization

Maintain overhead group in Costing 1

‘With Quantity Structure’ unticked, or ‘Do Not Cost’ ticked

In-house item costed at zero or skipped

Correct the Costing 1 flags

Base quantity mismatch in BOM or routing

Cost 10× or 100× too high or low

Align base quantity with the unit of measure

Wrong valuation class

Inventory and COGS post to the wrong GL

Correct valuation class (Accounting 1); if stock or open orders exist, clear them first


Blog 26 takes these apart in detail, with the CK11N error messages and the order in which to investigate them.


9. Pre-Costing Checklist

Run through these 14 checks before the annual or quarterly costing run; they catch most problems before CK40N does.


  • Procurement type and special procurement key correct for every material in the structure

  • ‘With Quantity Structure’ ticked and ‘Do Not Cost’ unticked for in-house items

  • Origin group, overhead group and variance key maintained in Costing 1

  • Costing lot size realistic for setup spreading

  • Valuation class and price control (S / V) correct in Accounting 1

  • Planned or standard prices updated for all purchased components

  • BOM usage 1 exists and is valid from the costing date

  • Base quantity and unit of measure checked on BOM and routing

  • Component and assembly scrap percentages reviewed

  • Production version valid and unlocked for every costed material

  • Routing operations use costing-relevant control keys

  • Work center cost center assignment valid for the costing date

  • KP26 quantities planned at normal capacity and KSPI run for version 0

  • Costing sheet rates and credit keys reviewed for the new year


Key transactions

Object

Create / Change / Display

Useful reports

Material Master

MM01 / MM02 / MM03

MM60 (materials list)

BOM

CS01 / CS02 / CS03

CS11 (explosion), CS15 (where-used)

Routing

CA01 / CA02 / CA03

CA85 (mass replace work center)

Production Version

C223

—

Work Center

CR01 / CR02 / CR03

CR05 (work center list)

Cost Center

KS01 / KS02 / KS03

OKEON (standard hierarchy)

Activity Type

KL01 / KL02 / KL03

KP26 (plan), KSPI (price calculation)

Primary cost planning

KP06

KSBL (plan activity prices)

Costing Sheet

KZS2

—

Cost Estimate

CK11N

CK13N (display), CK24 (mark & release), CK40N (costing run)


10. Why This Matters for Cost Accountants

For a CMA, SAP master data is the audit trail behind the cost sheet. When you prepare cost records or sign a cost audit report, the numbers in the product-wise cost statement come from these objects:


  • Material cost (CAS-6) — BOM quantities, scrap percentages and material prices.

  • Employee cost (CAS-7) and conversion cost — routing times and activity prices.

  • Overheads (CAS-3) — activity prices and costing sheet rates; their reasonableness depends on the capacity assumed in KP26 (CAS-2).


Reviewing master data before the costing run is cheaper than explaining variances after it. In practice, a quarterly master data review by finance and production together prevents most month-end surprises.


Next in the series — Blog 5: Versions & Costing Variants. The master data is in place; next we look at the settings that tell SAP how to use it — price control, quantity structure determination, overhead application, and why costing version 0 matters.




CMA Dhananjay Jadhav, FCMA, is the founder of D P Jadhav & Co., Cost & Management Accountants, Nashik, and Co-founder of BlueCrown Management Consultancy Pvt. Ltd. He has 17+ years in manufacturing finance across Sula Vineyards, DCM Shriram, Johnson & Johnson, Schneider Electric and others, and is Past Chairman of the ICMAI Nashik Chapter (2025–26). For SAP costing reviews, cost audit and Virtual CFO support, visit dpjadhav.com.

Comments


bottom of page