SAP Cost Center Tcodes & SAP Cost Center Tables, BAPI & Enhancement

SAP cost Center: this post will guide through Cost Center in SAP in a technical Overview.

The Related SAP Tables and BAPI for Cost Center display, retrieve and maintain will be exposed. 

What Cost Center in SAP ?

In business a cost centre is a division that adds to the cost of an organisation, but only indirectly adds to its profit.

Typical examples include research and development, marketing and customer service. (source: wiki.scn.sap.com)

SAP Cost Center Tcodes

If you are looking for a specific tcodes for SAP CC, check the following list for CC Tcodes and related transaction Cost Center in SAP:

SAP Cost Center Basic Setting Tcodes

The List of SAP Cost Center Transaction Codes for Basic Settings are:

SAP CC Tcode Basic Settings
KS01 Creation of Cost Center
KSH1 Creation of Cost Center Group
F-02 Posting of Transactions in FI
KSB1 To View Cost Center Wise Report
KB61 Repost CO Line Items
KB11N Repost Costs
KP06 Planning Wise
S_ALR_87013611 To View Cost Center Wise Variance Report
OKENN Display Standard Hierarchy
OKEON Change Standard Hierarchy
KSB5 Display Cost Center Accounting Document

SAP Cost Center tcodes for Activity types

The Activity Types for Cost Center can be handled using the SAP Tcodes:

SAP Activity Types Tcodes TCode For Activity Types
KL01 Creation of Activity Types
KLH1 Creation of Activity Type Groups
KB21N Enter Activity Allocation

Also check SAP Profit Center Tcodes (Transaction Codes): PCA, Group and Hierarchy

SAP CC Codes  For Statistical Key Figures

Statistical Key Figures Tcodes for Cost Center in SAP are:

SAP Tcodes Transaction Code For Statistical Key Figures
KK01 Creation of Statistical Key Figures
KBH1 Creation of Statistical Key Figures Groups
KB31N Enter Statistical Key Figures

SAP Cost center Tcodes for Overhead Assessment

The path in SPRO for Overhead Assessment is

Path: Accounting –Controlling –Cost element accounting-Mater data-Cost element –Individual processing –Create secondary (KA06)

The SAP Overhead Assessment Cost Center Transaction Codes are:

Sap Cost Center Tcode TCode For Overhead Assessment
KA06 Creation of Secondary Cost Element – 42
KSU1 Creation of Assessment Cycle
KSU5 Overhead Assessment

SAP CC Overhead Distribution Tcodes

The main Tcodes for Cost Center Overhead Distribution are:

Tcode TCode For CC Overhead Distribution
KSV1 Creation of Distribution Cycle
KSV5 Overhead Distribution

SAP Cost Center BAPI

The Main SAP Cost Center BAPI are:

SAP Cost Center BAPI Description
BAPI_COSTCENTER_GETDETAILhelps retrieve all detail about a SAP cost center
BAPI_COSTCENTERGROUP_GETDETAIL can be used to find cost centers in a group use this bapi
BAPI_COSTCENTER_CREATEMULTIPLE Create One or More Cost Centers
BAPI_COSTCENTER_GETDETAIL Detailed Information About Cost Center For Key Date
BAPI_COSTCENTER_GETDETAIL1 Detail Information for Cost Center on Key Date (1)
BAPI_COSTCENTER_GETLIST List of Cost Centers Using Selection Criteria
BAPI_COSTCENTER_GETLIST1 List of Cost Centers for Selection Criteria (1)
BAPI_CTR_GETACTALLOCATIONTYPES Checks Which IST-ILV Types are Possible According to Activity Type Categ.
BAPI_CTR_GETACTIVITYPRICES Read prices for cost center/activity type according to selection
BAPI_CTR_GETACTIVITYQUANTITIES Rad plan activity/capacity/scheduled activity for cost center/acty type
BAPI_CTR_GETACTIVITYTYPES List of cost centers / activity types with control information
BAPI_COSTCENTERGROUP_GETDETAIL

K_GROUP_SELECT: SAP Cost Center Read BAPI

Here an other SAP Standard function K_GROUP_SELECT to read detail of SAP cost center.

It is more generic and it can use to read SAP WBS element or even SAP Profit Center data.


Main SAP Cost Center Tables: Cost Center Table in Sap

Regarding SAP Cost Center Data Model. The main Table for Cost center is CSKU.

Here the list of Top 3 Cost Center Table in SAP are:

