A cost center is an organizational unit to which costs are assigned, so managers can see what their area spends. This guide shows how to create one with transaction KS01, using controlling area 2004, cost center 900000, company code 1211, profit center 920000 and the original screenshots. It explains each field, the cost center category, the standard hierarchy, the link to a profit center, a real scenario, common mistakes, troubleshooting and best practices. If you encounter any errors in SAP, send a screenshot to pramod@learntosap.com and I will help you resolve the issue.
Every company spends money, and sooner or later someone asks a simple question: who spent it? The cost center is SAP's answer. It is a small organizational unit, such as a department or a project, to which costs are assigned, so managers can see what their area costs. This guide shows how to create a cost center with transaction KS01 using the original screenshots, and then explains each field, the cost center category, the hierarchy and the checks that keep the master data clean.
In simple words, a cost center is a labeled box for spending. Salaries, travel, electricity and repairs of a department all go into its box, and the manager of the box can see the total at any time.
Cost centers are specific organizational units within a company that are responsible for incurring costs. They help in tracking and managing expenses by categorizing them into logical groups. Cost centers can be based on various criteria, such as departments, projects, or geographical locations.
| Object | What It Collects | Typical Question |
|---|---|---|
| Cost center | Costs of a department, project or location. | What does this area spend? |
| Profit center | Revenues and costs of a business unit. | How profitable is this unit? |
| Internal order | Costs of a specific task or event. | What did this campaign cost? |
In this guide, the cost center is linked to a profit center, so the costs also appear in profit center reporting. The three objects work together, but each answers a different question.
| Transaction | Purpose |
|---|---|
| KS01 | Create a cost center (used in this guide). |
| KS02 | Change a cost center. |
| KS03 | Display a cost center. |
| KSB1 | Display cost center line items. |
| OKEON | Maintain the standard hierarchy. |
| KSH1 | Create a cost center group. |
If the company code is not assigned to the controlling area, SAP will refuse the cost center. The plant 1251 error page explains how to fix that assignment.
Go to Tcode KS01. Follow the path: ACCOUNTING → FINANCIAL ACCOUNTING → CONTROLLING → COST CENTER ACCOUNTING → MASTER DATA → COST CENTER → KS01.
Select the controlling area. Controlling Area: 2004.
Select the cost center. Cost Center: 900000.
Select the validity. Valid From: 14.10.2023 To: 31.12.9999.

Select the name. Name: Finished Material.
Select the cost center category. Cost Center Category: F.
Select the hierarchy area. Hierarchy Area: ENERG_COS.
Select the company code. Company Code: 1211.
Select the profit center. Profit Center: 920000.


Save. SAP shows a message that the cost center was created.
The table below summarizes every value from the steps above, so you can compare it with your own screen before you save.
| Field | Value Used | Note |
|---|---|---|
| Transaction | KS01 | Create cost center |
| Controlling area | 2004 | Use your own controlling area |
| Cost center | 900000 | Follow your numbering rule |
| Valid from / to | 14.10.2023 to 31.12.9999 | No planned end date |
| Name | Finished Material | Short name of the cost center |
| Category | F | Check the meaning in your system |
| Hierarchy area | ENERG_COS | Node in the standard hierarchy |
| Company code | 1211 | Must be assigned to the controlling area |
| Profit center | 920000 | Links to profit center accounting |
| Final action | Save | Creates the cost center |
| Field | Meaning | Why It Matters |
|---|---|---|
| Controlling area | The organizational unit in which the cost center exists. | All cost centers belong to one controlling area. |
| Cost center | The number that identifies the cost center. | Used in postings, reports and allocations. |
| Valid from / to | The period in which the cost center can be used. | Prevents postings outside the period. |
| Name | A short and a long description. | Helps users find the right cost center. |
| Person responsible | The manager of the cost center. | Receives reports and answers questions. |
| Category | A key that groups cost centers by type. | Controls allocations and reports. |
| Hierarchy area | The node in the standard hierarchy. | Groups cost centers for reporting. |
| Company code | The legal entity that owns the cost center. | Decides which ledger receives the costs. |
| Profit center | The profit center linked to the cost center. | Feeds profit center reports. |
Field names and layout differ slightly between releases, so compare with your own screen before you save. The person responsible is not in the original steps, but most companies fill it in.
The cost center category groups cost centers by purpose, for example production, administration or sales. The category can influence which fields are required, which actual postings are allowed and how the cost center appears in reports. In this guide the category is F.
The meaning of each category key is defined in configuration, so check what F means in your own system before you copy it. When you set up your own scheme, keep the number of categories small, and document what each one means, so users do not have to guess. A clear category scheme makes reports easier and reduces mistakes when new cost centers are created.
Every cost center must sit somewhere in the standard hierarchy of the controlling area. The hierarchy is a tree: the top node is the whole company, below it are divisions or functions, and below those are the individual cost centers. In this guide the cost center is placed under the node ENERG_COS, which the controlling team created earlier with OKEON.
The hierarchy decides how costs are summed up in reports and how allocations are structured. A cost center that sits in the wrong node ends up in the wrong report, which can mislead managers. If you cannot find the node you need, ask the controlling team to create it first, and then return to KS01.
The profit center in this guide is 920000. The link means that costs posted to the cost center are also visible in profit center reporting, where revenues and costs of a business unit are brought together. If the link is missing or wrong, the profit center report will show a profit that does not include those costs.
Agree the link with the controller before creating the cost center. In many companies, one profit center covers several cost centers, and the rule is documented in a table that lists each cost center, its manager and its profit center. A table like this is also useful for audits and for new colleagues who want to understand the structure.
After the cost center is created, users can post costs to it. When someone debits an expense account, SAP asks for a cost center, and the user enters 900000. For example, a manual journal entry with FB50 can debit an expense account and enter the cost center, and the amount then appears in the cost center reports.
Line items can be reviewed with KSB1. If you cannot post to the cost center, check that the posting date falls inside the validity period, that the cost center is not locked and that the company code matches the account's company code. Most posting errors have one of these three causes.
At Learn Pharma in Pune, a new production line for finished material started, and the controller wanted to see its costs separately. Controller Sameer Joshi asked functional consultant Neha Deshmukh to create a cost center for it.
Neha opened KS01, entered controlling area 2004, cost center 900000 and the validity from 14.10.2023 to 31.12.9999. She entered the name Finished Material, category F, hierarchy area ENERG_COS, company code 1211 and profit center 920000, and saved.
Accounts payable executive Pooja Patil posted the first expense invoice to the cost center, and Sameer checked the amount with KSB1. By month end the production manager could see exactly what the line cost. Neha added the cost center to the master data list, so future audits could see who created it and why.
A good numbering scheme makes cost centers easy to find and hard to confuse. A common approach is to give each company code or function its own block of numbers, for example 100000 to 199999 for administration and 900000 to 999999 for production. The number in this guide, 900000, follows such a block, and the name Finished Material tells users what the cost center is for.
| Element | Good Practice | Example |
|---|---|---|
| Number | Reserve blocks by function or company code. | 900000 for production |
| Name | Short, clear and unique. | Finished Material |
| Long text | Add the purpose and the manager. | Costs of the finished material line |
| Category | Use a small, documented set. | F |
Write the scheme down, share it with everyone who requests cost centers, and review it once a year. Clear names save a great deal of time when people search for the right cost center during posting.
Cost centers change over time. Managers move, departments merge and projects end. Use KS02 to change the name, the person responsible or the hierarchy node, and create a new validity interval when the change should apply from a certain date. Do not delete a cost center that has postings. Lock it instead, so that nobody can post to it, but history remains available in reports.
Review the list of cost centers once a year with the budget owners. Cost centers that nobody uses should be locked, and cost centers with unusual postings should be investigated. A short review keeps the structure small and the reports meaningful.
The cost center is not only a place to collect costs. It is also the basis for planning and reporting. Managers plan their expected costs per cost center, and SAP compares the actual postings with the plan. The difference, called variance, shows who is over or under budget and by how much.
| Report Idea | What It Shows | Who Uses It |
|---|---|---|
| Actual vs plan | Costs against the budget of the cost center. | Budget owner |
| Line items | Every posting to the cost center. | Accountant |
| Hierarchy report | Costs summed up by the standard hierarchy. | Controller |
| Profit center report | Costs and revenues of a business unit. | Management |
Because all of these reports depend on the master data, a clean cost center structure pays back every month at closing.
Every cost center should have a named person responsible, the budget owner. This person approves spending, reviews the monthly report and answers questions from finance. Without a clear owner, costs are posted but nobody takes responsibility, and unusual amounts are noticed late.
When you create a cost center, make sure the owner agrees and understands the role. Give the owner access to the reports, and remind them regularly to check their cost centers. A simple monthly review of ten minutes, supported by finance, prevents surprises at year end and builds a culture in which people care about the costs of their own area.
| Symptom | Likely Cause | What to Check |
|---|---|---|
| Company code not accepted. | It is not assigned to the controlling area. | Check the assignment with OX19. |
| Hierarchy area not found. | The node does not exist in the standard hierarchy. | Create the node with OKEON. |
| Cost center already exists. | The number is already in use. | Choose another number or check with KS03. |
| Cannot post to the cost center. | The date is outside the validity or the cost center is locked. | Check validity and lock indicators. |
| Cannot save. | Missing authorization or a required field. | Read the message and check the required fields. |
| Role | Responsibility |
|---|---|
| Controller | Approves new cost centers and the hierarchy. |
| Functional consultant | Creates cost centers and checks the configuration. |
| Budget owner | Confirms the purpose and the person responsible. |
| Auditor | Reviews changes and approvals. |
| Key user | Tests postings and reports problems. |
Writing down these responsibilities avoids the situation where everyone assumes someone else owns the cost center list, and nobody does.
| Step | Action | Owner |
|---|---|---|
| 1 | Request the cost center with purpose and manager. | Budget owner |
| 2 | Check for an existing cost center with the same purpose. | Controlling team |
| 3 | Create the cost center with KS01. | Functional consultant |
| 4 | Test a posting in the quality system. | Key user |
| 5 | Approve and release. | Controller |
| 6 | Update the cost center list. | Master data team |
Following the same six steps for every new cost center keeps the structure consistent and easy to audit.
Cost centers remain central to SAP S/4HANA, and many companies maintain them with the Fiori app Manage Cost Centers, while KS01 may still be available in your release. Fields and screens can differ from the classic examples used here. Confirm the exact steps in your own release before you train users. The business principle does not change: each cost center has a number, a validity, a hierarchy node and a link to the company code and the profit center.
Q: What is a cost center?
An organizational unit that incurs costs, such as a department, project or location.
Q: Which transaction creates it?
KS01.
Q: What does the hierarchy area do?
It places the cost center in the standard hierarchy for reporting and allocations.
Q: Why link a cost center to a profit center?
So costs also appear in profit center reporting.
Q: What must exist before creating a cost center?
A controlling area, and a company code assigned to it.
Creating a cost center with KS01 gives managers a clear view of what their area spends. Open the transaction, enter controlling area 2004, cost center 900000 and the validity dates, add the name Finished Material, category F, hierarchy area ENERG_COS, company code 1211 and profit center 920000, and save. Then test a posting and keep the cost center list up to date. If you encounter any errors in SAP, send a screenshot to pramod@learntosap.com and I will help you resolve the issue.