C_CostCenterActivityType

DDL: C_COSTCENTERACTIVITYTYPE SQL: CFICOSTCTRACTTYP Type: view CONSUMPTION Package: FINS_FIS_FICO_APPS

Cost Center Activity Type

C_CostCenterActivityType is a Consumption CDS View that provides data about "Cost Center Activity Type" in SAP S/4HANA. It reads from 1 data source (I_CostCenterActivityType) and exposes 27 fields with key fields ControllingArea, CostCtrActivityType, ValidityEndDate. It has 3 associations to related views. Part of development package FINS_FIS_FICO_APPS.

Data Sources (1)

SourceAliasJoin Type
I_CostCenterActivityType I_CostCenterActivityType from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CalendarDate _CalendarDate $projection.ValidityEndDate = _CalendarDate.CalendarDate
[0..1] I_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and $projection.AllocationCostElement = _GLAccountInChartOfAccounts.GLAccount
[0..1] I_ChartOfAccounts _ChartOfAccounts $projection.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CFICOSTCTRACTTYP view
EndUserText.label Cost Center Activity Type view
VDM.viewType #CONSUMPTION view
ObjectModel.representativeKey CostCtrActivityType view
AccessControl.authorizationCheck #CHECK view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea Controlling Area
KEY CostCtrActivityType CostCtrActivityType Activity Type
KEY ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
CostCtrActivityTypeQtyUnit CostCtrActivityTypeQtyUnit Unit
CostCtrActivityTypeCategory CostCtrActivityTypeCategory ATyp category
AllocationCostElement AllocationCostElement Alloc. CElem
ActlPostgCostCenterActyTypeCat ActlPostgCostCenterActyTypeCat ATyp Cat. Act.
CreationDate CreationDate Time Stamp
EnteredByUser EnteredByUser User Name
CostCtrActivityTypeOutpQtyUnit CostCtrActivityTypeOutpQtyUnit Output Unit
OutputQuantityFactor OutputQuantityFactor Output factor
ActivityTypeIsBlocked ActivityTypeIsBlocked Lock indicator
CostOriginGroup CostOriginGroup Origin Group
FixedCostIsPredistributed FixedCostIsPredistributed PreDistFixCosts
PriceAllocationMethod PriceAllocationMethod Price indicator
PeriodPriceIsAverage PeriodPriceIsAverage Average price
ActualPriceAllocationMethod ActualPriceAllocationMethod Act. price ind.
ActualQuantityIsSetManually ActualQuantityIsSetManually Actual qty set
PlanQuantityIsSetManually PlanQuantityIsSetManually Plan qty set
ChartOfAccounts _ControllingArea ChartOfAccounts Node Class
_Text _Text
_ControllingArea _ControllingArea
_CostCtrActivityTypeCategory _CostCtrActivityTypeCategory
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_ChartOfAccounts _ChartOfAccounts
_CalendarDate _CalendarDate

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 C_CostCenterActivityType.
-- 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: CFICOSTCTRACTTYP

CREATE VIEW C_CostCenterActivityType AS
SELECT
  ControllingArea,
  CostCtrActivityType,
  ValidityEndDate,
  ValidityStartDate,
  CostCtrActivityTypeQtyUnit,
  CostCtrActivityTypeCategory,
  AllocationCostElement,
  ActlPostgCostCenterActyTypeCat,
  CreationDate,
  EnteredByUser,
  CostCtrActivityTypeOutpQtyUnit,
  OutputQuantityFactor,
  ActivityTypeIsBlocked,
  CostOriginGroup,
  FixedCostIsPredistributed,
  PriceAllocationMethod,
  PeriodPriceIsAverage,
  ActualPriceAllocationMethod,
  ActualQuantityIsSetManually,
  PlanQuantityIsSetManually,
  _ControllingArea.ChartOfAccounts AS ChartOfAccounts
FROM I_CostCenterActivityType
LEFT OUTER JOIN I_CalendarDate AS _CalendarDate ON ValidityEndDate = _CalendarDate.CalendarDate  -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND AllocationCostElement = _GLAccountInChartOfAccounts.GLAccount  -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts  -- association [0..1]
;