C_MngProjectDemandWorkTP

DDL: C_MNGPROJECTDEMANDWORKTP Type: view_entity CONSUMPTION

Manage Proj Dmnd Work Root view for UI

C_MngProjectDemandWorkTP is a Consumption CDS View that provides data about "Manage Proj Dmnd Work Root view for UI" in SAP S/4HANA. It reads from 1 data source (I_ProjectDemandTP) and exposes 44 fields with key field ProjectDemandUUID. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProjectDemandTP I_ProjectDemandTP projection

Associations (7)

CardinalityTargetAliasCondition
[1] I_ProjectDemandStatus _ProjectDemandStatusFilter $projection.ProjectDemandStatusForFilter = _ProjectDemandStatusFilter.ProjectDemandStatus
[1] C_MngProjDmndWorkActual _ProjDmndSupplySum $projection.WBSElementInternalID = _ProjDmndSupplySum.WBSElementInternalID and $projection.activitytype = _ProjDmndSupplySum.ActivityType and $projection.costcenter = _ProjDmndSupplySum.CostCenter
[1] C_ProjDmndRsceAssignmentSum _ProjDmndRsceAssgmtSum $projection.ProjectDemandUUID = _ProjDmndRsceAssgmtSum.ProjectDemandUUID
[1] I_ProjDmndWorkDateMaint _ProjDmndWorkDateMaint $projection.ProjectDemandCategory = _ProjDmndWorkDateMaint.ProjectDemandCategory and $projection.ProjectDemandDateMaintenance = _ProjDmndWorkDateMaint.ProjectDemandDateMaintenance and $projection.ProjectDemandType = _ProjDmndWorkDateMaint.ProjectDemandType
[0..1] C_ProjDmndWorkPackageDisplay _ProjectElementPopOverData $projection.ReferencedObjectUUID = _ProjectElementPopOverData.ProjectElementUUID
[0..1] C_ProjDmndProjectDisplay _ProjectPopOverData $projection.ProjectDescription = _ProjectPopOverData.ProjectDescription and $projection.ProjectUUID = _ProjectPopOverData.ProjectUUID
[1] I_EnterpriseProject _Project $projection.ProjectUUID = _Project.ProjectUUID

