C_MngProjectDemandMaterialTP

DDL: C_MNGPROJECTDEMANDMATERIALTP Type: view_entity CONSUMPTION Package: ODATA_PS_DMND_MAINTAIN

Project Demand

C_MngProjectDemandMaterialTP is a Consumption CDS View that provides data about "Project Demand" in SAP S/4HANA. It reads from 1 data source (I_ProjectDemandTP) and exposes 72 fields with key field ProjectDemandUUID. It has 6 associations to related views. It is exposed through 1 OData service (ASQL_F4562). Part of development package ODATA_PS_DMND_MAINTAIN.

Data Sources (1)

SourceAliasJoin Type
I_ProjectDemandTP I_ProjectDemandTP projection

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_ProjectDemandStatus _ProjectDemandStatusFilter $projection.ProjectDemandStatusForFilter = _ProjectDemandStatusFilter.ProjectDemandStatus
[0..1] I_ProjDmndMatlDateMaint _ProjDmndMatlDateMaint $projection.ProjectDemandCategory = _ProjDmndMatlDateMaint.ProjectDemandCategory and $projection.ProjectDemandDateMaintenance = _ProjDmndMatlDateMaint.ProjectDemandDateMaintenance and $projection.ProjectDemandType = _ProjDmndMatlDateMaint.ProjectDemandType
[0..1] C_ProjDmndWorkPackageDisplay _ProjectElementPopOverData $projection.ReferencedObjectUUID = _ProjectElementPopOverData.ProjectElementUUID
[0..1] C_ProjDmndProjectDisplay _ProjectPopOverData $projection.ProjectDescription = _ProjectPopOverData.ProjectDescription and $projection.ProjectUUID = _ProjectPopOverData.ProjectUUID
[0..1] I_EnterpriseProjectForUser _EnterpriseProjectForUser _EnterpriseProjectForUser.ProjectUUID = $projection.ProjectUUID
[1..1] I_EnterpriseProject _Project $projection.ProjectUUID = _Project.ProjectUUID

Annotations (10)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
Search.searchable true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Project Demand view
AccessControl.authorizationCheck #CHECK view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F4562 ASQL_F4562 C2 NOT_RELEASED

Fields (72)

