SAP Controlling (CO) — Cost Center & Profitability Guide
In this tutorial, you'll learn about SAP Controlling (CO). We cover key concepts, practical examples, and best practices.
SAP Controlling (CO) is the management accounting module that helps businesses understand where money is spent, which products are profitable, and how costs behave — providing internal decision-makers with data that external financial statements cannot deliver.
What You'll Learn
You will learn cost center accounting, internal orders, product costing, profitability analysis (CO-PA), and how CO integrates with FI, PP, and SD for end-to-end cost visibility.
Why It Matters
Financial Accounting (FI) tells you the company made $10M profit. It does not tell you which product, region, or customer contributed how much. CO answers those questions — enabling managers to drop unprofitable products, optimize pricing, and control department costs.
Real-World Use
A beverage company sees overall profit of $5M. CO-PA reveals that the energy drink line generates $7M profit while the juice line loses $2M. CO-CCA shows the juice factory has 30% higher production costs than the energy drink line. Management decides to reformulate the juice recipe and renegotiate supplier contracts.
Learning Path
flowchart LR A["SAP FICO"] --> B["SAP MM"] B --> C["SAP CO
You are here"] C --> D["SAP PP"] D --> E["SAP PS"] style C fill:#f90,color:#fff
CO Organizational Structure
flowchart TD A["Controlling Area"] --> B["Company Code"] B --> C["Cost Centers"] B --> D["Internal Orders"] A --> E["Profit Centers"] A --> F["Profitability Segments"]
Controlling Area
The controlling area is the highest organizational unit in CO. It can contain one or more company codes.
Controlling Area: C100 (Global)
Currency: USD
Fiscal Year: Calendar year
Status: Active
Company Codes: 1000 (US), 2000 (DE), 3000 (JP)
Cost Center Accounting (CO-CCA)
Cost centers track where costs occur within the organization:
| Cost Center | Description | Responsible |
|---|---|---|
| CC-IT | IT Department | IT Director |
| CC-MKT | Marketing | CMO |
| CC-PROD-A | Production Line A | Plant Manager |
| CC-ADMIN | Administration | CFO |
Cost Element Accounting
Every cost posted to CO requires a cost element — the CO equivalent of a GL account:
Primary Cost Elements (match FI expense accounts):
400000 - Salaries
410000 - Rent
420000 - Travel
430000 - Depreciation
Secondary Cost Elements (internal cost flows):
800010 - IT cost allocation
800020 - Building maintenance allocation
Posting to Cost Centers
* Post cost to cost center via CO BAPI
DATA: ls_entry TYPE bapikosc.
ls_entry-costcenter = 'CC-IT'.
ls_entry-activity_type = 'LABOR'.
ls_entry-total_quantity = 160.
ls_entry-unit = 'HR'.
CALL FUNCTION 'BAPI_CONTROLLINGACTIVITY_POST'
EXPORTING
data = ls_entry.
* Output: Cost object 1000000010 created
* Cost: 160 hours * $75/hr = $12,000 to CC-IT
Periodic Allocations
CO automatically distributes costs across cost centers:
| Method | Purpose | Example |
|---|---|---|
| Assessment | Distribute secondary costs | IT costs to all departments |
| Distribution | Distribute primary costs | Rent to cost centers by sqm |
| Activity allocation | Charge by activity consumption | Machine hours to production |
Internal Orders (CO-PC)
Internal orders track costs for temporary activities:
Internal Order: MKT-CAMP-Q4
Description: Q4 Marketing Campaign
Budget: $500,000
Actual: $325,000
Responsible: Marketing Director
Settlement: To cost center CC-MKT and profitability segment
Product Costing (CO-PC)
Product costing calculates the cost of manufacturing:
Cost Without Quantity Structure (CK11N)
Material cost + activity cost + overhead:
Material: LAPTOP-PRO
Raw materials:
1 x SCREEN-15 $150.00
1 x BATTERY-LI $ 40.00
1 x MAINBOARD-X $200.00
Assembly parts $ 60.00
Manufacturing:
Assembly labor $ 25.00
Testing $ 10.00
Machine overhead $ 15.00
--------------------------------
Total cost: $500.00
Costing Run (CK40N)
Mass costing for multiple materials in one run.
Profitability Analysis (CO-PA)
CO-PA answers the question: "Where do we make money?"
Value Fields
| Dimension | Description | Example |
|---|---|---|
| Revenue | Sales revenue | $100,000 |
| Sales deductions | Discounts, rebates | -$5,000 |
| COGS | Cost of goods sold | -$60,000 |
| Gross profit | Revenue - deductions - COGS | $35,000 |
| Distribution costs | Freight, warehousing | -$10,000 |
| Net profit | Gross profit - distribution | $25,000 |
Characteristics
CO-PA segments profitability by characteristics:
Characteristic: Product
Values: LAPTOP-PRO, LAPTOP-BASIC, TABLET-X
Characteristic: Customer
Values: ACME, GLOBALTECH, BETA
Characteristic: Region
Values: North America, Europe, Asia
Real-World Scenario: Profitability Analysis
- SD creates a sales order for 500 laptops to customer ACME in North America
- SD billing posts $250,000 revenue
- CO-PA records: Revenue $250,000, Customer ACME, Product LAPTOP-PRO, Region NA
- PP posts manufacturing costs — $150,000 COGS assigned to the same sale
- SD posts shipping cost of $5,000
- CO-PA calculates: $250,000 - $150,000 - $5,000 = $95,000 profit
- Report KE30 shows: "Product LAPTOP-PRO in Region NA to Customer ACME: $95,000 profit"
Common Errors
1. Cost Center Missing for Posting
FI documents that lack a cost center assignment post to CO with a dummy cost center or error. Maintain default cost centers for each user/transaction.
2. Cost Element Not Created
Every GL account that posts to CO needs a corresponding cost element (KA01). Missing cost elements cause posting failures.
3. Assessment Cycle Not Run
Periodic allocations must be executed each period. Skipping assessment cycles means costs remain undistributed.
4. Settlement Rule Not Defined for Internal Orders
Without a settlement rule (KO88), costs on internal orders never transfer to the target cost center or profitability segment.
5. Profitability Segment Not Updated
If SD billing does not update CO-PA, check the valuation strategy and costing key in the material master.
6. Actual Cost Higher Than Plan
Variances between planned and actual costs must be analyzed (transaction S_ALR_87013111). Large negative variances indicate process inefficiencies.
Practice Questions
What is the difference between FI and CO? FI handles external legal reporting. CO handles internal management accounting for decision-making.
What is a cost center? An organizational unit in CO that tracks where costs occur (by department, function, or location).
What is CO-PA? Profitability Analysis — reports profit by market segment (product, customer, region).
What transaction runs product costing? CK11N for single material costing, CK40N for mass costing.
What is a secondary cost element? A cost element used for internal cost flows (allocations, assessments) that do not correspond to FI expense accounts.
Challenge: A company has five products, three sales regions, and two customer groups. Build a CO-PA structure with value fields (revenue, COGS, discounts, distribution costs) and characteristics (product, region, customer group). Design the costing flow from FI posting through assessment to CO-PA reporting.
FAQ
What's Next
| Tutorial | What You'll Learn |
|---|---|
| SAP FICO — FI-GL, AP, AR & CO Controlling | FI and CO combined guide covering both modules |
| SAP PS — Project System Guide | How project costs are controlled in CO |
Built by the developers of Doda Browser, DodaZIP, and Durga Antivirus Pro. Updated 2026-06-24.
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro