I_GHOProdnAllocDetailObject

DDL: I_GHOPRODNALLOCDETAILOBJECT Type: view_entity COMPOSITE

Production Alloc Run Detail Page Objects

I_GHOProdnAllocDetailObject is a Composite CDS View that provides data about "Production Alloc Run Detail Page Objects" in SAP S/4HANA. It reads from 1 data source (I_GHOProdnPeriodStartEndDate) and exposes 10 fields with key field AllocationRunID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_GHOProdnPeriodStartEndDate I_GHOProdnPeriodStartEndDate from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_GHOPriorPeriodNotification _PriorPeriodNotification $projection.GHONetworkID = _PriorPeriodNotification.GHONetworkID and ( $projection.NetworkMedium = _PriorPeriodNotification.NetworkMedium or _PriorPeriodNotification.NetworkMedium = '' ) and ( $projection.AllocationFrequencyCode = _PriorPeriodNotification.AllocationFrequencyCode or _PriorPeriodNotification.AllocationFrequencyCode = '' ) and _PriorPeriodNotification.PriorPeriodNotifRequestStatus = 'PEND' and ( ( _PriorPeriodNotification.PriorPeriodNotifChgStrtDteTme >= $projection.ProdnPeriodStartDateTime and _PriorPeriodNotification.PriorPeriodNotifChgStrtDteTme <= $projection.ProdnPeriodEndDateTime ) or( _PriorPeriodNotification.PriorPeriodNotifChgEndDteTme >= $projection.ProdnPeriodStartDateTime and _PriorPeriodNotification.PriorPeriodNotifChgEndDteTme <= $projection.ProdnPeriodEndDateTime ) or( _PriorPeriodNotification.PriorPeriodNotifChgStrtDteTme <= $projection.ProdnPeriodStartDateTime and _PriorPeriodNotification.PriorPeriodNotifChgEndDteTme >= $projection.ProdnPeriodEndDateTime ) )
[0..*] C_GHOProdnNtwkDefermentEvents _DefermentEvents $projection.GHONetworkID = _DefermentEvents.GHONetworkID and ( $projection.NetworkMedium = _DefermentEvents.DefermentEventMedium or _DefermentEvents.DefermentEventMedium = '' or _DefermentEvents.DefermentEventMedium is null ) and ( ( _DefermentEvents.DefermentEvtStartPeriodDteTime >= $projection.ProdnPeriodStartDateTime and _DefermentEvents.DefermentEvtStartPeriodDteTime <= $projection.ProdnPeriodEndDateTime ) or( _DefermentEvents.DefermentEventEndPeriodDteTime >= $projection.ProdnPeriodStartDateTime and _DefermentEvents.DefermentEventEndPeriodDteTime <= $projection.ProdnPeriodEndDateTime ) or( _DefermentEvents.DefermentEvtStartPeriodDteTime <= $projection.ProdnPeriodStartDateTime and _DefermentEvents.DefermentEventEndPeriodDteTime >= $projection.ProdnPeriodEndDateTime ) )

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Production Alloc Run Detail Page Objects view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY AllocationRunID AllocationRunID
GHONetworkID GHONetworkID Netw Object ID
AllocationFrequencyCode AllocationFrequencyCode Frequency ID
NetworkMedium NetworkMedium Medium ID
ProductionAllocationDate ProductionAllocationDate
ProductionAllocationTime ProductionAllocationTime
ProdnPeriodEndDateTime ProdnPeriodEndDateTime
ProdnPeriodStartDateTime ProdnPeriodStartDateTime
_DefermentEvents _DefermentEvents
_PriorPeriodNotification _PriorPeriodNotification

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_GHOProdnAllocDetailObject.
-- 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_GHOProdnAllocDetailObject AS
SELECT
  AllocationRunID,
  GHONetworkID,
  AllocationFrequencyCode,
  NetworkMedium,
  ProductionAllocationDate,
  ProductionAllocationTime,
  ProdnPeriodEndDateTime,
  ProdnPeriodStartDateTime
FROM I_GHOProdnPeriodStartEndDate
LEFT OUTER JOIN I_GHOPriorPeriodNotification AS _PriorPeriodNotification ON GHONetworkID = _PriorPeriodNotification.GHONetworkID AND ( NetworkMedium = _PriorPeriodNotification.NetworkMedium OR _PriorPeriodNotification.NetworkMedium = '' ) AND ( AllocationFrequencyCode = _PriorPeriodNotification.AllocationFrequencyCode OR _PriorPeriodNotification.AllocationFrequencyCode = '' ) AND _PriorPeriodNotification.PriorPeriodNotifRequestStatus = 'PEND' AND ( ( _PriorPeriodNotification.PriorPeriodNotifChgStrtDteTme >= ProdnPeriodStartDateTime AND _PriorPeriodNotification.PriorPeriodNotifChgStrtDteTme <= ProdnPeriodEndDateTime ) OR( _PriorPeriodNotification.PriorPeriodNotifChgEndDteTme >= ProdnPeriodStartDateTime AND _PriorPeriodNotification.PriorPeriodNotifChgEndDteTme <= ProdnPeriodEndDateTime ) OR( _PriorPeriodNotification.PriorPeriodNotifChgStrtDteTme <= ProdnPeriodStartDateTime AND _PriorPeriodNotification.PriorPeriodNotifChgEndDteTme >= ProdnPeriodEndDateTime ) )  -- association [0..*]
LEFT OUTER JOIN C_GHOProdnNtwkDefermentEvents AS _DefermentEvents ON GHONetworkID = _DefermentEvents.GHONetworkID AND ( NetworkMedium = _DefermentEvents.DefermentEventMedium OR _DefermentEvents.DefermentEventMedium = '' OR _DefermentEvents.DefermentEventMedium is null ) AND ( ( _DefermentEvents.DefermentEvtStartPeriodDteTime >= ProdnPeriodStartDateTime AND _DefermentEvents.DefermentEvtStartPeriodDteTime <= ProdnPeriodEndDateTime ) OR( _DefermentEvents.DefermentEventEndPeriodDteTime >= ProdnPeriodStartDateTime AND _DefermentEvents.DefermentEventEndPeriodDteTime <= ProdnPeriodEndDateTime ) OR( _DefermentEvents.DefermentEvtStartPeriodDteTime <= ProdnPeriodStartDateTime AND _DefermentEvents.DefermentEventEndPeriodDteTime >= ProdnPeriodEndDateTime ) )  -- association [0..*]
;