P_CostCenterActivityTypeTP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CostCenterActivityType | I_CostCenterActivityType | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA