top of page

Versions & Costing Variants in SAP: How SAP Decides Which Prices, Dates and BOM to Cost (5/30)

2 days ago
8 min read

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


In Blog 4 we set up the master data: material master, BOM, routing, work centers, activity prices and costing sheets. That data tells SAP what a product is made of. It does not tell SAP which prices to use, as of which date, or which BOM to pick. Those rules live in the costing variant, and the results are kept apart by versions.


Two terms are often confused, so let's separate them at the start:


  • Costing variant — the rule book for a cost estimate: which prices, which dates, which quantity structure, and which material master price field the result may update.

  • Versions — two different things that share one word. The CO plan version (usually version 0) holds planned costs and activity quantities, and therefore the activity prices. The costing version (usually 1) is a slot on the cost estimate itself.


Get either wrong and CK11N either stops with errors or, worse, produces a clean-looking standard cost built on the wrong prices. We continue with Gear Assembly GA-100 from Blog 4, whose standard cost was ₹906.70 per unit.


1. What a Costing Variant Is (OKKN)

A costing variant does not hold settings of its own. It is a bundle of five control keys, each defined separately and each answering one question CK11N asks before it can cost a material.


Diagram of costing variant ZPC1 (OKKN) splitting into costing type OKKI, valuation variant OKK4, date control OKK6, quantity structure control OKK5 and transfer control OKKM, which together with CO plan version 0 rates produce a CK11N cost estimate.
Figure 1: A costing variant is a bundle of five control keys. CO plan version 0 supplies the activity rates, and the result is saved as costing version 1.

Component

Config

Question it answers

Typical setting for an annual standard

Costing type

OKKI

Which material master price field can the result update?

Price update: standard price

Valuation variant

OKK4

Which prices and rates value materials, activities and overheads?

Planned price 1 → standard price → moving average

Date control

OKK6

Which costing, quantity structure and valuation dates apply?

Costing date from = first day of the new financial year

Quantity structure control

OKK5

Which BOM and routing are selected?

BOM application for costing; routing selection ID

Transfer control

OKKM

Can existing cost estimates of lower-level items be reused?

Usually off for the annual run


SAP delivers PPC1 as the standard cost estimate variant. Most companies copy it into their own variant (for example ZPC1) and adjust the components, rather than changing the SAP-delivered one.


2. Costing Type: Which Price Field Gets Updated (OKKI)

The costing type decides whether a cost estimate is allowed to update the material master and, if so, which field. For standard costing, the price update is set to the standard price, which is what allows CK24 to mark and release the result.


CK24 step

What happens in the material master

GA-100 example

Mark

Result is written to the future standard price (Costing 2 view)

Future price = ₹906.70

Release

Future becomes current standard price (Accounting 1); inventory is revalued

Current standard price = ₹906.70

Next release

Old current price moves to previous standard price

Previous = ₹906.70 when FY 2028-29 is released


Two practical points: marking is only possible after the marking allowance is set in CK24 for the company code and costing variant, and release is only possible in the period of the ‘costing date from’. Both are deliberate controls, not bugs.


3. Valuation Variant: Which Prices Are Used (OKK4)

The valuation variant is the heart of the costing variant. It has separate tabs for materials, activity types, subcontracting, external processing and overheads, and in each tab you set a strategy sequence: SAP tries strategy 1, and only if it finds no price does it move to strategy 2, and so on.


Strategy sequence for steel forging RM-01: planned price 1 is blank and skipped, standard price ₹450 is found and used, moving average ₹460 is never reached; RM-01 is valued at ₹450 × 1.02 = ₹459.
Figure 2: SAP takes the first price it finds. For RM-01, planned price 1 is blank, so the standard price of ₹450 is used and the moving average of ₹460 is never reached.

Tab

What it controls

Common choice

Material valuation

Price of purchased components

1 Planned price 1, 2 Standard price, 3 Moving average price

Activity types

Rate per hour for routing operations

Plan price for the period, or average plan price for the year, from CO plan version 0

Subcontracting

Price of subcontracted items

Price from purchasing info record

External processing

Price of outsourced operations

Price from purchasing info record, then from routing

Overhead

Costing sheet for finished and semi-finished goods, and for components

Costing sheet with 5% material and 10% production overhead (as in Blog 4)


Why planned price 1 comes first. Purchase usually updates planned price 1 (Costing 2 view) for the coming year before the annual costing run. Ranking it first lets the new year's expected prices drive the new standard, while the current standard price acts as a safety net.


Average vs period plan price. If activity prices are planned month by month and vary seasonally, ‘plan price for the period’ makes the standard depend on which month the valuation date falls in. ‘Average plan price’ smooths this and is the safer choice for an annual standard.


4. Date Control: For Which Dates (OKK6)

Date control sets four dates, each of which can be proposed or fixed:


Date

What it decides

Annual standard for FY 2027-28

Costing date from

Start of the cost estimate's validity; also the period in which it can be released

01.04.2027

Costing date to

End of validity

31.03.2028

Quantity structure date

Which BOM and routing versions are valid

01.04.2027

Valuation date

Which prices and activity rates are read

01.04.2027


A common mistake is running the April costing in March with a valuation date of 01.03. SAP then reads March prices and the old year's activity rates, and the new standard quietly carries last year's cost structure.


5. Quantity Structure Control: Which BOM and Routing (OKK5)

Quantity structure control tells SAP how to choose among several BOMs and routings for the same material:


  • BOM application — a priority list of BOM usages and alternatives used for costing (for example, production BOM first, then universal).

  • Routing selection — a selection ID that sets the priority of task list types (routing, rate routing and so on) and their status.

  • Production version — where production versions are maintained, they decide which alternative BOM and routing pair is costed, as we saw in Blog 4.


