A_SrcgProjItmDemandDistr

DDL: A_SRCGPROJITMDEMANDDISTR Type: view_entity CONSUMPTION Package: ODATA_MM_PUR_SRCGPROJ_API

Demand Distribution

A_SrcgProjItmDemandDistr is a Consumption CDS View that provides data about "Demand Distribution" in SAP S/4HANA. It reads from 1 data source (R_SrcgProjItmDemandDistrTP) and exposes 22 fields with key field SrcgProjDmndDistributionUUID. It is exposed through 1 OData service (API_SOURCINGPROJECT). Part of development package ODATA_MM_PUR_SRCGPROJ_API.

Data Sources (1)

SourceAliasJoin Type
R_SrcgProjItmDemandDistrTP R_SrcgProjItmDemandDistrTP projection

Annotations (16)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey SrcgProjDmndDistributionUUID view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Demand Distribution view
OData.entityType.name SrcgProjDemandDistribution_Type view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix SPD view
AbapCatalog.extensibility.quota.maximumFields 204 view
AbapCatalog.extensibility.quota.maximumBytes 4080 view
AbapCatalog.extensibility.allowNewCompositions true view

OData Services (1)

ServiceBindingVersionContractRelease
API_SOURCINGPROJECT API_SOURCINGPROJECT V4 C2 Deprecated

Fields (22)

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
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
StorageLocation StorageLocation StorageLocation
MaxAnnualRequestedQuantity MaxAnnualRequestedQuantity Max. Requested Quantity
RequestedQuantity RequestedQuantity Requested Quantity
ProcmtHubPlantUniqueID ProcmtHubPlantUniqueID Plant Unique ID
SrcgProjFollowOnDocumentCat SrcgProjFollowOnDocumentCat Follow-On Document Category
SrcgProjFollowOnDocumentType SrcgProjFollowOnDocumentType Follow-On Document Type
SrcgProjItemDemandConfCode SrcgProjItemDemandConfCode Confirmation Code
SrcgProjItemUnconfdDemandRsn SrcgProjItemUnconfdDemandRsn Rsn for Unconfd Dmnd
SourcingOrigin SourcingOrigin Sourcing Origin
SourcingScenario SourcingScenario Integration Scenario
ProcmtPlanningPlantIsFixed ProcmtPlanningPlantIsFixed Demand Line Is Unchangeable
RequestedQuantityUnit _SourcingProjectItem RequestedQuantityUnit Requested Quantity Unit
RequestedQuantityISOUnit

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 A_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 A_SrcgProjItmDemandDistr AS
SELECT
  SrcgProjDmndDistributionUUID,
  SourcingProjectUUID,
  SourcingProjectItemUUID,
  ProcurementProject,
  Plant,
  CompanyCode,
  PurchasingOrganization,
  PurchasingGroup,
  ProcurementHubSourceSystem,
  StorageLocation,
  MaxAnnualRequestedQuantity,
  RequestedQuantity,
  ProcmtHubPlantUniqueID,
  SrcgProjFollowOnDocumentCat,
  SrcgProjFollowOnDocumentType,
  SrcgProjItemDemandConfCode,
  SrcgProjItemUnconfdDemandRsn,
  SourcingOrigin,
  SourcingScenario,
  ProcmtPlanningPlantIsFixed,
  _SourcingProjectItem.RequestedQuantityUnit AS RequestedQuantityUnit,
  cast(_SourcingProjectItem._RequestedQuantityUnit.UnitOfMeasureISOCode as vdm_requested_iso_unit preserving type ) AS RequestedQuantityISOUnit
FROM R_SrcgProjItmDemandDistrTP
;