C_ProjectDemandVH

DDL: C_PROJECTDEMANDVH SQL: CPRJDMNDVH Type: view CONSUMPTION

Value help for Project Demand

C_ProjectDemandVH is a Consumption CDS View that provides data about "Value help for Project Demand" in SAP S/4HANA. It reads from 1 data source (I_ProjectDemandTP) and exposes 11 fields with key field ProjectDemandUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProjectDemandTP I_ProjectDemandTP from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_ProjectDemandWorkPackageText _ProjectElementData $projection.ReferencedObjectUUID = _ProjectElementData.ProjectElementUUID
[0..1] I_SitnInstceIndicator _SitnInstceIndicator _SitnInstceIndicator.SitnInstceAnchorObjectKey = $projection.ProjectDemandFormattedName and _SitnInstceIndicator.SitnDefAnchorObject = 'ProjectDemandFormattedName'
[1] R_ProjectDemand _Root _Root.ProjectDemandUUID = $projection.ProjectDemandUUID

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CPRJDMNDVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Value help for Project Demand view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey ProjectDemandUUID view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
Search.searchable true view
Consumption.ranked true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandUUID ProjectDemandUUID Entity GUID
ProjectDemandFormattedName
ProjectDemand ProjectDemand Demand ID
ProjectDemandName ProjectDemandName Demand Name
ReferencedObjectUUID ReferencedObjectUUID Referenced Object
ProjectUUID ProjectUUID Project UUID
_Project _Project
_WorkPackage _WorkPackage
_ProjectElementData _ProjectElementData
_SitnInstceIndicator _SitnInstceIndicator
_Root _Root

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_ProjectDemandVH.
-- 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: CPRJDMNDVH

CREATE VIEW C_ProjectDemandVH AS
SELECT
  ProjectDemandUUID,
  bintohex(ProjectDemandUUID) AS ProjectDemandFormattedName,
  ProjectDemand,
  ProjectDemandName,
  ReferencedObjectUUID,
  ProjectUUID
FROM I_ProjectDemandTP
LEFT OUTER JOIN I_ProjectDemandWorkPackageText AS _ProjectElementData ON ReferencedObjectUUID = _ProjectElementData.ProjectElementUUID  -- association [0..1]
LEFT OUTER JOIN I_SitnInstceIndicator AS _SitnInstceIndicator ON _SitnInstceIndicator.SitnInstceAnchorObjectKey = ProjectDemandFormattedName AND _SitnInstceIndicator.SitnDefAnchorObject = 'ProjectDemandFormattedName'  -- association [0..1]
LEFT OUTER JOIN R_ProjectDemand AS _Root ON _Root.ProjectDemandUUID = ProjectDemandUUID  -- association [1]
;