I_GHOProdnAllocDetailObject
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)
| Source | Alias | Join Type |
|---|---|---|
| I_GHOProdnPeriodStartEndDate | I_GHOProdnPeriodStartEndDate | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA