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 CC 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|
|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|
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|
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|
SAP Cost Center BAPI
The Main SAP Cost Center BAPI are:
|SAP COST CENTER BAPI||DESCRIPTION|
|BAPI_COSTCENTER_GETDETAIL||helps 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|
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.
call function 'K_GROUP_SELECT'
class = '0101'
field_name = 'KOSTL '
table = 'CSKT '
set_name = p_KOSTL
no_set_picked = 02.
when 1. message s003.
when 2. message s004.
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|
|CSKT||SAP Cost Center Texts|
|CSKU||SAP Cost Element Texts|
|CSKV||SAP 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|
|CKPE||CO-PC Cost Object Hierarchy: Individual Objects|
|CSKA||Cost Elements (Data Dependent on Chart of Accounts)|
|CSKB||Cost Elements (Data Dependent on Controlling Area)|
|CSKR||Resource master record|
|CSKS||Cost 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>:
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>.
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>:
SAP Cost Center Report
Within the important SAP Cost Center Report check the SAP Standard report RKACSHOW toDisplay 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|
|Name||Name of cost center|
|Description||Description of cost center|
|Responsible person||Cost center manager|
|Department||Department to which cost center belongs|
|Cost center category||Classification of cost centers|
|Hierarchy area||Classification of cost center in standard hierarchy|
|Company code||Assignment to a company code|
|Business area||Assignment to a business area|
|Profit Center||Assignment to a profit center|
|Currency||Cost center currency|
|Logical system||Cost center logical system (ALE)|