P_CostCenterActivityTypeTP

DDL: P_COSTCENTERACTIVITYTYPETP Type: view COMPOSITE

P_CostCenterActivityTypeTP is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CostCenterActivityType) and exposes 28 fields with key fields ControllingArea, CostCtrActivityType, ValidityEndDate.

Data Sources (1)

SourceAliasJoin Type
I_CostCenterActivityType I_CostCenterActivityType from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCCACTTYPTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
Metadata.ignorePropagatedAnnotations true view

Fields (28)

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 ATyp category
AllocationCostElement Alloc. CElem
CostCtrActivityTypeOutpQtyUnit CostCtrActivityTypeOutpQtyUnit Output Unit
CreationDate Time Stamp
EnteredByUser User Name
ActlPostgCostCenterActyTypeCat ATyp Cat. Act.
OutputQuantityFactor Output factor
ActivityTypeIsBlocked Lock indicator
FixedCostIsPredistributed PreDistFixCosts
PriceAllocationMethod Price indicator
PeriodPriceIsAverage Average price
ActualPriceAllocationMethod Act. price ind.
ActualQuantityIsSetManually Actual qty set
PlanQuantityIsSetManually Plan qty set
CostCtrActivityTypeValidCat CCtr Categories
CostCtrActivityTypeName
CostCtrActivityTypeDesc
ChartOfAccounts _ControllingArea ChartOfAccounts Node Class
_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 P_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 P_CostCenterActivityTypeTP AS
SELECT
  ControllingArea,
  CostCtrActivityType,
  ValidityEndDate,
  ValidityStartDate,
  CostCtrActivityTypeQtyUnit,
  cast (CostCtrActivityTypeCategory as fis_mat_latyp preserving type ) AS CostCtrActivityTypeCategory,
  cast (AllocationCostElement as fis_mat_vksta preserving type ) AS AllocationCostElement,
  CostCtrActivityTypeOutpQtyUnit,
  cast (CreationDate as fis_cc_erfdt preserving type ) AS CreationDate,
  cast (EnteredByUser as fis_cc_erfnm preserving type ) AS EnteredByUser,
  cast (ActlPostgCostCenterActyTypeCat as fis_mat_latypi preserving type ) AS ActlPostgCostCenterActyTypeCat,
  cast (OutputQuantityFactor as fis_ausfk preserving type ) AS OutputQuantityFactor,
  cast (ActivityTypeIsBlocked as fco_activity_type_lock preserving type ) AS ActivityTypeIsBlocked,
  cast (FixedCostIsPredistributed as fis_mat_co_fixvo preserving type ) AS FixedCostIsPredistributed,
  cast (PriceAllocationMethod as fis_tarkz preserving type ) AS PriceAllocationMethod,
  cast (PeriodPriceIsAverage as fis_co_yrate preserving type ) AS PeriodPriceIsAverage,
  cast (ActualPriceAllocationMethod as fis_mat_co_tarkz_i preserving type ) AS ActualPriceAllocationMethod,
  cast (ActualQuantityIsSetManually as fis_co_manist preserving type ) AS ActualQuantityIsSetManually,
  cast (PlanQuantityIsSetManually as fis_co_manplan preserving type ) AS PlanQuantityIsSetManually,
  cast ( CostCtrActivityTypeValidCat as fco_kstty preserving type ) AS CostCtrActivityTypeValidCat,
  _Text[1:Language=$session.system_language].CostCtrActivityTypeName AS CostCtrActivityTypeName,
  _Text[1:Language=$session.system_language].CostCtrActivityTypeDesc AS CostCtrActivityTypeDesc,
  _ControllingArea.ChartOfAccounts AS ChartOfAccounts
FROM I_CostCenterActivityType
;