R_CostCenterTP

DDL: R_COSTCENTERTP Type: view_entity TRANSACTIONAL

Cost Center

R_CostCenterTP is a Transactional CDS View that provides data about "Cost Center" in SAP S/4HANA. It reads from 1 data source (I_CostCenter) and exposes 91 fields with key fields ControllingArea, CostCenter, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CostCenter I_CostCenter from

Associations (1)

CardinalityTargetAliasCondition
[0..*] R_CostCenterTextTP _CostCenterTextTP

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Cost Center view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.sapObjectNodeType.name CostCenter view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view

Fields (91)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea Controlling Area
KEY CostCenter CostCenter Cost Center
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
ControllingAreaForEdit ControllingArea Controlling Area
CostCenterForEdit CostCenter Cost Center
ValidityEndDateForEdit ValidityEndDate ValidTo
CostCenterName
CostCenterDescription
IsBlkdForPrimaryCostsPosting Lock Primary Costs Posting
IsBlockedForPlanPrimaryCosts Lock Primary Costs Planning
CompanyCode CompanyCode Receiver Company Code
BusinessArea BusinessArea Business Area
CostCenterCategory CostCenterCategory CCtr Category
CostCtrResponsiblePersonName CostCtrResponsiblePersonName Person Resp.
CostCtrResponsibleUser CostCtrResponsibleUser User Responsible
CostCenterCurrency CostCenterCurrency Currency
CostingSheet CostingSheet Costing Sheet
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
ProfitCenter ProfitCenter Profit Center
Plant Plant Valuation Area
LogicalSystem LogicalSystem Logical System
CostCenterCreationDate Created On
CostCenterCreatedByUser Created By
IsBlkdForSecondaryCostsPosting Lock Secondary Costs Posting
IsBlockedForRevenuePosting Lock Revenue Posting
IsBlockedForCommitmentPosting Lock Commitment Updates
IsBlockedForPlanSecondaryCosts Lock Secondary Costs Planning
IsBlockedForPlanRevenues Lock Revenue Planning
CostCenterAllocationMethod CostCenterAllocationMethod Alloc. Methods
ConsumptionQtyIsRecorded ConsumptionQtyIsRecorded Record Quantity
Department Department Department
SubsequentCostCenter SubsequentCostCenter Subseq.CCtr
ConditionUsage ConditionUsage Usage
ConditionApplication ConditionApplication Application
CostCenterAccountingOverhead CostCenterAccountingOverhead Overhead Key
Country Venue: Ctry/Reg
FormOfAddress FormOfAddress Title Key
AddressName Name
AddressAdditionalName AddressAdditionalName Name 2
CostCenterAddrName3 CostCenterAddrName3 Name 3
CostCenterAddrName4 CostCenterAddrName4 Name 4
CityName CityName Name
District District District Court
StreetAddressName StreetAddressName Street
POBox POBox PO Box
PostalCode PostalCode Postal Code
POBoxPostalCode POBoxPostalCode PO Box Postal Code
Region Region Venue Region
Language Language Report Text Language
TeleboxNumber TeleboxNumber Telebox Number
PhoneNumber1 Telephone 1
PhoneNumber2 PhoneNumber2 Telephone 2
FaxNumber FaxNumber Fax Number
TeletexNumber TeletexNumber Teletex Number
TelexNumber TelexNumber Telex Number
DataCommunicationPhoneNumber DataCommunicationPhoneNumber Data Line
CostCenterPrinterDestination Printer Destination
CostCenterStandardHierArea Standard Hierarchy Node
CostCollector CostCollector Cost Collector
CostCenterIsComplete CostCenterIsComplete Complete
IsStatisticalCostCenter IsStatisticalCostCenter Cost Center Is Stat.
ObjectInternalID ObjectInternalID Object number
CostCenterFunction CostCenterFunction Function
CostCenterAlternativeFunction CostCenterAlternativeFunction Alt. Function
FunctionalArea FunctionalArea Sendr Fctl Area
ActyIndepFormulaPlanningTmpl Act. Indep. Formula Planning Template
ActyDepdntFormulaPlanningTmpl Act. Depen. Formula Planning Template
ActyIndependentAllocationTmpl Activity Independent Allocation Template
ActyDependentAllocationTmpl Activity Dependent Allocation Template
ActlIndepStatisticalKeyFigures Act. Indep. Statistical Key Figure Tmp.
ActlDepStatisticalKeyFigures Act. Dep. Statistical Key Figure Tmp.
JointVenture JointVenture Joint venture
JointVentureRecoveryCode JointVentureRecoveryCode Recovery Ind.
JointVentureEquityType JointVentureEquityType Joint Venture Equity Type
JointVentureObjectType JointVentureObjectType JV Object Type
JointVentureClass JointVentureClass JIB/JIBE Class
JointVentureSubClass JointVentureSubClass JIB/JIBE SbClsA
BudgetCarryingCostCenter Budget-Carrying Cost Center
AvailabilityControlProfile Budget Availability Control Profile
AvailabilityControlIsActive Budget Availability Control is Active
Fund Fund Sender Fund
GrantID GrantID Sender Grant
FundIsFixAssigned FundIsFixAssigned Fund Fixed Assignment
GrantIDIsFixAssigned GrantIDIsFixAssigned Grant Fixed Assignment
FunctionalAreaIsFixAssigned FunctionalAreaIsFixAssigned Functional Area Fixed Assignment
FinancialManagementArea _CompanyCode FinancialManagementArea FM Area
_CostCenterTextTP _CostCenterTextTP
_Region _Region
_Language _Language
_Country _Country

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