Annotations (15)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Manage Proj Dmnd Work Root view for UI view
UI.headerInfo.description.value ProjectDemand view
UI.headerInfo.title.value ProjectDemandName view
UI.headerInfo.typeNamePlural Resource Demands view
UI.headerInfo.typeName Resource Demand view
Metadata.allowExtensions true view
Search.searchable true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey ProjectDemandUUID view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view
AccessControl.authorizationCheck #CHECK view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandUUID ProjectDemandUUID Entity GUID
ProjectDemand ProjectDemand Demand ID
ProjectDemandName ProjectDemandName Demand Name
ProjectDemandCategory ProjectDemandCategory Demand Category
ProjectDemandType ProjectDemandType Demand Type
DemandTypeText ProjectDemandType Demand Type
ProjectDemandDescription ProjectDemandDescription Description
ProjDmndRequestedQuantity ProjDmndRequestedQuantity Required Quantity
ProjDmndRequestedQuantityUnit ProjDmndRequestedQuantityUnit Quantity Unit
ReferencedObjectUUID ReferencedObjectUUID Referenced Object
ProjectDemandDateMaintenance ProjectDemandDateMaintenance Date Alignment
ProjectDemandStartDate ProjectDemandStartDate Demand Start Date
ProjectDemandEndDate ProjectDemandEndDate Demand End Date
ProjectDemandStatus ProjectDemandStatus Demand Status
ProjectDemandStatusForFilter ProjectDemandStatus Demand Status
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
Project _ProjectElementData Project WBS Element
ProjectDescription _ProjectElementData ProjectDescription Project Name
ProjectUUID ProjectUUID Project UUID
ProjectElement _ProjectElementData ProjectElement Proj Element ID
ProjectElementDescription _ProjectElementData ProjectElementDescription Name
CostCenter
ActivityType
WBSElementInternalID
_ProjDmndQuantityUnit _ProjDmndQuantityUnit
_WorkPackage _WorkPackage
_ProjectElementData _ProjectElementData
_ProjectDemandStatus _ProjectDemandStatus
_ProjectDemandStatusFilter _ProjectDemandStatusFilter
_ProjectDemandCategory _ProjectDemandCategory
_ProjectDemandType _ProjectDemandType
_ProjectDemandVH _ProjectDemandVH
_ProjDmndWorkDateMaint _ProjDmndWorkDateMaint
_ProjDmndSupplySum _ProjDmndSupplySum
_ProjDmndRsceAssgmtSum _ProjDmndRsceAssgmtSum
_ProjectElementPopOverData _ProjectElementPopOverData
_ProjectPopOverData _ProjectPopOverData
ProjectDemandFormattedName _ProjectDemandVH ProjectDemandFormattedName
SitnNumberOfInstances
_Project _Project
_EnterpriseProjectForUser _EnterpriseProjectForUser

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 C_MngProjectDemandWorkTP.
-- 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 C_MngProjectDemandWorkTP AS
SELECT
  ProjectDemandUUID,
  ProjectDemand,
  ProjectDemandName,
  ProjectDemandCategory,
  ProjectDemandType,
  ProjectDemandType AS DemandTypeText,
  ProjectDemandDescription,
  ProjDmndRequestedQuantity,
  ProjDmndRequestedQuantityUnit,
  ReferencedObjectUUID,
  ProjectDemandDateMaintenance,
  ProjectDemandStartDate,
  ProjectDemandEndDate,
  ProjectDemandStatus,
  ProjectDemandStatus AS ProjectDemandStatusForFilter,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  _ProjectElementData.Project AS Project,
  _ProjectElementData.ProjectDescription AS ProjectDescription,
  ProjectUUID,
  _ProjectElementData.ProjectElement AS ProjectElement,
  _ProjectElementData.ProjectElementDescription AS ProjectElementDescription,
  _ProjectDemand._Work.CostCenter AS CostCenter,
  _ProjectDemand._Work.ActivityType AS ActivityType,
  _ProjectDemand._WorkPackage.WBSElementInternalID AS WBSElementInternalID,
  _ProjectDemandVH.ProjectDemandFormattedName AS ProjectDemandFormattedName,
  _ProjectDemandVH._SitnInstceIndicator.SitnNumberOfInstances AS SitnNumberOfInstances
FROM I_ProjectDemandTP
LEFT OUTER JOIN I_ProjectDemandStatus AS _ProjectDemandStatusFilter ON ProjectDemandStatusForFilter = _ProjectDemandStatusFilter.ProjectDemandStatus  -- association [1]
LEFT OUTER JOIN C_MngProjDmndWorkActual AS _ProjDmndSupplySum ON WBSElementInternalID = _ProjDmndSupplySum.WBSElementInternalID AND activitytype = _ProjDmndSupplySum.ActivityType AND costcenter = _ProjDmndSupplySum.CostCenter  -- association [1]
LEFT OUTER JOIN C_ProjDmndRsceAssignmentSum AS _ProjDmndRsceAssgmtSum ON ProjectDemandUUID = _ProjDmndRsceAssgmtSum.ProjectDemandUUID  -- association [1]
LEFT OUTER JOIN I_ProjDmndWorkDateMaint AS _ProjDmndWorkDateMaint ON ProjectDemandCategory = _ProjDmndWorkDateMaint.ProjectDemandCategory AND ProjectDemandDateMaintenance = _ProjDmndWorkDateMaint.ProjectDemandDateMaintenance AND ProjectDemandType = _ProjDmndWorkDateMaint.ProjectDemandType  -- association [1]
LEFT OUTER JOIN C_ProjDmndWorkPackageDisplay AS _ProjectElementPopOverData ON ReferencedObjectUUID = _ProjectElementPopOverData.ProjectElementUUID  -- association [0..1]
LEFT OUTER JOIN C_ProjDmndProjectDisplay AS _ProjectPopOverData ON ProjectDescription = _ProjectPopOverData.ProjectDescription AND ProjectUUID = _ProjectPopOverData.ProjectUUID  -- association [0..1]
LEFT OUTER JOIN I_EnterpriseProject AS _Project ON ProjectUUID = _Project.ProjectUUID  -- association [1]
;