R_ProjectDemandResourceRequest

DDL: R_PROJECTDEMANDRESOURCEREQUEST Type: view_entity BASIC

Resource Request for Resource Demand

R_ProjectDemandResourceRequest is a Basic CDS View that provides data about "Resource Request for Resource Demand" in SAP S/4HANA. It reads from 1 data source (dmndrscereq) and exposes 20 fields with key field ProjDmndResourceRequestUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dmndrscereq dmndrscereq from

Associations (5)

CardinalityTargetAliasCondition
[1] R_ProjectDemand _Root $projection.ProjectDemandUUID = _Root.ProjectDemandUUID
[1] R_ProjectDemandWork _Work $projection.ProjectDemandWorkUUID = _Work.ProjectDemandWorkUUID
[0..*] R_ProjDmndRsceReqDistribution _ProjDmndRsceReqDistr $projection.ProjDmndResourceRequestUUID = _ProjDmndRsceReqDistr.ProjDmndResourceRequestUUID
[1] I_EnterpriseProject _EnterpriseProject $projection.ProjectUUID = _EnterpriseProject.ProjectUUID
[1] I_PersonWorkAgreement_1 _PersonWorkAgrmt $projection.ProjectDemandRequestedResource = _PersonWorkAgrmt.PersonWorkAgreement

Annotations (12)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Analytics.technicalName RPrjDmndRsceReq view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey ProjDmndResourceRequestUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Resource Request for Resource Demand view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY ProjDmndResourceRequestUUID projdmndresourcerequestuuid Rsce Request UUID
ProjectDemandWorkUUID projectdemandworkuuid Resource Dmnd UUID
ProjectDemandUUID projectdemanduuid Entity GUID
ProjectUUID Project UUID
ReferencedObjectUUID Referenced Object
ProjectDemandRequestedResource projectdemandrequestedresource Resource
ProjDmndStfngInstructionText projdmndstfnginstructiontext Staffing Instruction
ProjDmndRsceReqWorkAssgmtOID projdmndrscereqworkassgmtoid Work Assignment ID
ProjDmndRsceReqWrkfrcPersonOID projdmndrscereqwrkfrcpersonoid Workforce Person ID
ProjDmndRsceReqStartDate projdmndrscereqstartdate Demand Start Date
ProjDmndRsceReqEndDate projdmndrscereqenddate Demand End Date
CreatedByUser createdbyuser User Name
CreationDateTime creationdatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
_Root _Root
_Work _Work
_ProjDmndRsceReqDistr _ProjDmndRsceReqDistr
_EnterpriseProject _EnterpriseProject
_PersonWorkAgrmt _PersonWorkAgrmt

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_ProjectDemandResourceRequest.
-- 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_ProjectDemandResourceRequest AS
SELECT
  ProjDmndResourceRequestUUID,
  ProjectDemandWorkUUID,
  ProjectDemandUUID,
  cast(projectuuid as tv_project_uuid_chg_doc preserving type ) AS ProjectUUID,
  cast(referencedobjectuuid as tv_dmnd_ref_obj_uuid_chg_doc preserving type ) AS ReferencedObjectUUID,
  ProjectDemandRequestedResource,
  ProjDmndStfngInstructionText,
  ProjDmndRsceReqWorkAssgmtOID,
  ProjDmndRsceReqWrkfrcPersonOID,
  ProjDmndRsceReqStartDate,
  ProjDmndRsceReqEndDate,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM dmndrscereq
LEFT OUTER JOIN R_ProjectDemand AS _Root ON ProjectDemandUUID = _Root.ProjectDemandUUID  -- association [1]
LEFT OUTER JOIN R_ProjectDemandWork AS _Work ON ProjectDemandWorkUUID = _Work.ProjectDemandWorkUUID  -- association [1]
LEFT OUTER JOIN R_ProjDmndRsceReqDistribution AS _ProjDmndRsceReqDistr ON ProjDmndResourceRequestUUID = _ProjDmndRsceReqDistr.ProjDmndResourceRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_EnterpriseProject AS _EnterpriseProject ON ProjectUUID = _EnterpriseProject.ProjectUUID  -- association [1]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _PersonWorkAgrmt ON ProjectDemandRequestedResource = _PersonWorkAgrmt.PersonWorkAgreement  -- association [1]
;