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 74 fields with key fields GLAccountHierarchy, Ledger, CompanyCode, AccountingDocument, LedgerGLLineItem. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F2794). Part of development package FINS_COPA_REPORTING.
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 (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Project Profitability Overview | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AccessControl.auditFilter | #ENABLED | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.settings.maxProcessingEffort | #HIGH | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2794 | ASQL_F2794 | C2 | NOT_RELEASED |
Fields (74)
| 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 | Project | 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 | |||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| LedgerFiscalYear | LedgerFiscalYear | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| SalesOrganizationName | ||||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountName | ||||
| OriginProfitCenter | OriginProfitCenter | |||
| CostAnalysisResource | CostAnalysisResource | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| SoldProductGroup | SoldProductGroup | Product Sold 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 | |||
| ProjectProfileCode | _ProjectExternalID | ProjectProfileCode | Project Profile | |
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| SalesDocument | SalesDocument | SD Document | ||
| Segment | Segment | Segment number | ||
| Supplier | Supplier | Supplier | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| CostCenter | CostCenter | Cost Center | ||
| OrderID | OrderID | Order ID | ||
| AssetClass | AssetClass | Asset Class | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| ServiceDocument | ServiceDocument | Transaction ID | ||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _ServiceDocument | _ServiceDocument | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _Order | _Order | |||
| _Customer | _Customer | |||
| _Supplier | _Supplier | |||
| _SalesDocument | _SalesDocument | |||
| _FinancialAccountType | _FinancialAccountType |
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 AS Project,
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,
_CurrentProfitCenter._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,
FiscalYearVariant,
LedgerFiscalYear,
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,
SoldProductGroup,
_SoldProductGroup._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,
_ProjectExternalID.ProjectProfileCode AS ProjectProfileCode,
FinancialAccountType,
ValuationArea,
SalesDocument,
Segment,
Supplier,
DistributionChannel,
OrganizationDivision,
CostCenter,
OrderID,
AssetClass,
PostingDate,
FunctionalArea,
AccountingDocumentType,
ServiceDocumentType,
ServiceDocument
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
- 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