CREATE VIEW R_CostCenterTP AS
SELECT
  ControllingArea,
  CostCenter,
  ValidityEndDate,
  ValidityStartDate,
  ControllingArea AS ControllingAreaForEdit,
  CostCenter AS CostCenterForEdit,
  ValidityEndDate AS ValidityEndDateForEdit,
  _Text[1:Language = $session.system_language].CostCenterName AS CostCenterName,
  _Text[1:Language = $session.system_language].CostCenterDescription AS CostCenterDescription,
  cast( IsBlkdForPrimaryCostsPosting as fis_cc_bkzkp preserving type ) AS IsBlkdForPrimaryCostsPosting,
  cast( IsBlockedForPlanPrimaryCosts as fis_cc_pkzkp preserving type ) AS IsBlockedForPlanPrimaryCosts,
  CompanyCode,
  BusinessArea,
  CostCenterCategory,
  CostCtrResponsiblePersonName,
  CostCtrResponsibleUser,
  CostCenterCurrency,
  CostingSheet,
  TaxJurisdiction,
  ProfitCenter,
  Plant,
  LogicalSystem,
  cast ( CostCenterCreationDate as fis_cc_erfdt preserving type ) AS CostCenterCreationDate,
  cast ( CostCenterCreatedByUser as fis_cc_erfnm preserving type ) AS CostCenterCreatedByUser,
  cast ( IsBlkdForSecondaryCostsPosting as fis_cc_bkzks preserving type ) AS IsBlkdForSecondaryCostsPosting,
  cast ( IsBlockedForRevenuePosting as fis_cc_bkzer preserving type ) AS IsBlockedForRevenuePosting,
  cast ( IsBlockedForCommitmentPosting as fis_cc_bkzob preserving type ) AS IsBlockedForCommitmentPosting,
  cast ( IsBlockedForPlanSecondaryCosts as fis_cc_pkzks preserving type ) AS IsBlockedForPlanSecondaryCosts,
  cast ( IsBlockedForPlanRevenues as fis_cc_pkzer preserving type ) AS IsBlockedForPlanRevenues,
  CostCenterAllocationMethod,
  ConsumptionQtyIsRecorded,
  Department,
  SubsequentCostCenter,
  ConditionUsage,
  ConditionApplication,
  CostCenterAccountingOverhead,
  cast( Country as fis_land1 preserving type ) AS Country,
  FormOfAddress,
  cast ( AddressName as fco_cc_addressname preserving type ) AS AddressName,
  AddressAdditionalName,
  CostCenterAddrName3,
  CostCenterAddrName4,
  CityName,
  District,
  StreetAddressName,
  POBox,
  PostalCode,
  POBoxPostalCode,
  Region,
  Language,
  TeleboxNumber,
  cast ( PhoneNumber1 as fco_cc_telf1 preserving type ) AS PhoneNumber1,
  PhoneNumber2,
  FaxNumber,
  TeletexNumber,
  TelexNumber,
  DataCommunicationPhoneNumber,
  cast( CostCenterPrinterDestination as fis_kdnam preserving type ) AS CostCenterPrinterDestination,
  cast ( CostCenterStandardHierArea as fco_cc_khinr preserving type ) AS CostCenterStandardHierArea,
  CostCollector,
  CostCenterIsComplete,
  IsStatisticalCostCenter,
  ObjectInternalID,
  CostCenterFunction,
  CostCenterAlternativeFunction,
  FunctionalArea,
  cast ( ActyIndepFormulaPlanningTmpl as fco_cca_templ_cpi preserving type ) AS ActyIndepFormulaPlanningTmpl,
  cast ( ActyDepdntFormulaPlanningTmpl as fco_cca_templ_cpd preserving type ) AS ActyDepdntFormulaPlanningTmpl,
  cast ( ActyIndependentAllocationTmpl as fco_cca_templ_sci preserving type ) AS ActyIndependentAllocationTmpl,
  cast ( ActyDependentAllocationTmpl as fco_cca_templ_scd preserving type ) AS ActyDependentAllocationTmpl,
  cast ( ActlIndepStatisticalKeyFigures as fco_cca_templ_ski preserving type ) AS ActlIndepStatisticalKeyFigures,
  cast ( ActlDepStatisticalKeyFigures as fco_cca_templ_skd preserving type ) AS ActlDepStatisticalKeyFigures,
  JointVenture,
  JointVentureRecoveryCode,
  JointVentureEquityType,
  JointVentureObjectType,
  JointVentureClass,
  JointVentureSubClass,
  cast ( BudgetCarryingCostCenter as fco_budgetcarryingcostcenter preserving type ) AS BudgetCarryingCostCenter,
  cast ( AvailabilityControlProfile as fco_budgetavailabilityctrlprof preserving type ) AS AvailabilityControlProfile,
  cast ( AvailabilityControlIsActive as fco_availabilityctrlprofisact preserving type ) AS AvailabilityControlIsActive,
  Fund,
  GrantID,
  FundIsFixAssigned,
  GrantIDIsFixAssigned,
  FunctionalAreaIsFixAssigned,
  _CompanyCode.FinancialManagementArea AS FinancialManagementArea
FROM I_CostCenter
LEFT OUTER JOIN R_CostCenterTextTP AS _CostCenterTextTP ON /* condition not available in parsed metadata */  -- association [0..*]
;