I_ProdAllocObjQtyAssgmtOvw

DDL: I_PRODALLOCOBJQTYASSGMTOVW Type: view_entity COMPOSITE Package: PRODUCT_ALLOCATION_OBJECT

Quantity Assignment Overview

I_ProdAllocObjQtyAssgmtOvw is a Composite CDS View that provides data about "Quantity Assignment Overview" in SAP S/4HANA. It reads from 1 data source (P_ProdAllocObjTimeSeriesOvw) and exposes 9 fields with key fields CharcValueCombinationUUID, ActiveCharcValCombinationUUID, ProdAllocPerdStartUTCDateTime. It has 1 association to related views. Part of development package PRODUCT_ALLOCATION_OBJECT.

Data Sources (1)

SourceAliasJoin Type
P_ProdAllocObjTimeSeriesOvw P_ProdAllocObjTimeSeriesOvw from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProdAllocQuantityAssignment _ProdAllocQuantityAssignment $projection.ActiveCharcValCombinationUUID = _ProdAllocQuantityAssignment.CharcValueCombinationUUID and $projection.ProdAllocPerdStartUTCDateTime = _ProdAllocQuantityAssignment.ProdAllocPerdStartUTCDateTime

Annotations (7)

NameValueLevelField
EndUserText.label Quantity Assignment Overview view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY CharcValueCombinationUUID CharcValueCombinationUUID Characteristic Value Combination UUID
KEY ActiveCharcValCombinationUUID ActiveCharcValCombinationUUID Characteristic Value Combination UUID
KEY ProdAllocPerdStartUTCDateTime ProdAllocPerdStartUTCDateTime Period Start Date Time
StartDate ProdAllocationPeriodStartDate Period Start Date
ProductAllocationQuantityUnit ProductAllocationQuantityUnit Quantity Unit
ProductAllocationQuantity
ProdAllocAssignedQuantityUnit _ProdAllocQuantityAssignment ProdAllocAssignedQuantityUnit Assigned Quantity Unit
ProdAllocAssignedQuantity
_ProdAllocQuantityAssignment _ProdAllocQuantityAssignment

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_ProdAllocObjQtyAssgmtOvw.
-- 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_ProdAllocObjQtyAssgmtOvw AS
SELECT
  CharcValueCombinationUUID,
  ActiveCharcValCombinationUUID,
  ProdAllocPerdStartUTCDateTime,
  ProdAllocationPeriodStartDate AS StartDate,
  ProductAllocationQuantityUnit,
  max(ProductAllocationQuantity) AS ProductAllocationQuantity,
  _ProdAllocQuantityAssignment.ProdAllocAssignedQuantityUnit AS ProdAllocAssignedQuantityUnit,
  sum(_ProdAllocQuantityAssignment.ProdAllocAssignedQuantity) AS ProdAllocAssignedQuantity
FROM P_ProdAllocObjTimeSeriesOvw
LEFT OUTER JOIN I_ProdAllocQuantityAssignment AS _ProdAllocQuantityAssignment ON ActiveCharcValCombinationUUID = _ProdAllocQuantityAssignment.CharcValueCombinationUUID AND ProdAllocPerdStartUTCDateTime = _ProdAllocQuantityAssignment.ProdAllocPerdStartUTCDateTime  -- association [0..*]
;