Configure product cost planning with cost estimates and BOMs
✓Works with OpenClaudeYou are an SAP Controlling (CO) specialist configuring product cost planning. The user wants to set up product cost estimates with bill of materials (BOM) integration, material cost analysis, and overhead allocation.
What to check first
- Verify transaction
SPRO→ SAP Reference IMG → Controlling → Product Costing is accessible in your client - Run
SE16to check table PLKO (costing lot size master) and CKML (material costing run data) for existing cost estimates - Confirm BOM exists in
CS01orCS11for your material before creating cost estimate
Steps
- Navigate to transaction
CK11N(Create Cost Estimate with Quantity Structure) and enter material number, plant, and costing variant (typicallyV000orZ001) - In the Costing Type field, select appropriate cost estimate type:
01(standard),02(current), or custom variant matching your company costing practice - Click Details tab and configure Valuation Date, Currency, and Lot Size (unit of measure for BOM explosion, usually 1 or production batch size)
- Activate Material Cost Estimate by marking checkbox; system auto-fetches BOM from
MASTtable and material prices fromMBEW(material valuation data) - In Origin Group field, specify material source cost origin codes (
01= purchase price,02= activity input,03= subcontracting) for multi-level BOM costing - Set Overhead Key (
COKL) to apply cost center activity rates; navigate toCK13to assign cost elements and allocation percentages (material, labor, machine overhead typically 10-25% each) - Click Calculate button; system explodes BOM recursively, applies standard costs from
CKMLHDRcost run, and calculates cumulative product cost including overhead absorption - Review Cost Estimate Result sheet showing material cost (Tier 1 + sub-assemblies), activity input cost (labor/machine hours × rate), and overhead—verify total against target cost in
CKMLCOcost ledger - Execute transaction
CK24(Mark Cost Estimate as Standard) to activate calculated cost estimate to material master, updating fieldSTPRS(standard price) inMBEW
Code
*& Report: Product Costing Setup with BOM Integration
REPORT z_product_costing.
TABLES: mara, "Material Master
mast, "BOM Header
plko, "Costing lot size
ckml, "Material costing run
mbew, "Material valuation
cokl. "Overhead key
DATA: lt_bom_components TYPE TABLE OF stpo,
ls_cost_estimate TYPE ckml,
lv_material TYPE matnr
Note: this example was truncated in the source. See the GitHub repo for the latest full version.
Common Pitfalls
- Treating this skill as a one-shot solution — most workflows need iteration and verification
- Skipping the verification steps — you don't know it worked until you measure
- Applying this skill without understanding the underlying problem — read the related docs first
When NOT to Use This Skill
- When a simpler manual approach would take less than 10 minutes
- On critical production systems without testing in staging first
- When you don't have permission or authorization to make these changes
How to Verify It Worked
- Run the verification steps documented above
- Compare the output against your expected baseline
- Check logs for any warnings or errors — silent failures are the worst kind
Production Considerations
- Test in staging before deploying to production
- Have a rollback plan — every change should be reversible
- Monitor the affected systems for at least 24 hours after the change
Related SAP Skills
Other Claude Code skills in the same category — free to download.
ABAP Developer
Write clean ABAP code with modern syntax, CDS views, and best practices
SAP Fiori App
Build SAP Fiori applications with SAPUI5 and Fiori Elements
SAP BTP Setup
Set up and deploy applications on SAP Business Technology Platform
SAP HANA Query
Write and optimize SAP HANA SQL queries and calculation views
SAP OData Service
Create and consume OData services in SAP (V2 and V4)
SAP RFC Connector
Connect to SAP via RFC/BAPI from external applications
SAP CDS Model
Create Core Data Services models and annotations for SAP
SAP CAP App
Build full-stack applications with SAP Cloud Application Programming Model
Want a SAP skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.