• ABAP Snippets

SAP and ABAP Free Tutorials

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

sap cost center

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.

Table of Contents

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 Cost Center tcodes for Activity types

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

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 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 CC Overhead Distribution Tcodes

The main Tcodes for Cost Center Overhead Distribution are:

SAP Cost Center BAPI

The Main SAP Cost Center BAPI are:

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:

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:

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 :

  • 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 .

  • 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 :

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:

Related Posts

SAP Dunning Transaction Codes Tcodes

The Main SAP Dunning Transaction Codes

November 28, 2019 January 21, 2020

SAP Accounts Payable Tcodes & Accounts Receivable Tcodes ( SAP FI AP & AR Tcodes)

SAP Accounts Payable Tcodes & Accounts Receivable Tcodes ( SAP AP Tcodes & SAP AR Tcodes)

August 1, 2019 May 5, 2020

SAP Payment Terms Table

The Most Important SAP Payment Terms Tables (ZTERM, Text…)

October 21, 2018 March 24, 2021

Take our AI Survey to be entered to win a $250 gift card

ERP Suites

«  View All Posts

Six common ways to derive profit center in SAP

October 17th, 2024

By David Schenz

profits

In a ‘normal’ SAP organization structure, the NewGL, or profit center (PC), is the smallest level in which P&L and Balance Sheets can be created for a management entity. Deriving the PC is a complicated process. It’s critical to consider the sources of GL postings and how each of those postings will get a PC. 

Manually-assigned profit center

The easiest way to assign a PC is manually in the posting. Here we can see the user keying the profit center onto the entry in FB50. 1

Direct-Entry

Deriving the profit center from a CO assignment

For entries that have a CO item assigned—such as a cost center, WBS element or real estate contract—the PC can be derived from the CO object. Below, we have a cost center that is assigned to a PC. 2

Cost-Center-Assignment

When a posting uses the cost center just created, the PC will be automatically derived in the posting. 3

Cost-Center-in-FB50

Material master

On a material master, the PC is populated on the “Costing 1” view. The PC on the accounting view is used on SD & MM flows on their downstream accounting documents. 4

material

It’s critical that the PC be populated as part of standard material master setup. Otherwise, postings will likely err out.

Defaulting via configuration

For cash clearing, house bank GL, and a few other accounts, configuration can be done to enable the PC to be derived from the GL account and company code. 5 This configuration should be used carefully since a default is not generally as detailed as a direct assignment.

default-pc

Bank accounts and sub accounts tend to use a default PC since there is no option in either lockbox processing or in electronic bank statement that is easy to populate. This does makes some sense. Cash is usually held at a corporate level and not in a management division.

Substitution

For more complex logic on assigning PC, substitutions can be setup in OBBH on the Financial side  or GGBH  on the  Controlling side. PC substitutions should be used cautiously. If they are needlessly complex or used in lieu of more careful configuration and design, they can become unwieldy to maintain and understand. Here the PC is populated with a constant “1” when GL account 511050 is used. 6

FI-Substitution

Adding the profit center through the document splitter

Definitely the trickiest, but most common method of derivation is via the document splitter. The document splitter is a feature of the NewGL that ensures all postings receive a PC—including subledger, balance sheet, and so forth. The complete document splitter will be explored in a second post , but I’ll write a few words now.

First, there is an entry view and a GL view. The entry view of a posting is what the user enters and what is used for subledger purposes. The GL view is used for financial statement preparation and reporting. Most users look at the entry view. GL accountants are usually the only ones who care about the GL view.

What makes the splitter powerful is that even subledger postings can receive a PC. And even more importantly, they can receive more than one PC. This enables the receivable on a sale that is split between two PCs to receive both PCs.

In the entry below, we can see that an invoice is being raised with expense items in two different PCs. 7

FB60-with-Doc-Split

When we look at the entry view 8 , there is only a single AP item against the vendor. But when we look at it in GL view 9 , the AP line is split into two line items.

FB03-Entry-View

Click here   to see a complete list of SAP Finance insights from the field for senior consultants.

1,3 FB50 2 KS01 4 MM01 5 Financial Accounting (New) -> General Ledger Accounting (New) -> Master Data -> Profit Center -> Assigned Default Profit Center to Accounts 6 OBBH 7 FB60 8,9 FB03

David Schenz

David Schenz is a leader in building teams that deliver complex business systems transformations and roll-outs. With nearly ten years SAP experience, he offers deep knowledge of retail accounting processes, insurance accounting, and retail business strategies. As Director at ERP Suites, David guides employees toward a common goal of helping customers achieve optimal success.

Don't forget to share this post:

Related Articles

Sap finance: what do gl account fields do.

April 16th, 2019 | 1 min read

SAP Finance: Handling invoice variances with three-way match

October 26th, 2017 | 2 min read

SAP Finance: Performing GL conversions correctly

September 29th, 2017 | 2 min read

SAP Finance: How to configure SAP GL document splitting

August 31st, 2017 | 3 min read

SAP Finance: How to configure house bank accounts in SAP FICO

August 30th, 2017 | 3 min read

SAP Finance: How to configure Lockbox for Cash Application

August 2nd, 2017 | 3 min read

SAP Finance: The dangers of SE16 transactions in SAP ECC

August 2nd, 2017 | 1 min read

SAP Finance: Mastering SAP FI currency types

July 13th, 2017 | 2 min read