I_SrcgProjItmDemandDistr

DDL: I_SRCGPROJITMDEMANDDISTR Type: view_entity BASIC Package: VDM_MM_PUR_SRCGPROJ

Demand Distribution for Srcg Proj Item

I_SrcgProjItmDemandDistr is a Basic CDS View that provides data about "Demand Distribution for Srcg Proj Item" in SAP S/4HANA. It reads from 1 data source (R_SrcgProjItmDemandDistr) and exposes 18 fields with key field SrcgProjDmndDistributionUUID. It has 5 associations to related views. Part of development package VDM_MM_PUR_SRCGPROJ.

Data Sources (1)

SourceAliasJoin Type
R_SrcgProjItmDemandDistr R_SrcgProjItmDemandDistr from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_SourcingProject _SourcingProject $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID
[1..1] I_SourcingProjectItem _SourcingProjectItem $projection.SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID
[0..1] I_PurchasingDocumentType _PurchasingDocumentType $projection.SrcgProjFollowOnDocumentCat = _PurchasingDocumentType.PurchasingDocumentCategory and $projection.SrcgProjFollowOnDocumentType = _PurchasingDocumentType.PurchasingDocumentType
[0..1] I_PurchasingDocumentCategory _PurchasingDocumentCategory $projection.SrcgProjFollowOnDocumentCat = _PurchasingDocumentCategory.PurchasingDocumentCategory
[1..1] E_SrcgProjItmDemandDistr _Extension $projection.SrcgProjDmndDistributionUUID = _Extension.SrcgProjDmndDistributionUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.representativeKey SrcgProjDmndDistributionUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
EndUserText.label Demand Distribution for Srcg Proj Item view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY SrcgProjDmndDistributionUUID SrcgProjDmndDistributionUUID Demand Distribution UUID
SourcingProjectUUID SourcingProjectUUID Sourcing Project UUID
SourcingProjectItemUUID SourcingProjectItemUUID Item UUID
ProcurementProject ProcurementProject Project
Plant Plant Valuation Area
CompanyCode CompanyCode Receiver Company Code
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
MaxAnnualRequestedQuantity MaxAnnualRequestedQuantity Max. Requested Quantity
RequestedQuantityUnit _SourcingProjectItem RequestedQuantityUnit Requested Quantity Unit
StorageLocation StorageLocation StorageLocation
SrcgProjFollowOnDocumentCat SrcgProjFollowOnDocumentCat Follow-On Document Category
SrcgProjFollowOnDocumentType SrcgProjFollowOnDocumentType Follow-On Document Type
_SourcingProject _SourcingProject
_SourcingProjectItem _SourcingProjectItem
_PurchasingDocumentCategory _PurchasingDocumentCategory
_PurchasingDocumentType _PurchasingDocumentType

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_SrcgProjItmDemandDistr.
-- 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_SrcgProjItmDemandDistr AS
SELECT
  SrcgProjDmndDistributionUUID,
  SourcingProjectUUID,
  SourcingProjectItemUUID,
  ProcurementProject,
  Plant,
  CompanyCode,
  PurchasingGroup,
  PurchasingOrganization,
  ProcurementHubSourceSystem,
  MaxAnnualRequestedQuantity,
  _SourcingProjectItem.RequestedQuantityUnit AS RequestedQuantityUnit,
  StorageLocation,
  SrcgProjFollowOnDocumentCat,
  SrcgProjFollowOnDocumentType
FROM R_SrcgProjItmDemandDistr
LEFT OUTER JOIN I_SourcingProject AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID  -- association [1..1]
LEFT OUTER JOIN I_SourcingProjectItem AS _SourcingProjectItem ON SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID  -- association [1..1]
LEFT OUTER JOIN I_PurchasingDocumentType AS _PurchasingDocumentType ON SrcgProjFollowOnDocumentCat = _PurchasingDocumentType.PurchasingDocumentCategory AND SrcgProjFollowOnDocumentType = _PurchasingDocumentType.PurchasingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentCategory AS _PurchasingDocumentCategory ON SrcgProjFollowOnDocumentCat = _PurchasingDocumentCategory.PurchasingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN E_SrcgProjItmDemandDistr AS _Extension ON SrcgProjDmndDistributionUUID = _Extension.SrcgProjDmndDistributionUUID  -- association [1..1]
;