KeyFieldSource TableSource FieldDescription
KEY ProjectDemandUUID ProjectDemandUUID Entity GUID
ProjectDemand ProjectDemand Demand ID
ProjectDemandName ProjectDemandName Demand Name
ProjectDemandCategory ProjectDemandCategory Demand Category
ProjectDemandType ProjectDemandType Demand Type
ProjectDemandTypeForFilter ProjectDemandType Demand Type
ProjectDemandDescription ProjectDemandDescription Description
ProjDmndRequestedQuantity ProjDmndRequestedQuantity Required Quantity
ProjDmndRequestedQuantityUnit ProjDmndRequestedQuantityUnit Quantity Unit
ReferencedObjectUUID ReferencedObjectUUID Referenced Object
Plant Plant Valuation Area
ProjectDemandDateMaintenance ProjectDemandDateMaintenance Date Alignment
ProjectDemandStartDate ProjectDemandStartDate Demand Start Date
ProjectDemandEndDate ProjectDemandEndDate Demand End Date
ProjectDemandStatus ProjectDemandStatus Demand Status
ProjectDemandStatusForFilter 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 Value
InvoiceReceiptAmount _ProjDmndMatlPurReqnOrd InvoiceReceiptAmount
ProjDmndReqNetAmountCurrency ProjDmndReqNetAmountCurrency Demand Currency
ProjectDemandExpectedAmount Net Value
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
FormattedPurRequisitionItem _ProjDmndMatlPurReqnOrd FormattedPurRequisitionItem
FormattedProjDmndResvnItem _ProjDmndMatlPurReqnOrd FormattedProjDmndResvnItem
Project _ProjectElementData Project WBS Element
ProjectDescription _ProjectElementData ProjectDescription Project Name
ProjectUUID _ProjectElementData ProjectUUID Project UUID
ProjectElement _ProjectElementData ProjectElement Proj Element ID
ProjectElementForFilter _ProjectElementData ProjectElement Proj Element ID
ProjectElementDescription _ProjectElementData ProjectElementDescription Name
Material Material
MaterialGroup Material Group
ProjectDemandRequirementPlan Requirement Plan
ProjDmndPlndIndepRqmtItem Planned Independent Requirement Item
ProjectDemandHasReservation Project Demand Has Reservation
Supplier Supplier
PurchasingInfoRecord Info Record
PurchaseContract Purchase Contract
StorageLocation Storage Location
_Plant _Plant
_ProjDmndQuantityUnit _ProjDmndQuantityUnit
_ProjectDemandCategory _ProjectDemandCategory
_ProjectDemandCurrency _ProjectDemandCurrency
_ProjectDemandNetCurrency _ProjectDemandNetCurrency
_ProjectDemandStatus _ProjectDemandStatus
_ProjectDemandStatusFilter _ProjectDemandStatusFilter
_ProjectDemandType _ProjectDemandType
_PurchasingGroup _PurchasingGroup
_PurchasingOrganisation _PurchasingOrganisation
_ProjectElementData _ProjectElementData
_WorkPackage _WorkPackage
_ProjectDemandVH _ProjectDemandVH
_ProjDmndMatlDateMaint _ProjDmndMatlDateMaint
_ProjectElementPopOverData _ProjectElementPopOverData
_ProjectPopOverData _ProjectPopOverData
_EnterpriseProjectForUser _EnterpriseProjectForUser
_Project _Project
_ProjDmndMatlPurReqnOrd _ProjDmndMatlPurReqnOrd
ProjectDemandFormattedName _ProjectDemandVH ProjectDemandFormattedName
SitnNumberOfInstances

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_MngProjectDemandMaterialTP.
-- 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_MngProjectDemandMaterialTP AS
SELECT
  ProjectDemandUUID,
  ProjectDemand,
  ProjectDemandName,
  ProjectDemandCategory,
  ProjectDemandType,
  ProjectDemandType AS ProjectDemandTypeForFilter,
  ProjectDemandDescription,
  ProjDmndRequestedQuantity,
  ProjDmndRequestedQuantityUnit,
  ReferencedObjectUUID,
  Plant,
  ProjectDemandDateMaintenance,
  ProjectDemandStartDate,
  ProjectDemandEndDate,
  ProjectDemandStatus,
  ProjectDemandStatus AS ProjectDemandStatusForFilter,
  PurchasingGroup,
  _PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
  PurchasingOrganization,
  _PurchasingOrganisation.PurchasingOrganizationName AS PurchasingOrganizationName,
  ProjectDemandRequestCurrency,
  ProjectDemandPerUnitAmount,
  PriceUnitQty,
  ProjectDemandRequestNetAmount,
  _ProjDmndMatlPurReqnOrd.InvoiceReceiptAmount AS InvoiceReceiptAmount,
  ProjDmndReqNetAmountCurrency,
  cast( ProjectDemandRequestNetAmount as tv_proj_dmnd_expected_value preserving type ) AS ProjectDemandExpectedAmount,
  ProjectDemandOverallAmount,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  ProjectDemandLastChangedByUser,
  ProjDemandLastChangeDateTime,
  _ProjDmndMatlPurReqnOrd.FormattedPurRequisitionItem AS FormattedPurRequisitionItem,
  _ProjDmndMatlPurReqnOrd.FormattedProjDmndResvnItem AS FormattedProjDmndResvnItem,
  _ProjectElementData.Project AS Project,
  _ProjectElementData.ProjectDescription AS ProjectDescription,
  _ProjectElementData.ProjectUUID AS ProjectUUID,
  _ProjectElementData.ProjectElement AS ProjectElement,
  _ProjectElementData.ProjectElement AS ProjectElementForFilter,
  _ProjectElementData.ProjectElementDescription AS ProjectElementDescription,
  _ProjectDemand._Material.Material AS Material,
  _ProjectDemand._Material.MaterialGroup AS MaterialGroup,
  _ProjectDemand._Material._MaterialSupply.ProjectDemandRequirementPlan AS ProjectDemandRequirementPlan,
  _ProjectDemand._Material._MaterialSupply.ProjDmndPlndIndepRqmtItem AS ProjDmndPlndIndepRqmtItem,
  _ProjectDemand._Material._MaterialSupply.ProjectDemandHasReservation AS ProjectDemandHasReservation,
  _ProjectDemand._Material.Supplier AS Supplier,
  _ProjectDemand._Material.PurchasingInfoRecord AS PurchasingInfoRecord,
  _ProjectDemand._Material.PurchaseContract AS PurchaseContract,
  _ProjectDemand._Material.StorageLocation AS StorageLocation,
  _ProjectDemandVH.ProjectDemandFormattedName AS ProjectDemandFormattedName,
  _ProjectDemandVH._SitnInstceIndicator.SitnNumberOfInstances AS SitnNumberOfInstances
FROM I_ProjectDemandTP
LEFT OUTER JOIN I_ProjectDemandStatus AS _ProjectDemandStatusFilter ON ProjectDemandStatusForFilter = _ProjectDemandStatusFilter.ProjectDemandStatus  -- association [0..1]
LEFT OUTER JOIN I_ProjDmndMatlDateMaint AS _ProjDmndMatlDateMaint ON ProjectDemandCategory = _ProjDmndMatlDateMaint.ProjectDemandCategory AND ProjectDemandDateMaintenance = _ProjDmndMatlDateMaint.ProjectDemandDateMaintenance AND ProjectDemandType = _ProjDmndMatlDateMaint.ProjectDemandType  -- association [0..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_EnterpriseProjectForUser AS _EnterpriseProjectForUser ON _EnterpriseProjectForUser.ProjectUUID = ProjectUUID  -- association [0..1]
LEFT OUTER JOIN I_EnterpriseProject AS _Project ON ProjectUUID = _Project.ProjectUUID  -- association [1..1]
;