R_ProjectDemandResourceDraft

DDL: R_PROJECTDEMANDRESOURCEDRAFT Type: view_entity BASIC

Project Demand Resource Draft

R_ProjectDemandResourceDraft is a Basic CDS View that provides data about "Project Demand Resource Draft" in SAP S/4HANA. It reads from 1 data source (dmndresource_d) and exposes 18 fields with key field ProjectDemandWorkUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dmndresource_d dmndresource_d from

Associations (3)

CardinalityTargetAliasCondition
[1..1] R_ProjectDemandDraft _Root $projection.ProjectDemandUUID = _Root.ProjectDemandUUID
[1..1] I_EnterpriseProject _Project $projection.ProjectUUID = _Project.ProjectUUID
[0..1] I_EnterpriseProjectElement _WorkPackage $projection.ReferencedObjectUUID = _WorkPackage.ProjectElementUUID

Annotations (8)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Project Demand Resource Draft view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandWorkUUID projectdemandworkuuid Resource Dmnd UUID
ProjectDemandUUID projectdemanduuid Entity GUID
ProjectUUID projectuuid Project UUID
ReferencedObjectUUID referencedobjectuuid Referenced Object
CostCenter costcenter Cost Center
ActivityType activitytype Activity Type
ProjDmndAssgmtStatus projdmndassgmtstatus Assignment Status
ProjectElementWorkItem projectelementworkitem Work Item ID
ProjDmndBillingControlCategory projdmndbillingcontrolcategory Billing Category
ProjDmndRequestedDeliveryOrg projdmndrequesteddeliveryorg Delivery Org.
ProjDmndAssgmtIsInconsistent projdmndassgmtisinconsistent Truth Value
CreatedByUser createdbyuser User Name
CreationDateTime creationdatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
_Root _Root
_Project _Project
_WorkPackage _WorkPackage

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 R_ProjectDemandResourceDraft.
-- 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 R_ProjectDemandResourceDraft AS
SELECT
  ProjectDemandWorkUUID,
  ProjectDemandUUID,
  ProjectUUID,
  ReferencedObjectUUID,
  CostCenter,
  ActivityType,
  ProjDmndAssgmtStatus,
  ProjectElementWorkItem,
  ProjDmndBillingControlCategory,
  ProjDmndRequestedDeliveryOrg,
  ProjDmndAssgmtIsInconsistent,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM dmndresource_d
LEFT OUTER JOIN R_ProjectDemandDraft AS _Root ON ProjectDemandUUID = _Root.ProjectDemandUUID  -- association [1..1]
LEFT OUTER JOIN I_EnterpriseProject AS _Project ON ProjectUUID = _Project.ProjectUUID  -- association [1..1]
LEFT OUTER JOIN I_EnterpriseProjectElement AS _WorkPackage ON ReferencedObjectUUID = _WorkPackage.ProjectElementUUID  -- association [0..1]
;