If GA-100 has an engineering BOM (usage 2) but no production BOM, and the BOM application only looks for usage 1, the cost estimate finds no BOM and material cost drops to zero.


6. Transfer Control: Reuse or Recost (OKKM)

Transfer control lets a cost estimate pick up existing cost estimates of lower-level materials instead of recosting them, within the same plant or across plants. It saves run time and is useful for plant-to-plant transfers, but it carries a risk: if the lower-level estimate is stale, upstream price or BOM changes never reach the finished good. For the annual standard run, most companies switch transfer off so that the whole structure is recosted.


7. Plan Version 0 vs Costing Version 1

The series outline mentions ‘versions 0, 1, etc.’. In practice these are two separate objects, and confusing them is a frequent cause of costing errors.



CO plan version

Costing version

What it holds

Planned primary costs, activity quantities and the resulting activity prices

One result of a cost estimate for a material

Default

Version 0, the plan/actual version and the only one that carries actuals

Version 1, used for standard cost estimates

Set up in

OKEQ, per controlling area and fiscal year

Configuration of the costing variant

Used by

KP06, KP26, KSPI; read by the valuation variant

CK11N, CK40N, CK24

Typical failure

Version 0 not opened for the new fiscal year, so planning and KSPI fail

Results saved in another version cannot be marked and released

Other numbers

Versions 1, 2… for what-if planning

Additional versions for scenarios such as mixed cost estimates


To test next year's rates without disturbing version 0, planners often work in a copy (for example plan version 1) and move the agreed figures into version 0 before the costing run. The standard cost estimate always reads its activity prices from version 0.


8. Why Costing Doesn't Work Without These

With the same BOM, routing and component prices, changing only the settings moves GA-100's standard cost by up to ₹42.90 per unit.


Bar chart of change in GA-100 standard cost versus ₹906.70 baseline: ranking moving average first adds ₹10.71 (₹917.41), planning version 0 at 8,000 machine hours adds ₹42.90 (₹949.60).
Figure 3: Settings alone moved GA-100's standard cost from ₹906.70 to as much as ₹949.60, without any change to the BOM, routing or purchase prices.

Scenario

Material (₹)

Conversion (₹)

Overheads (₹)

Standard cost (₹)

Baseline: ZPC1, planned price 1 → standard price

654.00

200.00

52.70

906.70

Valuation variant ranks moving average first (RM-01 at ₹460)

664.20

200.00

53.21

917.41

Version 0 KP26 planned at 8,000 machine hrs (rate ₹450)

654.00

239.00

56.60

949.60


The last scenario shows why the plan quantity in version 0 matters as much as any configuration key: planning machine hours below normal capacity inflates every product that passes through the machine.


Common errors and fixes

Error

What you see

Fix

No marking allowance in CK24

Mark step not possible

Set marking allowance for company code and costing variant

‘Costing date from’ not in the current period

Release step blocked

Release in the period of the costing date from, or recost with the right date

Version 0 not opened for the fiscal year

KP26 / KSPI fail; no activity price in CK11N

Maintain version 0 for the fiscal year in OKEQ, then plan and run KSPI

Activity planned for some periods only, with ‘plan price for period’

No activity price found for the valuation date

Plan all periods or switch to average plan price

Strategy sequence finds no price

Cost estimate ends with errors

Maintain planned price 1 or add a fallback strategy

BOM application excludes the BOM usage that exists

Material cost missing

Add the usage to the BOM application or create a production BOM

Transfer control picks a stale estimate

Upstream changes not reflected

Switch transfer off for the annual run, or recost lower levels first

Costing run executed with a test variant

Results cannot update the standard price

Rerun CK40N with the standard costing variant


9. Annual Standard Costing Settings Checklist

  • Costing variant (e.g. ZPC1) copied from PPC1 and reviewed for the new year

  • Costing type set to update the standard price

  • Valuation strategy sequence agreed with purchase; planned price 1 updated for the new year

  • Activity price strategy chosen (period vs average) and consistent with how version 0 is planned

  • Costing sheet in the valuation variant updated with the new overhead rates

  • Date control: costing date from = first day of the new financial year; valuation date set accordingly

  • Quantity structure control picks production BOM and routing; production versions valid

  • Transfer control reviewed (usually off for the annual run)

  • CO plan version 0 opened for the new fiscal year; KP06/KP26 complete; KSPI run

  • Marking allowance set in CK24 for the company code and costing variant


10. Why This Matters for Cost Accountants

A standard cost is only as defensible as the rules that produced it. When standard cost is used for inventory valuation, Ind AS 2 permits it only if the result approximates actual cost, and cost auditors will want to know how it was built. In practice, that means being able to show:


  • Which costing variant and valuation strategy were used, and why planned price 1 or the standard price came first.

  • That version 0 activity quantities reflect normal capacity, in line with CAS-2 (Capacity Determination) and CAS-3 (Production and Operation Overheads), so overheads are not over-absorbed into stock.

  • That the valuation date and quantity structure date match the period the standard is meant to represent.


A screenshot set of OKKN, OKK4 and OKK6, plus the version 0 plan for the year, is a simple addition to the costing file that answers most of these questions before they are asked.


Next in the series — Blog 6: Standard Costing vs Actual Costing. Section 02 begins with when to use each approach, and how the choice affects inventory valuation, COGS and reported profit.




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 16+ 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