C_CustomerProjectVH

DDL: C_CUSTOMERPROJECTVH SQL: CCUSTPROJVH Type: view CONSUMPTION

Customer Project Value Help

C_CustomerProjectVH is a Consumption CDS View that provides data about "Customer Project Value Help" in SAP S/4HANA. It reads from 1 data source (I_CustomerProject) and exposes 13 fields with key field CustomerProject. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustomerProject I_CustomerProject from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_EngagementProject _EngagementProject $projection.CustomerProject = _EngagementProject.EngagementProject
[1..*] I_PersnWrkAgreementDet _PersonWorkAgreement $projection.EmploymentInternalID = _PersonWorkAgreement.PersonWorkAgreement

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName CCUSTPROJVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey CustomerProject view
EndUserText.label Customer Project Value Help view
Search.searchable true view
Consumption.ranked true view
Consumption.valueHelpDefault.fetchValues #AUTOMATICALLY_WHEN_DISPLAYED view
VDM.viewType #CONSUMPTION view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CustomerProject I_CustomerProject CustomerProject Engmnt Project ID
CustomerProjectName I_CustomerProject CustomerProjectName
EmploymentInternalID I_CustomerProject CustProjMgrPersonnelNumber
CustomerProjectManagerName
CustomerProjectServiceOrg I_CustomerProject CustomerProjectServiceOrg Service Org.
CustomerProjectVisibility I_CustomerProject CustomerProjectVisibility
ProjectProfileCode I_CustomerProject ProjectProfileCode Project Profile
EngmntProjectHeaderCompanyCode I_CustomerProject EngmntProjectHeaderCompanyCode Receiver Company Code
EngagementProjectCostCenter I_CustomerProject CostCenter Cost Center
ProfitCenter I_CustomerProject ProfitCenter Profit Center
IsMyProject
_EngagementProject _EngagementProject
_PersonWorkAgreement _PersonWorkAgreement

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_CustomerProjectVH.
-- 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: CCUSTPROJVH

CREATE VIEW C_CustomerProjectVH AS
SELECT
  I_CustomerProject.CustomerProject AS CustomerProject,
  I_CustomerProject.CustomerProjectName AS CustomerProjectName,
  I_CustomerProject.CustProjMgrPersonnelNumber AS EmploymentInternalID,
  cast(_PersonWorkAgreement._WorkforcePerson.PersonFullName as /cpd/proj_manager_name preserving type ) AS CustomerProjectManagerName,
  I_CustomerProject.CustomerProjectServiceOrg AS CustomerProjectServiceOrg,
  I_CustomerProject.CustomerProjectVisibility AS CustomerProjectVisibility,
  I_CustomerProject.ProjectProfileCode AS ProjectProfileCode,
  I_CustomerProject.EngmntProjectHeaderCompanyCode AS EngmntProjectHeaderCompanyCode,
  I_CustomerProject.CostCenter AS EngagementProjectCostCenter,
  I_CustomerProject.ProfitCenter AS ProfitCenter,
  I_CustomerProject._UserInvlmnt.IsMyProject AS IsMyProject
FROM I_CustomerProject
LEFT OUTER JOIN I_EngagementProject AS _EngagementProject ON CustomerProject = _EngagementProject.EngagementProject  -- association [1..1]
LEFT OUTER JOIN I_PersnWrkAgreementDet AS _PersonWorkAgreement ON EmploymentInternalID = _PersonWorkAgreement.PersonWorkAgreement  -- association [1..*]
;