P_SrcgProjQtnDmndDistrAvgQty

DDL: P_SRCGPROJQTNDMNDDISTRAVGQTY Type: view_entity CONSUMPTION

P_SrcgProjQtnDmndDistrAvgQty is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_SrcgProjQtnItmDmndDistrDet) and exposes 3 fields with key field SrcgProjQtnDmndDistrUUID.

Data Sources (1)

SourceAliasJoin Type
I_SrcgProjQtnItmDmndDistrDet I_SrcgProjQtnItmDmndDistrDet from

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY SrcgProjQtnDmndDistrUUID SrcgProjQtnDmndDistrUUID Demand Distribution UUID in Quotation
RequestedQuantityUnit RequestedQuantityUnit Requested Quantity Unit
SrcgProjQtnDmndDistrAvgQty

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 P_SrcgProjQtnDmndDistrAvgQty.
-- 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 P_SrcgProjQtnDmndDistrAvgQty AS
SELECT
  SrcgProjQtnDmndDistrUUID,
  RequestedQuantityUnit,
  avg( RequestedQuantity as vdm_requested_quantity ) AS SrcgProjQtnDmndDistrAvgQty
FROM I_SrcgProjQtnItmDmndDistrDet
;