C_ProjectProfitabilityOverview
Project Profitability Overview
C_ProjectProfitabilityOverview is a Consumption CDS View that provides data about "Project Profitability Overview" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItemSemTag) and exposes 47 fields with key fields GLAccountHierarchy, Ledger, CompanyCode, AccountingDocument, LedgerGLLineItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItemSemTag | I_GLAccountLineItemSemTag | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_Language | sylangu | |
| P_KeyDate | sydate |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_BusinessPartner | _BusinessPartner | $projection.Customer = _BusinessPartner.BusinessPartner |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPROJPRFTBLTY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Project Profitability Overview | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Analytics.settings.maxProcessingEffort | #HIGH | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GLAccountHierarchy | GLAccountHierarchy | Financial Statement Version | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | SemanticTag | SemanticTag | Semantic Tag | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | ProjectExternalID | ProjectExternalID | Project def. | |
| KEY | WBSElementExternalID | WBSElementExternalID | WBS Element External ID | |
| KEY | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | SoldProduct | SoldProduct | Product Sold | |
| GLAccountHierarchyName | ||||
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| LedgerName | ||||
| ProjectName | _ProjectExternalID | ProjectDescription | Project Name | |
| ProfitCenter | ProfitCenter | Profit Center | ||
| ProfitCenterName | Profit Center Name | |||
| Customer | Customer | Sold-to Party | ||
| BPCustMultiAddrIsActive | _BusinessPartner | BPCustMultiAddrIsActive | ||
| CustomerName | _Customer | CustomerName | Name of Customer | |
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerGroupName | Customer Group Name | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| SalesOrganizationName | ||||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountName | ||||
| OriginProfitCenter | OriginProfitCenter | |||
| CostAnalysisResource | CostAnalysisResource | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| SoldProductGroupName | Sold Product Group Name | |||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| BilledRevenueAmtInCoCodeCrcy | ||||
| RecognizableCostAmtInCCCrcy | RecognizableCostAmtInCCCrcy | |||
| RecognizedRevnAmtInCCCrcy | RecognizedRevnAmtInCCCrcy | |||
| RecognizedCOGSAmtInCCCrcy | RecognizedCOGSAmtInCCCrcy | |||
| RecognizedMarginAmtInCCCrcy | RecognizedMarginAmtInCCCrcy | |||
| AssetLiabilityAmtInCCCrcy | AssetLiabilityAmtInCCCrcy | |||
| RevenueAdjustmentAmtInCCCrcy | RevenueAdjustmentAmtInCCCrcy | |||
| COGSAdjustmentAmtInCCCrcy | COGSAdjustmentAmtInCCCrcy | |||
| DeferredCOGSAmtInCCCrcy | DeferredCOGSAmtInCCCrcy | |||
| DeferredRevenueAmtInCCCrcy | DeferredRevenueAmtInCCCrcy | |||
| AccruedRevenueAmtInCCCrcy | AccruedRevenueAmtInCCCrcy | |||
| AccruedCOGSAmtInCCCrcy | AccruedCOGSAmtInCCCrcy | |||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| _BusinessPartner | _BusinessPartner |
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_ProjectProfitabilityOverview.
-- 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: CPROJPRFTBLTY
-- Parameters: P_Language : sylangu, P_KeyDate : sydate
CREATE VIEW C_ProjectProfitabilityOverview AS
SELECT
GLAccountHierarchy,
Ledger,
CompanyCode,
AccountingDocument,
LedgerGLLineItem,
SourceLedger,
SemanticTag,
FiscalYear,
ProjectExternalID,
WBSElementExternalID,
FiscalPeriod,
SoldProduct,
_GLAccountHierarchy._Text[1:Language = $session.system_language].GLAccountHierarchyName AS GLAccountHierarchyName,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
_Ledger._Text[1:Language = $session.system_language].LedgerName AS LedgerName,
_ProjectExternalID.ProjectDescription AS ProjectName,
ProfitCenter,
_ProfitCenter._Text[1:Language = $session.system_language].ProfitCenterName AS ProfitCenterName,
Customer,
_BusinessPartner.BPCustMultiAddrIsActive AS BPCustMultiAddrIsActive,
_Customer.CustomerName AS CustomerName,
CustomerGroup,
_CustomerGroup._Text[1:Language = $session.system_language].CustomerGroupName AS CustomerGroupName,
SalesOrganization,
_SalesOrganization._Text[1:Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
GLAccount,
_GLAccountInChartOfAccounts._Text[1: Language = $parameters.P_Language ].GLAccountName AS GLAccountName,
OriginProfitCenter,
CostAnalysisResource,
ControllingArea,
MaterialGroup,
_MaterialGroup._Text[1:Language = $session.system_language].MaterialGroupName AS SoldProductGroupName,
FiscalYearPeriod,
cast ( BilledRevenueAmtInCoCodeCrcy as fins_trr_actrevn preserving type ) AS BilledRevenueAmtInCoCodeCrcy,
RecognizableCostAmtInCCCrcy,
RecognizedRevnAmtInCCCrcy,
RecognizedCOGSAmtInCCCrcy,
RecognizedMarginAmtInCCCrcy,
AssetLiabilityAmtInCCCrcy,
RevenueAdjustmentAmtInCCCrcy,
COGSAdjustmentAmtInCCCrcy,
DeferredCOGSAmtInCCCrcy,
DeferredRevenueAmtInCCCrcy,
AccruedRevenueAmtInCCCrcy,
AccruedCOGSAmtInCCCrcy,
CompanyCodeCurrency
FROM I_GLAccountLineItemSemTag
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON Customer = _BusinessPartner.BusinessPartner -- association [1..1]
;
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