C_ProjCostByCostComp
Project cost by Cost Component
C_ProjCostByCostComp is a Consumption CDS View that provides data about "Project cost by Cost Component" in SAP S/4HANA. It reads from 1 data source (P_ProjCostByCostComp) and exposes 23 fields with key fields PlanningCategory, SemanticTag, ProfitCenter, CompanyCode. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F3078). Part of development package ODATA_PS_COS_PROJ_OVERVIEW.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_ProjCostByCostComp | _ProjCostByCostComp | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_PPM_Project | _ProjectHeaderExtension | $projection.ProjectUUID = _ProjectHeaderExtension.ProjectUUID |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPRJCSTBYCSTCMP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Project cost by Cost Component | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.dbHints.hint | NO_RECOMPILE_WITH_SQL_PARAMETERS | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Costs by Cost Component | view | |
| UI.headerInfo.typeNamePlural | Costs by Cost Components | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | SemanticTagName | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | PlanningCategoryName | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F3078 | ASQL_F3078 | C2 | NOT_RELEASED |
Fields (23)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PlanningCategory | P_ProjCostByCostComp | PlanningCategory | Plan Category |
| KEY | SemanticTag | P_ProjCostByCostComp | SemanticTag | Semantic Tag |
| Project | ||||
| KEY | ProfitCenter | P_ProjCostByCostComp | ProfitCenter | Profit Center |
| KEY | CompanyCode | P_ProjCostByCostComp | CompanyCode | Receiver Company Code |
| PlanningCategoryName | _PlanningCategory | PlanningCategoryName | Planning Category Name | |
| SemanticTagName | _SemanticTag | SemanticTagName | Semantic Tag Name | |
| ProjectInternalID | P_ProjCostByCostComp | ProjectInternalID | Project Def. | |
| BusinessPartnerFullName | P_ProjCostByCostComp | BusinessPartnerFullName | Broker Name | |
| BusinessPartnerUUID | P_ProjCostByCostComp | BusinessPartnerUUID | UUID | |
| BusinessPartner | P_ProjCostByCostComp | BusinessPartner | Issuing Authority | |
| ControllingArea | P_ProjCostByCostComp | ControllingArea | Controlling Area | |
| ProjectType | P_ProjCostByCostComp | ProjectType | Project Type | |
| ProjectUUID | P_ProjCostByCostComp | ProjectUUID | Project UUID | |
| AmountInGlobalCurrency | P_ProjCostByCostComp | AmountInGlobalCurrency | Amount in Global Currency | |
| ActualAmountInGlobalCurrency | P_ProjCostByCostComp | ActualAmountInGlobalCurrency | Actual Cost | |
| GlobalCurrency | ||||
| FunctionalArea | P_ProjCostByCostComp | FunctionalArea | Sendr Fctl Area | |
| ProjectProfileCode | P_ProjCostByCostComp | ProjectProfileCode | Project Profile | |
| Plant | P_ProjCostByCostComp | Plant | Valuation Area | |
| ResponsibleCostCenter | P_ProjCostByCostComp | ResponsibleCostCenter | Responsible Cost Center | |
| _PlanningCategory | _PlanningCategory | |||
| _SemanticTag | _SemanticTag |
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_ProjCostByCostComp.
-- 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: CPRJCSTBYCSTCMP
CREATE VIEW C_ProjCostByCostComp AS
SELECT
_ProjCostByCostComp.PlanningCategory AS PlanningCategory,
_ProjCostByCostComp.SemanticTag AS SemanticTag,
_ProjCostByCostComp.ProfitCenter AS ProfitCenter,
_ProjCostByCostComp.CompanyCode AS CompanyCode,
_PlanningCategory.PlanningCategoryName AS PlanningCategoryName,
_SemanticTag.SemanticTagName AS SemanticTagName,
_ProjCostByCostComp.ProjectInternalID AS ProjectInternalID,
_ProjCostByCostComp.BusinessPartnerFullName AS BusinessPartnerFullName,
_ProjCostByCostComp.BusinessPartnerUUID AS BusinessPartnerUUID,
_ProjCostByCostComp.BusinessPartner AS BusinessPartner,
_ProjCostByCostComp.ControllingArea AS ControllingArea,
_ProjCostByCostComp.ProjectType AS ProjectType,
_ProjCostByCostComp.ProjectUUID AS ProjectUUID,
_ProjCostByCostComp.AmountInGlobalCurrency AS AmountInGlobalCurrency,
_ProjCostByCostComp.ActualAmountInGlobalCurrency AS ActualAmountInGlobalCurrency,
_ProjCostByCostComp.FunctionalArea AS FunctionalArea,
_ProjCostByCostComp.ProjectProfileCode AS ProjectProfileCode,
_ProjCostByCostComp.Plant AS Plant,
_ProjCostByCostComp.ResponsibleCostCenter AS ResponsibleCostCenter
FROM P_ProjCostByCostComp AS _ProjCostByCostComp
LEFT OUTER JOIN E_PPM_Project AS _ProjectHeaderExtension ON ProjectUUID = _ProjectHeaderExtension.ProjectUUID -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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