I_ProjectDemandService

DDL: I_PROJECTDEMANDSERVICE Type: view BASIC Package: PS_DMND_VDM_SERVICE

Project Demand for Service

I_ProjectDemandService (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Service · R&D Engineering

I_ProjectDemandService is a Basic CDS View that provides data about "Project Demand for Service" in SAP S/4HANA. It reads from 1 data source (R_ProjectDemandService) and exposes 18 fields with key field ProjectDemandServiceUUID. It has 5 associations to related views. Part of development package PS_DMND_VDM_SERVICE.

SAP Help Documentation

CategoryCDS Views for Project Logistics Control
Purpose
This CDS view retrieves service demand data that is specific to project demands for service. This CDS view provides the data to answer the following business questions: What is the material group and material number? What is the purchasing document number? Who is the desired supplier for particular services? What would be the planned delivery time? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views . If you need to create an incident regarding this CDS view, use component PPM-SCL-DMN .

Prerequisites
Authorizations One of the following business catalogs needs to be assigned to a user to be able to use this CDS view: Enterprise Project – Project Demand ( SAP_PS_BC_PROJ_DEMAND_MC ) Development – API Test – Project Demand ( SAP_A4C_BC_DEV_TST_PPM_DM0_PC ) This business catalog is assigned to the Developer ( SAP_BR_DEVELOPER ) business role template. Both business catalogs can be used to grant read and write access to project demand data. However, only read access is needed to use the CDS view. Users who want to use this CDS view must have a role that includes authorization based on at least one of the business catalogs listed above. In this role, the following restriction types must be set to read access:

Structure
Important fields in this view include the following: Field Name Description ProjectDemandServiceUUID Service Demand UUID ProjectDemandUUID Demand UUID PurchasingInfoRecord Service Demand Information Record Material Material Number MaterialGroup Material Group Supplier Desired Supplier MaterialPlannedDeliveryDurn Planned Delivery Time PurchaseContract Purchasing Document Number

Data Extraction
Data Extraction Type Full (physical deletions are possible in source tables) Delta (change data capture)

Constraints
This CDS view can only be used to retrieve data of project demands of enterprise projects and professional services projects in SAP S/4HANA Cloud Public Edition . It is not intended for use in SAP S/4HANA .

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessR&D Engineering
Application ComponentPPM-SCL-DMN
CapabilitiesData Source for Data Extraction,Data Source for Defining CDS Entities,Data Source in SQL Select,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageR&D/Engineering for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves service demand data that is specific to project demands for service.</p> This CDS view provides the data to answer the following business questions:<ul> <li> <p>What is the material group and material number?</p> </li> <li> <p>What is the purchasing document number?</p> </li> <li> <p>Who is the desired supplier for particular services?</p> </li> <li> <p>What would be the planned delivery time?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
R_ProjectDemandService R_ProjectDemandService from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_ProjectDemandServiceSupply _ServiceSupply _ServiceSupply.ProjectDemandUUID = $projection.ProjectDemandUUID
[1..1] I_ProjectDemand _RootTP $projection.ProjectDemandUUID = _RootTP.ProjectDemandUUID
[0..1] I_Product _Material $projection.Material = _Material.Product
[0..1] I_ProductGroup_2 _MaterialGroup $projection.MaterialGroup = _MaterialGroup.ProductGroup
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier

Annotations (17)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
AbapCatalog.sqlViewName IPROJDMNDSERVICE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name Service view
ObjectModel.representativeKey ProjectDemandServiceUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
Analytics.dataExtraction.enabled true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Project Demand for Service view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandServiceUUID ProjectDemandServiceUUID Global Identification for Service Demand
ProjectDemandUUID ProjectDemandUUID Global Identification of a Project Demand
Material Material Material Number
MaterialGroup MaterialGroup Material Group
Supplier Supplier Desired Supplier for Project Demand
PurchasingInfoRecord PurchasingInfoRecord Info Record for Project Demand
PurchaseContract PurchaseContract Purchasing Document Number
PurchaseContractItem PurchaseContractItem Item Number of Purchasing Document
MaterialPlannedDeliveryDurn MaterialPlannedDeliveryDurn Planned Delivery Time in Days
CreatedByUser CreatedByUser Created By User
CreationDateTime CreationDateTime Creation Date Time
LastChangedByUser LastChangedByUser Last Changed By User
LastChangeDateTime LastChangeDateTime Last Change Date Time
_RootTP _RootTP
_ServiceSupply _ServiceSupply
_Material _Material
_MaterialGroup _MaterialGroup
_Supplier _Supplier

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 I_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 I_ProjectDemandService AS
SELECT
  ProjectDemandServiceUUID,
  ProjectDemandUUID,
  Material,
  MaterialGroup,
  Supplier,
  PurchasingInfoRecord,
  PurchaseContract,
  PurchaseContractItem,
  MaterialPlannedDeliveryDurn,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM R_ProjectDemandService
LEFT OUTER JOIN I_ProjectDemandServiceSupply AS _ServiceSupply ON _ServiceSupply.ProjectDemandUUID = ProjectDemandUUID  -- association [0..1]
LEFT OUTER JOIN I_ProjectDemand AS _RootTP ON ProjectDemandUUID = _RootTP.ProjectDemandUUID  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Material ON Material = _Material.Product  -- association [0..1]
LEFT OUTER JOIN I_ProductGroup_2 AS _MaterialGroup ON MaterialGroup = _MaterialGroup.ProductGroup  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
;