SAP Cost Center Table Description
CSKTSAP Cost Center Texts
CSKUSAP Cost Element Texts
CSKVSAP Cost Center Resource texts

Check also List of Important SAP FI Tables (SAP Finance Tables)

SAP Cost Center CSKU Table

So Cost Element Table in SAP is CSKU.

Check also try to use SETLEAF Table with

  • Cost Center group in SAP : setclass = 0101
  • WBS Element group : setclass = 0110
  • SAP Profit Center Group : setclass = 0106

SAP Cost Centers Group Table and Description

In addition to CSKS-KOSTL for Cost Center, the field CSKS-KHINR – it is cost center group.

You will have the description in CSKT-KTEXT

SAP Cost Center Hierarchy Table

The main tables for sap cost center hierarchy table are:

SAP Cost Center Table Description
CKPECO-PC Cost Object Hierarchy: Individual Objects
CSKACost Elements (Data Dependent on Chart of Accounts)
CSKBCost Elements (Data Dependent on Controlling Area)
CSKRResource master record
CSKSCost Center Master Data

Alternatives How to read Cost Center Hierarchy in SAP

Try the SETHEADER table. SETCLASS = ‘0101’. SUBCLASS may be your planning area (KOKRS)

You can also use the FM K_HIERARCHY_TABLES_READ.

You can use the following BAPI to get cost center hirarchy BAPI_COSTCENTER_GETDETAIL

To find cost centers in a group use this bapi: BAPI_COSTCENTERGROUP_GETDETAIL. 

(source: Tables to be used for getting cost centre hierarchy)


SAP Cost Center Enhancements & User-Exit

SAP Customer Exit COOMKS01

Customer Exit COOMKS01 Short Text Customer Fields for Cost Center Master Data

Function module exits are called from SAP programs at defined points with the ABAP statement CALL CUSTOMER-FUNCTION <nnn>:

  • EXIT_SAPLKMA1_001
  • EXIT_SAPLKMA1_002

CI_CSKS – Include for customer specific master data for cost center.

SAP Customer Exit COOMKS02

Customer Exit COOMKS02 Short Text Cost Center: Checks When Saving

These are the components of customer exit COOMKS02.

Function module exits are called from SAP programs at defined points with the ABAP statement CALL CUSTOMER-FUNCTION <nnn>.

  • EXIT_SAPLKMA1_003

Read more on SAP Note 379464 SAP enhancement COOMKS02 (Cost center: Checks during saving)

SAP Customer Exit COOMKS03

Technical Information Customer Exit COOMKS03 Short Text Cost Center: BAPI Enhancements Components These are the components of customer exit COOMKS03.

Function Modules Function module exits are called from SAP programs at defined points with the ABAP statement CALL CUSTOMER-FUNCTION <nnn>:

  • EXIT_SAPL0012_001
  • EXIT_SAPL0012_002
  • EXIT_SAPL0012_003
  • EXIT_SAPL0012_004
  • EXIT_SAPL0012_005
  • EXIT_SAPL0012_006
  • EXIT_SAPL0012_007
  • EXIT_SAPL0012_008
  • EXIT_SAPL0012_009
  • EXIT_SAPL0012_010

SAP Cost Center Report

Within the important SAP Cost Center Report check the SAP Standard report RKACSHOW  to Display CO Cost Segments.

Read more about SAP Cost Centers Master Data.
Here a nice article worth to read for Cost Center in SAP


SAP Cost Center Master Data

You can maintain cost center master data using time-based dependencies (see Time-Dependency of Master Data ).

The following time dependencies are possible in the SAP System:

  • Time independent (I)
  • Fiscal-year-based time dependency (Y)
  • Period-based time dependency (P)
  • Day-based time dependency (D)

SAP Cost Center Basic Data Fields

Here the main list of Cost Center Basic Data in SAP:

CC Basic Data Description of CC Basic Data Field
NameName of cost center
DescriptionDescription of cost center
Responsible personCost center manager
DepartmentDepartment to which cost center belongs
Cost center categoryClassification of cost centers
Hierarchy areaClassification of cost center in standard hierarchy
Company codeAssignment to a company code
Business areaAssignment to a business area
Profit CenterAssignment to a profit center
CurrencyCost center currency
Logical systemCost center logical system (ALE)

SAP and SAP logo are registered trademarks of SAP AG. Sap4tech.net is not associated with SAP AG.
We have made every effort to make sure provide relevant search results, use the content on this site at your own risk.

We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.