C_MngProjectDemandTP

DDL: C_MNGPROJECTDEMANDTP Type: view_entity CONSUMPTION

Manage Demands for All tab

C_MngProjectDemandTP is a Consumption CDS View that provides data about "Manage Demands for All tab" in SAP S/4HANA. It reads from 1 data source (I_ProjectDemandTP) and exposes 69 fields with key field ProjectDemandUUID. It has 6 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProjectDemandTP I_ProjectDemandTP projection

Associations (6)

CardinalityTargetAliasCondition
[1] I_ProjectDemandStatus _ProjectDemandStatusFilter $projection.ProjectDemandStatus = _ProjectDemandStatusFilter.ProjectDemandStatus
[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_ProjectDemandDateMaintenance _ProjDmndMatlDateMaint $projection.ProjectDemandCategory = _ProjDmndMatlDateMaint.ProjectDemandCategory and $projection.ProjectDemandDateMaintenance = _ProjDmndMatlDateMaint.ProjectDemandDateMaintenance and $projection.ProjectDemandType = _ProjDmndMatlDateMaint.ProjectDemandType
[1] I_EnterpriseProject _Project $projection.ProjectUUID = _Project.ProjectUUID
[1] C_ProjectDemandTypeFilter _ProjectDemandTypeFilter $projection.ProjectDemandType = _ProjectDemandTypeFilter.ProjectDemandType

Annotations (15)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
UI.headerInfo.description.value ProjectDemand view
UI.headerInfo.title.value ProjectDemandName view
UI.headerInfo.typeNamePlural All Demands view
UI.headerInfo.typeName 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 #REQUIRED view
EndUserText.label Manage Demands for All tab view
AccessControl.authorizationCheck #CHECK view

Fields (69)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandUUID ProjectDemandUUID Entity GUID
ProjectDemand ProjectDemand Demand ID
ProjectDemandName ProjectDemandName Demand Name
ProjectDemandType ProjectDemandType Demand Type
ProjectDemandCategory ProjectDemandCategory Demand Category
ProjectDemandDescription ProjectDemandDescription Description
ProjDmndRequestedQuantity ProjDmndRequestedQuantity Required Quantity
ProjDmndRequestedQuantityUnit ProjDmndRequestedQuantityUnit Quantity Unit
ReferencedObjectUUID ReferencedObjectUUID Referenced Object
Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
ProjectDemandDateMaintenance ProjectDemandDateMaintenance Date Alignment
ProjectDemandStartDate ProjectDemandStartDate Demand Start Date
ProjectDemandEndDate ProjectDemandEndDate Demand End Date
ProjectDemandStatus ProjectDemandStatus Demand Status
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupName _PurchasingGroup PurchasingGroupName Purchasing Grp. Name
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingOrganizationName _PurchasingOrganisation PurchasingOrganizationName Purch. Org. Name
ProjectDemandRequestCurrency ProjectDemandRequestCurrency Demand Currency
ProjectDemandPerUnitAmount ProjectDemandPerUnitAmount Price Per Unit
PriceUnitQty PriceUnitQty Price unit
ProjectDemandRequestNetAmount ProjectDemandRequestNetAmount Net Demand Value
ProjectDemandExpectedAmount Net Value
ProjDmndReqNetAmountCurrency ProjDmndReqNetAmountCurrency Demand Currency
ProjectDemandOverallAmount ProjectDemandOverallAmount Overall Limit
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
ProjectDemandLastChangedByUser ProjectDemandLastChangedByUser Demand Changed By
ProjDemandLastChangeDateTime ProjDemandLastChangeDateTime Demand Changed On
Project _ProjectElementData Project WBS Element
ProjectDescription _ProjectElementData ProjectDescription Project Name
ProjectUUID ProjectUUID Project UUID
ProjectElement _ProjectElementData ProjectElement Proj Element ID
ProjectElementDescription _ProjectElementData ProjectElementDescription Name
FormattedPurRequisitionItem _ProjDmndCalcCatSpecFields FormattedPurRequisitionItem
FormattedProjDmndResvnItem _ProjDmndMatlPurReqnOrd FormattedProjDmndResvnItem
IsPurOrderAllwdForInbDeliv _ProjDmndCalcCatSpecFields IsPurOrderAllwdForInbDeliv Create Ref Doc
_ProjectElementData _ProjectElementData
_ProjectDemandTypeFilter _ProjectDemandTypeFilter
_ProjectDemandStatusFilter _ProjectDemandStatusFilter
_ProjectElementPopOverData _ProjectElementPopOverData
_ProjectPopOverData _ProjectPopOverData
_ProjDmndCalcCatSpecFields _ProjDmndCalcCatSpecFields
StorageLocation Storage Location
CostCenter Cost Center
ActivityType Activity Type
ProjectDemandRequirementPlan Requirement Plan
ProjDmndPlndIndepRqmtItem Planned Independent Requirement Item
ProjectDemandHasReservation Project Demand Has Reservation
_MngProjDmndSrvcPurReqnOrd _MngProjDmndSrvcPurReqnOrd
_ProjDmndMatlPurReqnOrd _ProjDmndMatlPurReqnOrd
_ProjDmndQuantityUnit _ProjDmndQuantityUnit
_WorkPackage _WorkPackage
_Plant _Plant
_PurchasingGroup _PurchasingGroup
_ProjectDemandCurrency _ProjectDemandCurrency
_ProjectDemandNetCurrency _ProjectDemandNetCurrency
_ProjectDemandCategory _ProjectDemandCategory
_PurchasingOrganisation _PurchasingOrganisation
_ProjectDemandVH _ProjectDemandVH
_ProjectDemandStatus _ProjectDemandStatus
ProjectDemandFormattedName _ProjectDemandVH ProjectDemandFormattedName
SitnNumberOfInstances
_ProjDmndMatlDateMaint _ProjDmndMatlDateMaint
_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_MngProjectDemandTP.
-- 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_MngProjectDemandTP AS
SELECT
  ProjectDemandUUID,
  ProjectDemand,
  ProjectDemandName,
  ProjectDemandType,
  ProjectDemandCategory,
  ProjectDemandDescription,
  ProjDmndRequestedQuantity,
  ProjDmndRequestedQuantityUnit,
  ReferencedObjectUUID,
  Plant,
  _Plant.PlantName AS PlantName,
  ProjectDemandDateMaintenance,
  ProjectDemandStartDate,
  ProjectDemandEndDate,
  ProjectDemandStatus,
  PurchasingGroup,
  _PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
  PurchasingOrganization,
  _PurchasingOrganisation.PurchasingOrganizationName AS PurchasingOrganizationName,
  ProjectDemandRequestCurrency,
  ProjectDemandPerUnitAmount,
  PriceUnitQty,
  ProjectDemandRequestNetAmount,
  cast( ProjectDemandRequestNetAmount as tv_proj_dmnd_expected_value preserving type ) AS ProjectDemandExpectedAmount,
  ProjDmndReqNetAmountCurrency,
  ProjectDemandOverallAmount,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  ProjectDemandLastChangedByUser,
  ProjDemandLastChangeDateTime,
  _ProjectElementData.Project AS Project,
  _ProjectElementData.ProjectDescription AS ProjectDescription,
  ProjectUUID,
  _ProjectElementData.ProjectElement AS ProjectElement,
  _ProjectElementData.ProjectElementDescription AS ProjectElementDescription,
  _ProjDmndCalcCatSpecFields.FormattedPurRequisitionItem AS FormattedPurRequisitionItem,
  _ProjDmndMatlPurReqnOrd.FormattedProjDmndResvnItem AS FormattedProjDmndResvnItem,
  _ProjDmndCalcCatSpecFields.IsPurOrderAllwdForInbDeliv AS IsPurOrderAllwdForInbDeliv,
  _ProjectDemand._Material.StorageLocation AS StorageLocation,
  _ProjectDemand._Work.CostCenter AS CostCenter,
  _ProjectDemand._Work.ActivityType AS ActivityType,
  _ProjectDemand._Material._MaterialSupply.ProjectDemandRequirementPlan AS ProjectDemandRequirementPlan,
  _ProjectDemand._Material._MaterialSupply.ProjDmndPlndIndepRqmtItem AS ProjDmndPlndIndepRqmtItem,
  _ProjectDemand._Material._MaterialSupply.ProjectDemandHasReservation AS ProjectDemandHasReservation,
  _ProjectDemandVH.ProjectDemandFormattedName AS ProjectDemandFormattedName,
  _ProjectDemandVH._SitnInstceIndicator.SitnNumberOfInstances AS SitnNumberOfInstances
FROM I_ProjectDemandTP
LEFT OUTER JOIN I_ProjectDemandStatus AS _ProjectDemandStatusFilter ON ProjectDemandStatus = _ProjectDemandStatusFilter.ProjectDemandStatus  -- 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_ProjectDemandDateMaintenance AS _ProjDmndMatlDateMaint ON ProjectDemandCategory = _ProjDmndMatlDateMaint.ProjectDemandCategory AND ProjectDemandDateMaintenance = _ProjDmndMatlDateMaint.ProjectDemandDateMaintenance AND ProjectDemandType = _ProjDmndMatlDateMaint.ProjectDemandType  -- association [1]
LEFT OUTER JOIN I_EnterpriseProject AS _Project ON ProjectUUID = _Project.ProjectUUID  -- association [1]
LEFT OUTER JOIN C_ProjectDemandTypeFilter AS _ProjectDemandTypeFilter ON ProjectDemandType = _ProjectDemandTypeFilter.ProjectDemandType  -- association [1]
;