I_CostCenterActivityTypeTP

DDL: I_COSTCENTERACTIVITYTYPETP Type: view TRANSACTIONAL

Cost Center Activity Type

I_CostCenterActivityTypeTP is a Transactional CDS View that provides data about "Cost Center Activity Type" in SAP S/4HANA. It reads from 1 data source (P_CostCenterActivityTypeTP) and exposes 35 fields with key fields ControllingArea, CostCtrActivityType, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_CostCenterActivityTypeTP P_CostCenterActivityTypeTP from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_CostCenterActivityTypeTextTP _CostCenterActivityTypeTextTP $projection.ControllingArea = _CostCenterActivityTypeTextTP.ControllingArea and $projection.CostCtrActivityType = _CostCenterActivityTypeTextTP.CostCtrActivityType and $projection.ValidityEndDate = _CostCenterActivityTypeTextTP.ValidityEndDate

Annotations (21)

NameValueLevelField
AbapCatalog.sqlViewName ICCACTTYPTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.modelCategory #BUSINESS_OBJECT view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled true view
ObjectModel.draft.sharing #PUBLIC view
ObjectModel.draft.concurrentEditing true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.writeDraftPersistence CSLA_DRAFT view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Cost Center Activity Type view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea Controlling Area
KEY CostCtrActivityType CostCtrActivityType Activity Type
KEY ValidityEndDate ValidityEndDate ValidTo
ControllingAreaForEdit ControllingArea Controlling Area
CostCtrActivityTypeForEdit CostCtrActivityType Activity Type
ValidityEndDateForEdit ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
CostCtrActivityTypeQtyUnit CostCtrActivityTypeQtyUnit
CostCtrActivityTypeCategory CostCtrActivityTypeCategory
AllocationCostElement AllocationCostElement
CostCtrActivityTypeOutpQtyUnit CostCtrActivityTypeOutpQtyUnit
CreationDate CreationDate Time Stamp
EnteredByUser EnteredByUser
ActlPostgCostCenterActyTypeCat ActlPostgCostCenterActyTypeCat
OutputQuantityFactor OutputQuantityFactor
ActivityTypeIsBlocked ActivityTypeIsBlocked
FixedCostIsPredistributed FixedCostIsPredistributed
PriceAllocationMethod PriceAllocationMethod
PeriodPriceIsAverage PeriodPriceIsAverage
ActyTypeDfltIndicatorIsHidden
ActualPriceAllocationMethod ActualPriceAllocationMethod
ActualQuantityIsSetManually ActualQuantityIsSetManually
PlanQuantityIsSetManually PlanQuantityIsSetManually
CostCtrActivityTypeValidCat CostCtrActivityTypeValidCat
CostCtrActivityTypeName CostCtrActivityTypeName
CostCtrActivityTypeDesc CostCtrActivityTypeDesc
ChartOfAccounts ChartOfAccounts Node Class
ActivityTypeValidityPeriodText
ChangeDocObject
_CostCenterActivityTypeTextTP _CostCenterActivityTypeTextTP
_Text _Text
_ControllingArea _ControllingArea
_CostCenterCategory _CostCenterCategory
_CostCtrActivityTypeCategory _CostCtrActivityTypeCategory
_UnitOfMeasure _UnitOfMeasure

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_CostCenterActivityTypeTP.
-- 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 I_CostCenterActivityTypeTP AS
SELECT
  ControllingArea,
  CostCtrActivityType,
  ValidityEndDate,
  ControllingArea AS ControllingAreaForEdit,
  CostCtrActivityType AS CostCtrActivityTypeForEdit,
  ValidityEndDate AS ValidityEndDateForEdit,
  ValidityStartDate,
  CostCtrActivityTypeQtyUnit,
  CostCtrActivityTypeCategory,
  AllocationCostElement,
  CostCtrActivityTypeOutpQtyUnit,
  CreationDate,
  EnteredByUser,
  ActlPostgCostCenterActyTypeCat,
  OutputQuantityFactor,
  ActivityTypeIsBlocked,
  FixedCostIsPredistributed,
  PriceAllocationMethod,
  PeriodPriceIsAverage,
  cast( 'X' as flag preserving type ) AS ActyTypeDfltIndicatorIsHidden,
  ActualPriceAllocationMethod,
  ActualQuantityIsSetManually,
  PlanQuantityIsSetManually,
  CostCtrActivityTypeValidCat,
  CostCtrActivityTypeName,
  CostCtrActivityTypeDesc,
  ChartOfAccounts,
  cast( concat(ValidityStartDate, concat('-',ValidityEndDate)) as activitytypevalidityperiodtext) AS ActivityTypeValidityPeriodText,
  cast( concat(ControllingArea, CostCtrActivityType) as cdobjectv ) AS ChangeDocObject
FROM P_CostCenterActivityTypeTP
LEFT OUTER JOIN I_CostCenterActivityTypeTextTP AS _CostCenterActivityTypeTextTP ON ControllingArea = _CostCenterActivityTypeTextTP.ControllingArea AND CostCtrActivityType = _CostCenterActivityTypeTextTP.CostCtrActivityType AND ValidityEndDate = _CostCenterActivityTypeTextTP.ValidityEndDate  -- association [1..*]
;