I_ProjectDemandWork

DDL: I_PROJECTDEMANDWORK Type: view BASIC Package: PS_DMND_VDM_WORK

Project Demand for Resource

I_ProjectDemandWork (Basic)

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

DemandResource · R&D Engineering

I_ProjectDemandWork is a Basic CDS View that provides data about "Project Demand for Resource" in SAP S/4HANA. It reads from 1 data source (R_ProjectDemandWork) and exposes 17 fields with key field ProjectDemandWorkUUID. It has 4 associations to related views. Part of development package PS_DMND_VDM_WORK.

SAP Help Documentation

CategoryCDS Views for Project Logistics Control
StatusAssignment status of a resource demand (only relevant for resource demands of type Team Resource ) Indicates the status of a resource demand regarding staffing. You can retrieve the supported status values using CDS view Assignment Status for Project Demands .
Purpose
This CDS view retrieves demand data that is specific to project demands for resources. This CDS view provides the data to answer the following business questions: Which activity types are required to execute my projects? Which resource demands are assigned to certain cost centers or delivery organizations? What is the status of a resource demand regarding staffing? 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 .

Prerequisites
Authorizations Users who want to use this CDS view must have one of the following business catalogs assigned: 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.

Structure
Fields Used for Filtering All fields of this CDS view can be used for filtering. The main filters are as follows: CostCenter : This field is used to specify the cost center that should meet a resource demand of type Direct Staffing . It is not relevant for resource demands of type Team Resource or Additional Resource . ActivityType : This field is used to specify the required activity type. ProjDmndRequestedDeliveryOrg : This field is used to specify the delivery organization of the resource requested in a project demand of type Team Resource or Additional Resource . It is not relevant for project demands of type Direct Staffing . Further Important Fields Important fields in this view include the following: Field Name Description ProjectDemandWorkUUID Global identification of a resource demand ProjectDemandUUID Global identification of a project demand ProjDmndAssgmtStatus Assignment status of a resource demand (only relevant for resource demands of type Team Resource ) Indicates the status of a resource demand regarding staffing. You can retrieve the supported status values using CDS view Assignment Status for Project Demands . ProjectElementWorkItem Work item to which a demand is related (only relevant for resource demands of professional services projects) ProjDmndBillingControlCategory Billing control category (only relevant for demands of customer projects) Indicates whether a resource demand is billable or not. The following values are supported: ' ' (Billable) NON_BILL (Non-Billable)

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 resource demand data related to 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 demand data that is specific to project demands for resources.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li> <p>Which activity types are required to execute my projects?</p> </li> <li> <p>Which resource demands are assigned to certain cost centers or delivery organizations?</p> </li> <li> <p>What is the status of a resource demand regarding staffing?</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_ProjectDemandWork R_ProjectDemandWork from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_ProjectDemand _Root $projection.ProjectDemandUUID = _Root.ProjectDemandUUID
[0..*] I_ProjDmndResourceAssignment _ResourceAssignment $projection.ProjectDemandWorkUUID = _ResourceAssignment.ProjectDemandWorkUUID
[0..*] I_ProjectDemandResourceRequest _ProjDmndRsceReq $projection.ProjectDemandWorkUUID = _ProjDmndRsceReq.ProjectDemandWorkUUID
[0..*] I_CostCenter _CostCenter $projection.CostCenter = _CostCenter.CostCenter

Annotations (18)

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 #NOT_REQUIRED view
AbapCatalog.sqlViewName IPROJDMNDWORK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey ProjectDemandWorkUUID view
ObjectModel.sapObjectNodeType.name DemandResource view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XL view
Analytics.dataExtraction.enabled true view
Analytics.dataExtraction.delta.changeDataCapture.automatic true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Project Demand for Resource view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandWorkUUID ProjectDemandWorkUUID Global Identification of a Resource Demand
ProjectDemandUUID ProjectDemandUUID Global Identification of a Project Demand
CostCenter CostCenter Cost Center
ActivityType ActivityType Activity Type
ProjDmndAssgmtStatus ProjDmndAssgmtStatus Assignment Status of a Resource Demand
ProjectElementWorkItem ProjectElementWorkItem ID of the Work Item to Which a Resource Demand is Related
ProjDmndBillingControlCategory ProjDmndBillingControlCategory Billing Control Category
ProjDmndRequestedDeliveryOrg ProjDmndRequestedDeliveryOrg Delivery Organization from Which a Resource is Required
CreatedByUser CreatedByUser Created By User
CreationDateTime CreationDateTime Creation Date Time
LastChangedByUser LastChangedByUser Last Changed By User
LastChangeDateTime LastChangeDateTime Last Change Date Time
_Root _Root
_ResourceAssignment _ResourceAssignment
_ProjDmndRsceReq _ProjDmndRsceReq
_CostCenterActType _CostCenterActType
_CostCenter _CostCenter

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_ProjectDemandWork.
-- 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_ProjectDemandWork AS
SELECT
  ProjectDemandWorkUUID,
  ProjectDemandUUID,
  CostCenter,
  ActivityType,
  ProjDmndAssgmtStatus,
  ProjectElementWorkItem,
  ProjDmndBillingControlCategory,
  ProjDmndRequestedDeliveryOrg,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM R_ProjectDemandWork
LEFT OUTER JOIN I_ProjectDemand AS _Root ON ProjectDemandUUID = _Root.ProjectDemandUUID  -- association [1..1]
LEFT OUTER JOIN I_ProjDmndResourceAssignment AS _ResourceAssignment ON ProjectDemandWorkUUID = _ResourceAssignment.ProjectDemandWorkUUID  -- association [0..*]
LEFT OUTER JOIN I_ProjectDemandResourceRequest AS _ProjDmndRsceReq ON ProjectDemandWorkUUID = _ProjDmndRsceReq.ProjectDemandWorkUUID  -- association [0..*]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON CostCenter = _CostCenter.CostCenter  -- association [0..*]
;