R_ProjectDemandService

DDL: R_PROJECTDEMANDSERVICE Type: view_entity BASIC

Project Demand for Service

R_ProjectDemandService is a Basic CDS View that provides data about "Project Demand for Service" in SAP S/4HANA. It reads from 1 data source (servicedemand) and exposes 21 fields with key field ProjectDemandServiceUUID. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
servicedemand servicedemand from

Associations (8)

CardinalityTargetAliasCondition
[0..1] R_ProjectDemandServiceSupply _ServiceSupply _ServiceSupply.ProjectDemandUUID = $projection.ProjectDemandUUID
[1..1] R_ProjectDemand _RootTP $projection.ProjectDemandUUID = _RootTP.ProjectDemandUUID
[0..1] I_ProductStdVH _Material $projection.Material = _Material.Product
[1..1] I_ProductDescription _MaterialText $projection.Material = _MaterialText.Product and _MaterialText.Language = $session.system_language
[0..1] I_ProductGroup_2 _MaterialGroup $projection.MaterialGroup = _MaterialGroup.ProductGroup
[1..1] I_ProductGroupText_2 _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.ProductGroup and _MaterialGroupText.Language = $session.system_language
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_PurchasingInfoRecord _PurchasingInfoRecord $projection.PurchasingInfoRecord = _PurchasingInfoRecord.PurchasingInfoRecord

Annotations (11)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey ProjectDemandServiceUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Project Demand for Service view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandServiceUUID projectdemandserviceuuid Service Dmnd UUID
ProjectDemandUUID projectdemanduuid Entity GUID
Material material Vehicle Model
MaterialGroup materialgroup Product Group
Supplier supplier Supplier
PurchasingInfoRecord purchasinginforecord Info Record
PurchaseContract purchasecontract Purchasing Doc.
PurchaseContractItem purchasecontractitem Item
MaterialPlannedDeliveryDurn materialplanneddeliverydurn Pl. Deliv. Time
CreatedByUser createdbyuser User Name
CreationDateTime creationdatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
_RootTP _RootTP
_ServiceSupply _ServiceSupply
_Material _Material
_MaterialText _MaterialText
_MaterialGroup _MaterialGroup
_MaterialGroupText _MaterialGroupText
_Supplier _Supplier
_PurchasingInfoRecord _PurchasingInfoRecord

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_ProjectDemandService.
-- 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_ProjectDemandService AS
SELECT
  ProjectDemandServiceUUID,
  ProjectDemandUUID,
  Material,
  MaterialGroup,
  Supplier,
  PurchasingInfoRecord,
  PurchaseContract,
  PurchaseContractItem,
  MaterialPlannedDeliveryDurn,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM servicedemand
LEFT OUTER JOIN R_ProjectDemandServiceSupply AS _ServiceSupply ON _ServiceSupply.ProjectDemandUUID = ProjectDemandUUID  -- association [0..1]
LEFT OUTER JOIN R_ProjectDemand AS _RootTP ON ProjectDemandUUID = _RootTP.ProjectDemandUUID  -- association [1..1]
LEFT OUTER JOIN I_ProductStdVH AS _Material ON Material = _Material.Product  -- association [0..1]
LEFT OUTER JOIN I_ProductDescription AS _MaterialText ON Material = _MaterialText.Product AND _MaterialText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_ProductGroup_2 AS _MaterialGroup ON MaterialGroup = _MaterialGroup.ProductGroup  -- association [0..1]
LEFT OUTER JOIN I_ProductGroupText_2 AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.ProductGroup AND _MaterialGroupText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_PurchasingInfoRecord AS _PurchasingInfoRecord ON PurchasingInfoRecord = _PurchasingInfoRecord.PurchasingInfoRecord  -- association [0..1]
;