C_ProjBillgCustomerProjectDets

DDL: C_PROJBILLGCUSTOMERPROJECTDETS Type: view CONSUMPTION

Project Details

C_ProjBillgCustomerProjectDets is a Consumption CDS View that provides data about "Project Details" in SAP S/4HANA. It reads from 1 data source (I_EnterpriseProject) and exposes 24 fields with key field Project. It has 4 associations to related views. It is exposed through 2 OData services (MANAGEPROJBILLGREQUEST_SD, PROJECTBILLINGELEMENT_SD).

Data Sources (1)

SourceAliasJoin Type
I_EnterpriseProject I_EnterpriseProject from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_ProfitCenterText _ProfitCenterText $projection.ProfitCenter = _ProfitCenterText.ProfitCenter and $projection.ControllingArea = _ProfitCenterText.ControllingArea and $projection.ProjectStartDate <= _ProfitCenterText.ValidityEndDate and $projection.ProjectStartDate >= _ProfitCenterText.ValidityStartDate and _ProfitCenterText.Language = $session.system_language
[0..1] I_EngagementProjectSrvcOrgText _ServiceOrganizationText _ServiceOrganizationText.EngagementProjectServiceOrg = $projection.EnterpriseProjectServiceOrg and _ServiceOrganizationText.Language = $session.system_language
[1..1] I_CustomerToBusinessPartner _CustomerToBusinessPartner _CustomerToBusinessPartner.BusinessPartnerUUID = $projection.CustomerUUID
[0..1] I_CostCenter _ResponsibleCostCenter $projection.ControllingArea = _ResponsibleCostCenter.ControllingArea and $projection.ResponsibleCostCenter = _ResponsibleCostCenter.CostCenter and $projection.ProjectStartDate <= _ResponsibleCostCenter.ValidityEndDate and $projection.ProjectStartDate >= _ResponsibleCostCenter.ValidityStartDate

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CPROJCUSTPRJDT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Project Details view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Search.searchable true view
VDM.viewType #CONSUMPTION view
VDM.private false view
AbapCatalog.preserveKey true view
Metadata.allowExtensions true view
ObjectModel.representativeKey Project view

OData Services (2)

ServiceBindingVersionContractRelease
MANAGEPROJBILLGREQUEST_SD UI_MNGPROJBILLGREQ_SB_V2 V2 C1 NOT_RELEASED
PROJECTBILLINGELEMENT_SD UI_PROJBILLGELMNT_SB_V2 V2 C1 NOT_RELEASED

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY Project Project WBS Element
ProjectInternalID ProjectInternalID Project Def.
StoreCustomerName Customer
ProjectDescription ProjectDescription Project Name
ProjectStartDate ProjectStartDate Project Start Date
ProjectEndDate ProjectEndDate Project End Date
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
CostCenterName Cost Center
ControllingArea ControllingArea Controlling Area
ProfitCenter ProfitCenter Profit Center
ProfitCenterName _ProfitCenterText ProfitCenterName Profit Center
CustomerUUID CustomerUUID NodeID
EngmtProjectServiceOrgName _ServiceOrganizationText EngmtProjectServiceOrgName Service Organization
EnterpriseProjectServiceOrg EnterpriseProjectServiceOrg Service Org.
ProcessingStatus ProcessingStatus Worklist Status
CompanyCode CompanyCode Receiver Company Code
ProjectProfileCode ProjectProfileCode Project Profile
ProjectCategory ProjectCategory Proj. Category
EntProjectIsConfidential EntProjectIsConfidential Confidential
ProjectSummaryTaskUUID ProjectSummaryTaskUUID Entity GUID
_AuthGroup _AuthGroup
_AuthRole _AuthRole
_AuthSubst _AuthSubst
_AuthUser _AuthUser

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_ProjBillgCustomerProjectDets.
-- 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 C_ProjBillgCustomerProjectDets AS
SELECT
  Project,
  ProjectInternalID,
  _CustomerToBusinessPartner._Customer.CustomerName AS StoreCustomerName,
  ProjectDescription,
  ProjectStartDate,
  ProjectEndDate,
  ResponsibleCostCenter,
  _ResponsibleCostCenter._Text[1:Language = $session.system_language].CostCenterName AS CostCenterName,
  ControllingArea,
  ProfitCenter,
  _ProfitCenterText.ProfitCenterName AS ProfitCenterName,
  CustomerUUID,
  _ServiceOrganizationText.EngmtProjectServiceOrgName AS EngmtProjectServiceOrgName,
  EnterpriseProjectServiceOrg,
  ProcessingStatus,
  CompanyCode,
  ProjectProfileCode,
  ProjectCategory,
  EntProjectIsConfidential,
  ProjectSummaryTaskUUID
FROM I_EnterpriseProject
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterText ON ProfitCenter = _ProfitCenterText.ProfitCenter AND ControllingArea = _ProfitCenterText.ControllingArea AND ProjectStartDate <= _ProfitCenterText.ValidityEndDate AND ProjectStartDate >= _ProfitCenterText.ValidityStartDate AND _ProfitCenterText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_EngagementProjectSrvcOrgText AS _ServiceOrganizationText ON _ServiceOrganizationText.EngagementProjectServiceOrg = EnterpriseProjectServiceOrg AND _ServiceOrganizationText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_CustomerToBusinessPartner AS _CustomerToBusinessPartner ON _CustomerToBusinessPartner.BusinessPartnerUUID = CustomerUUID  -- association [1..1]
LEFT OUTER JOIN I_CostCenter AS _ResponsibleCostCenter ON ControllingArea = _ResponsibleCostCenter.ControllingArea AND ResponsibleCostCenter = _ResponsibleCostCenter.CostCenter AND ProjectStartDate <= _ResponsibleCostCenter.ValidityEndDate AND ProjectStartDate >= _ResponsibleCostCenter.ValidityStartDate  -- association [0..1]
;