I_ProdAllocObjTmpQtyAssgmtOvw

DDL: I_PRODALLOCOBJTMPQTYASSGMTOVW SQL: IPAOBJ_TMPQTYOVW Type: view COMPOSITE

Temporary Quantity Assignment Overview

I_ProdAllocObjTmpQtyAssgmtOvw is a Composite CDS View that provides data about "Temporary 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.

Data Sources (1)

SourceAliasJoin Type
P_ProdAllocObjTimeSeriesOvw P_ProdAllocObjTimeSeriesOvw from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProdAllocTmpQtyAssignment _ProdAllocTmpQtyAssignment $projection.ActiveCharcValCombinationUUID = _ProdAllocTmpQtyAssignment.CharcValueCombinationUUID and $projection.ProdAllocPerdStartUTCDateTime = _ProdAllocTmpQtyAssignment.ProdAllocPerdStartUTCDateTime

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IPAOBJ_TMPQTYOVW view
EndUserText.label Temporary Quantity Assignment Overview view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE 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 _ProdAllocTmpQtyAssignment ProdAllocAssignedQuantityUnit Assigned Quantity Unit
ProdAllocAssignedQuantity
_ProdAllocTmpQtyAssignment _ProdAllocTmpQtyAssignment

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_ProdAllocObjTmpQtyAssgmtOvw.
-- 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.
-- SQL view name: IPAOBJ_TMPQTYOVW

CREATE VIEW I_ProdAllocObjTmpQtyAssgmtOvw AS
SELECT
  CharcValueCombinationUUID,
  ActiveCharcValCombinationUUID,
  ProdAllocPerdStartUTCDateTime,
  ProdAllocationPeriodStartDate AS StartDate,
  ProductAllocationQuantityUnit,
  max(ProductAllocationQuantity) AS ProductAllocationQuantity,
  _ProdAllocTmpQtyAssignment.ProdAllocAssignedQuantityUnit AS ProdAllocAssignedQuantityUnit,
  sum(_ProdAllocTmpQtyAssignment.ProdAllocAssignedQuantity) AS ProdAllocAssignedQuantity
FROM P_ProdAllocObjTimeSeriesOvw
LEFT OUTER JOIN I_ProdAllocTmpQtyAssignment AS _ProdAllocTmpQtyAssignment ON ActiveCharcValCombinationUUID = _ProdAllocTmpQtyAssignment.CharcValueCombinationUUID AND ProdAllocPerdStartUTCDateTime = _ProdAllocTmpQtyAssignment.ProdAllocPerdStartUTCDateTime  -- association [0..*]
;