I_CostCenter

DDL: I_COSTCENTER SQL: IFICOSTCENTER Type: view BASIC

Cost Center

I_CostCenter (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Cost Center · Accounting and Financial Close

I_CostCenter is a Basic CDS View (Dimension) that provides data about "Cost Center" in SAP S/4HANA. It reads from 1 data source (csks) and exposes 103 fields with key fields ControllingArea, CostCenter, ValidityEndDate. It has 23 associations to related views.

SAP Help Documentation

CategoryCDS Views for Overhead Cost Controlling
Data CategoryDimension
Corresponding DataSource2CIFICOSTCENTER
Purpose
This CDS view helps you retrieve master data of a cost center object. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have one of the following business catalogs assigned: SAP_FIN_BC_OH_MD_CCA_PC This business catalog is assigned to the SAP_BR_DEVELOPER business role.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-GL-IS
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Data Extraction
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view helps you retrieve master data of a cost center object.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
csks csks from

Associations (23)

CardinalityTargetAliasCondition
[1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_CostCenterText _Text $projection.ControllingArea = _Text.ControllingArea and $projection.CostCenter = _Text.CostCenter and $projection.ValidityEndDate = _Text.ValidityEndDate
[0..*] I_CostCenterHierarchyNode _CostCenterHierarchyNode $projection.ControllingArea = _CostCenterHierarchyNode.ControllingArea and $projection.CostCenter = _CostCenterHierarchyNode.CostCenter
[0..1] I_Currency _Currency $projection.CostCenterCurrency = _Currency.Currency
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_BusinessArea _BusinessArea $projection.BusinessArea = _BusinessArea.BusinessArea
[0..*] I_ProfitCenter _ProfitCenter $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea
[0..1] I_FunctionalArea _FunctionalArea $projection.FunctionalArea = _FunctionalArea.FunctionalArea
[0..1] I_CostCenterCategory _CostCenterCategory $projection.CostCenterCategory = _CostCenterCategory.CostCenterCategory
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_Region _Region $projection.Region = _Region.Region and $projection.Country = _Region.Country
[0..1] I_CostingSheetProcedure _CostingSheetProcedure _CostingSheetProcedure.ConditionUsage = 'A' and _CostingSheetProcedure.ConditionApplication = 'KA' and _CostingSheetProcedure.CostingSheetProcedure = $projection.CostingSheet
[0..1] I_UserContactCard _UserRespContactCard $projection.CostCtrResponsibleUser = _UserRespContactCard.ContactCardID
[0..1] I_UserContactCard _UserCrtedContactCard $projection.CostCenterCreatedByUser = _UserCrtedContactCard.ContactCardID
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_AvailabilityCtrlProfile _AvailabilityCtrlProfile $projection.AvailabilityControlProfile = _AvailabilityCtrlProfile.AvailabilityControlProfile
[1..1] E_CostCenter _Extension $projection.ControllingArea = _Extension.ControllingArea and $projection.CostCenter = _Extension.CostCenter and $projection.ValidityEndDate = _Extension.ValidityEndDate
[0..1] I_ActivityBasedCostingTmpl _ActivityBasedCostingTmplCpi _ActivityBasedCostingTmplCpi.ControllingArea = $projection.ControllingArea and _ActivityBasedCostingTmplCpi.ActivityBasedCostingEnvrmt = 'CPI' and _ActivityBasedCostingTmplCpi.ActivityBasedCostingTemplate = $projection.ActyIndepFormulaPlanningTmpl
[0..1] I_ActivityBasedCostingTmpl _ActivityBasedCostingTmplCpd _ActivityBasedCostingTmplCpd.ControllingArea = $projection.ControllingArea and _ActivityBasedCostingTmplCpd.ActivityBasedCostingEnvrmt = 'CPD' and _ActivityBasedCostingTmplCpd.ActivityBasedCostingTemplate = $projection.ActyDepdntFormulaPlanningTmpl
[0..1] I_ActivityBasedCostingTmpl _ActivityBasedCostingTmplSci _ActivityBasedCostingTmplSci.ControllingArea = $projection.ControllingArea and _ActivityBasedCostingTmplSci.ActivityBasedCostingEnvrmt = 'SCI' and _ActivityBasedCostingTmplSci.ActivityBasedCostingTemplate = $projection.ActyIndependentAllocationTmpl
[0..1] I_ActivityBasedCostingTmpl _ActivityBasedCostingTmplScd _ActivityBasedCostingTmplScd.ControllingArea = $projection.ControllingArea and _ActivityBasedCostingTmplScd.ActivityBasedCostingEnvrmt = 'SCD' and _ActivityBasedCostingTmplScd.ActivityBasedCostingTemplate = $projection.ActyDependentAllocationTmpl
[0..1] I_ActivityBasedCostingTmpl _ActivityBasedCostingTmplSki _ActivityBasedCostingTmplSki.ControllingArea = $projection.ControllingArea and _ActivityBasedCostingTmplSki.ActivityBasedCostingEnvrmt = 'SKI' and _ActivityBasedCostingTmplSki.ActivityBasedCostingTemplate = $projection.ActlIndepStatisticalKeyFigures
[0..1] I_ActivityBasedCostingTmpl _ActivityBasedCostingTmplSkd _ActivityBasedCostingTmplSkd.ControllingArea = $projection.ControllingArea and _ActivityBasedCostingTmplSkd.ActivityBasedCostingEnvrmt = 'SKD' and _ActivityBasedCostingTmplSkd.ActivityBasedCostingTemplate = $projection.ActlDepStatisticalKeyFigures

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName IFICOSTCENTER view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
ObjectModel.representativeKey CostCenter view
ObjectModel.sapObjectNodeType.name CostCenter view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Cost Center view
VDM.viewType #BASIC view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
Consumption.filter.businessDate.at true view

Fields (103)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea kokrs Controlling Area
KEY CostCenter kostl Substitute CC
KEY ValidityEndDate datbi Validity period
ValidityStartDate datab Validity period
IsBlkdForPrimaryCostsPosting bkzkp Lock Indicator for Actual Primary Postings
IsBlockedForPlanPrimaryCosts pkzkp Lock Indicator for Plan Primary Costs
CompanyCode bukrs Company Code
BusinessArea gsber Business Area
CostCenterCategory kosar Cost Center Category
CostCtrResponsiblePersonName verak Person Responsible
CostCtrResponsibleUser verak_user User Responsible
CostCenterCurrency waers Transaction Currency
CostingSheet kalsm Search Proced.
TaxJurisdiction txjcd Tax Jurisdiction
ProfitCenter prctr Profit Centers
Plant werks Receiving Plant
LogicalSystem logsystem Logical System
CostCenterCreationDate ersda Entry Date
CostCenterCreatedByUser usnam Entered By
IsBlkdForSecondaryCostsPosting bkzks Lock Indicator for Actual Secondary Costs
IsBlockedForRevenuePosting bkzer Lock Indicator for Actual Revenue Postings
IsBlockedForCommitmentPosting bkzob Lock Indicator for Commitment Update
IsBlockedForPlanSecondaryCosts Lock Indicator for Plan Secondary Costs
IsBlockedForPlanRevenues Lock Indicator for Planning Revenues
CostCenterAllocationMethod vmeth Indicator for Allowed Allocation Methods
ConsumptionQtyIsRecorded mgefl Indicator for Recording Consumption Quantities
Department abtei Department
SubsequentCostCenter nkost Subsequent Cost Center
ConditionUsage kvewe Usage of the condition table
ConditionApplication kappl Application
CostCenterAccountingOverhead koszschl CO-CCA Overhead Key
Country land1 Country/Region Key
FormOfAddress anred Title
AddressName name1 PA text
AddressAdditionalName name2 Name2/First nme
CostCenterAddrName3 name3 Name 3
CostCenterAddrName4 name4 Name 4
CityName ort01 Province
District ort02 District
StreetAddressName stras Street and House Number
POBox pfach PO Box
PostalCode pstlz Postal Code
POBoxPostalCode pstl2 PO Box Postal Code
Region regio Region (State, Province, County)
Language spras Off. Language
TeleboxNumber telbx Telebox Number
PhoneNumber1 telf1 First telephone number
PhoneNumber2 telf2 Second telephone number
FaxNumber telfx Fax Number
TeletexNumber teltx Teletex Number
TelexNumber telx1 Telex Number
DataCommunicationPhoneNumber datlt Data communication line no.
CostCenterPrinterDestination drnam Printer Destination for CCtr Report
CostCenterStandardHierArea khinr Standard Hierarchy Area
CostCollector cckey Cost Collector Key
CostCenterIsComplete kompl Completion Flag for the Cost Center Master Record
IsStatisticalCostCenter Indicator: Cost Center is Statistical Account Assignment
ObjectInternalID objnr Val. Obj. No.
CostCenterFunction funkt Function of Cost Center
CostCenterAlternativeFunction afunk Alternative Function of Cost Center
FunctionalArea func_area Receiving Func. Area
ActyIndepFormulaPlanningTmpl cpi_templ Template for Activity-Independent Formula Planning
ActyDepdntFormulaPlanningTmpl cpd_templ Template for Activity-Dependent Formula Planning
ActyIndependentAllocationTmpl sci_templ Template: Activity-Independent Allocation to Cost Center
ActyDependentAllocationTmpl scd_templ Template: Activity-Dependent Allocation to Cost Center
ActlIndepStatisticalKeyFigures ski_templ Templ.: Stat. KF
ActlDepStatisticalKeyFigures skd_templ Template: Act. Stat. Key Figure - Cost Center/Activity Type
JointVenture vname Volatility Name
JointVentureRecoveryCode recid Statistical Key Figure Item
JointVentureEquityType etype RDS Entity Type
JointVentureObjectType jv_otype Joint Venture Object Type
JointVentureClass jv_jibcl JIB/JIBE Class
JointVentureSubClass jv_jibsa JIB/JIBE Subclass A
BudgetCarryingCostCenter budget_carrying_cost_ctr Budget-Carrying Cost Center
AvailabilityControlProfile avc_profile Budget Availability Control: Profile
AvailabilityControlIsActive avc_active Budget Availability Control for Cost Centers is Active
Fund fund Sender Fund
GrantID grant_id Grant
FundIsFixAssigned fund_fix_assigned Indicator for Fund with Fixed Assignment
GrantIDIsFixAssigned grant_fix_assigned Indicator for Grant with Fixed Assignment
FunctionalAreaIsFixAssigned func_area_fix_assigned Indicator for Functional Area with Fixed Assignment
_ControllingArea _ControllingArea
_Text _Text
_CostCenterHierarchyNode _CostCenterHierarchyNode
_Currency _Currency
_CompanyCode _CompanyCode
_BusinessArea _BusinessArea
_ProfitCenter _ProfitCenter
_FunctionalArea _FunctionalArea
_CostCenterCategory _CostCenterCategory
_Country _Country
_Region _Region
_CostingSheetProcedure _CostingSheetProcedure
_Language _Language
_AvailabilityCtrlProfile _AvailabilityCtrlProfile
_UserRespContactCard _UserRespContactCard
_UserCrtedContactCard _UserCrtedContactCard
_ActivityBasedCostingTmplCpi _ActivityBasedCostingTmplCpi
_ActivityBasedCostingTmplCpd _ActivityBasedCostingTmplCpd
_ActivityBasedCostingTmplSci _ActivityBasedCostingTmplSci
_ActivityBasedCostingTmplScd _ActivityBasedCostingTmplScd
_ActivityBasedCostingTmplSki _ActivityBasedCostingTmplSki
_ActivityBasedCostingTmplSkd _ActivityBasedCostingTmplSkd

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_CostCenter.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IFICOSTCENTER

CREATE VIEW I_CostCenter AS
SELECT
  kokrs AS ControllingArea,
  kostl AS CostCenter,
  datbi AS ValidityEndDate,
  datab AS ValidityStartDate,
  bkzkp AS IsBlkdForPrimaryCostsPosting,
  pkzkp AS IsBlockedForPlanPrimaryCosts,
  bukrs AS CompanyCode,
  gsber AS BusinessArea,
  kosar AS CostCenterCategory,
  verak AS CostCtrResponsiblePersonName,
  verak_user AS CostCtrResponsibleUser,
  waers AS CostCenterCurrency,
  kalsm AS CostingSheet,
  txjcd AS TaxJurisdiction,
  prctr AS ProfitCenter,
  werks AS Plant,
  logsystem AS LogicalSystem,
  ersda AS CostCenterCreationDate,
  usnam AS CostCenterCreatedByUser,
  bkzks AS IsBlkdForSecondaryCostsPosting,
  bkzer AS IsBlockedForRevenuePosting,
  bkzob AS IsBlockedForCommitmentPosting,
  cast(pkzks as fis_pkzks preserving type) AS IsBlockedForPlanSecondaryCosts,
  cast(pkzer as fis_pkzer preserving type) AS IsBlockedForPlanRevenues,
  vmeth AS CostCenterAllocationMethod,
  mgefl AS ConsumptionQtyIsRecorded,
  abtei AS Department,
  nkost AS SubsequentCostCenter,
  kvewe AS ConditionUsage,
  kappl AS ConditionApplication,
  koszschl AS CostCenterAccountingOverhead,
  land1 AS Country,
  anred AS FormOfAddress,
  name1 AS AddressName,
  name2 AS AddressAdditionalName,
  name3 AS CostCenterAddrName3,
  name4 AS CostCenterAddrName4,
  ort01 AS CityName,
  ort02 AS District,
  stras AS StreetAddressName,
  pfach AS POBox,
  pstlz AS PostalCode,
  pstl2 AS POBoxPostalCode,
  regio AS Region,
  spras AS Language,
  telbx AS TeleboxNumber,
  telf1 AS PhoneNumber1,
  telf2 AS PhoneNumber2,
  telfx AS FaxNumber,
  teltx AS TeletexNumber,
  telx1 AS TelexNumber,
  datlt AS DataCommunicationPhoneNumber,
  drnam AS CostCenterPrinterDestination,
  khinr AS CostCenterStandardHierArea,
  cckey AS CostCollector,
  kompl AS CostCenterIsComplete,
  cast(stakz as fins_xkostl_stat preserving type) AS IsStatisticalCostCenter,
  objnr AS ObjectInternalID,
  funkt AS CostCenterFunction,
  afunk AS CostCenterAlternativeFunction,
  func_area AS FunctionalArea,
  cpi_templ AS ActyIndepFormulaPlanningTmpl,
  cpd_templ AS ActyDepdntFormulaPlanningTmpl,
  sci_templ AS ActyIndependentAllocationTmpl,
  scd_templ AS ActyDependentAllocationTmpl,
  ski_templ AS ActlIndepStatisticalKeyFigures,
  skd_templ AS ActlDepStatisticalKeyFigures,
  vname AS JointVenture,
  recid AS JointVentureRecoveryCode,
  etype AS JointVentureEquityType,
  jv_otype AS JointVentureObjectType,
  jv_jibcl AS JointVentureClass,
  jv_jibsa AS JointVentureSubClass,
  budget_carrying_cost_ctr AS BudgetCarryingCostCenter,
  avc_profile AS AvailabilityControlProfile,
  avc_active AS AvailabilityControlIsActive,
  Fund,
  grant_id AS GrantID,
  fund_fix_assigned AS FundIsFixAssigned,
  grant_fix_assigned AS GrantIDIsFixAssigned,
  func_area_fix_assigned AS FunctionalAreaIsFixAssigned
FROM csks
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [1]
LEFT OUTER JOIN I_CostCenterText AS _Text ON ControllingArea = _Text.ControllingArea AND CostCenter = _Text.CostCenter AND ValidityEndDate = _Text.ValidityEndDate  -- association [0..*]
LEFT OUTER JOIN I_CostCenterHierarchyNode AS _CostCenterHierarchyNode ON ControllingArea = _CostCenterHierarchyNode.ControllingArea AND CostCenter = _CostCenterHierarchyNode.CostCenter  -- association [0..*]
LEFT OUTER JOIN I_Currency AS _Currency ON CostCenterCurrency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea  -- association [0..*]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea  -- association [0..1]
LEFT OUTER JOIN I_CostCenterCategory AS _CostCenterCategory ON CostCenterCategory = _CostCenterCategory.CostCenterCategory  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [0..1]
LEFT OUTER JOIN I_Region AS _Region ON Region = _Region.Region AND Country = _Region.Country  -- association [0..1]
LEFT OUTER JOIN I_CostingSheetProcedure AS _CostingSheetProcedure ON _CostingSheetProcedure.ConditionUsage = 'A' AND _CostingSheetProcedure.ConditionApplication = 'KA' AND _CostingSheetProcedure.CostingSheetProcedure = CostingSheet  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _UserRespContactCard ON CostCtrResponsibleUser = _UserRespContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _UserCrtedContactCard ON CostCenterCreatedByUser = _UserCrtedContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_AvailabilityCtrlProfile AS _AvailabilityCtrlProfile ON AvailabilityControlProfile = _AvailabilityCtrlProfile.AvailabilityControlProfile  -- association [0..1]
LEFT OUTER JOIN E_CostCenter AS _Extension ON ControllingArea = _Extension.ControllingArea AND CostCenter = _Extension.CostCenter AND ValidityEndDate = _Extension.ValidityEndDate  -- association [1..1]
LEFT OUTER JOIN I_ActivityBasedCostingTmpl AS _ActivityBasedCostingTmplCpi ON _ActivityBasedCostingTmplCpi.ControllingArea = ControllingArea AND _ActivityBasedCostingTmplCpi.ActivityBasedCostingEnvrmt = 'CPI' AND _ActivityBasedCostingTmplCpi.ActivityBasedCostingTemplate = ActyIndepFormulaPlanningTmpl  -- association [0..1]
LEFT OUTER JOIN I_ActivityBasedCostingTmpl AS _ActivityBasedCostingTmplCpd ON _ActivityBasedCostingTmplCpd.ControllingArea = ControllingArea AND _ActivityBasedCostingTmplCpd.ActivityBasedCostingEnvrmt = 'CPD' AND _ActivityBasedCostingTmplCpd.ActivityBasedCostingTemplate = ActyDepdntFormulaPlanningTmpl  -- association [0..1]
LEFT OUTER JOIN I_ActivityBasedCostingTmpl AS _ActivityBasedCostingTmplSci ON _ActivityBasedCostingTmplSci.ControllingArea = ControllingArea AND _ActivityBasedCostingTmplSci.ActivityBasedCostingEnvrmt = 'SCI' AND _ActivityBasedCostingTmplSci.ActivityBasedCostingTemplate = ActyIndependentAllocationTmpl  -- association [0..1]
LEFT OUTER JOIN I_ActivityBasedCostingTmpl AS _ActivityBasedCostingTmplScd ON _ActivityBasedCostingTmplScd.ControllingArea = ControllingArea AND _ActivityBasedCostingTmplScd.ActivityBasedCostingEnvrmt = 'SCD' AND _ActivityBasedCostingTmplScd.ActivityBasedCostingTemplate = ActyDependentAllocationTmpl  -- association [0..1]
LEFT OUTER JOIN I_ActivityBasedCostingTmpl AS _ActivityBasedCostingTmplSki ON _ActivityBasedCostingTmplSki.ControllingArea = ControllingArea AND _ActivityBasedCostingTmplSki.ActivityBasedCostingEnvrmt = 'SKI' AND _ActivityBasedCostingTmplSki.ActivityBasedCostingTemplate = ActlIndepStatisticalKeyFigures  -- association [0..1]
LEFT OUTER JOIN I_ActivityBasedCostingTmpl AS _ActivityBasedCostingTmplSkd ON _ActivityBasedCostingTmplSkd.ControllingArea = ControllingArea AND _ActivityBasedCostingTmplSkd.ActivityBasedCostingEnvrmt = 'SKD' AND _ActivityBasedCostingTmplSkd.ActivityBasedCostingTemplate = ActlDepStatisticalKeyFigures  -- association [0..1]
;