I_GHONetworkMasterDetail
Network Master details of Allocation run
I_GHONetworkMasterDetail is a Composite CDS View that provides data about "Network Master details of Allocation run" in SAP S/4HANA. It reads from 1 data source (I_GHOProdnAllocationResults) and exposes 20 fields with key field AllocationRunID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GHOProdnAllocationResults | a | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_GHODefermentAnalysis | _DefermentAnalysis | $projection.GHONetworkID = _DefermentAnalysis.GHONetworkID and $projection.NetworkMedium = _DefermentAnalysis.NetworkMedium and $projection.AllocationFrequencyCode = _DefermentAnalysis.AllocationFrequencyCode and $projection.ProductionAllocationDate = _DefermentAnalysis.ProductionDate and $projection.ProductionAllocationTime = _DefermentAnalysis.UpstreamProductionTime and $projection.AllocationRuleUnitOfMsmt = _DefermentAnalysis.AllocationRuleUnitOfMsmt |
| [0..1] | I_GHONtwkObjVarblData | _NetworkVarblData | $projection.GHONetworkID = _NetworkVarblData.ProductionNetworkID and $projection.ProdnAllocDateTime between _NetworkVarblData.ValidFrom and _NetworkVarblData.ValidTo |
| [0..1] | I_GHOAllocationRunVersion | _AllocationRunVersion | $projection.GHONetworkID = _AllocationRunVersion.GHONetworkID and $projection.NetworkMedium = _AllocationRunVersion.NetworkMedium and $projection.AllocationFrequencyCode = _AllocationRunVersion.AllocationFrequencyCode and $projection.ProductionAllocationDate = _AllocationRunVersion.ProductionAllocationDate and $projection.ProductionAllocationTime = _AllocationRunVersion.ProductionAllocationTime and $projection.ProductionAllocationType = _AllocationRunVersion.ProductionAllocationType and $projection.NetworkAllocationPurpose = _AllocationRunVersion.NetworkAllocationPurpose and $projection.NetworkAllocationStatus = _AllocationRunVersion.NetworkAllocationStatus |
| [0..1] | I_User | _LastChangedByUser | _LastChangedByUser.UserID = $projection.LastChangedByUser |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Network Master details of Allocation run | 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 (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationRunID | I_GHOProdnAllocationResults | AllocationRunID | Allocation Run ID |
| GHONetworkID | I_GHOProdnAllocationResults | GHONetworkID | Netw Object ID | |
| NetworkMedium | I_GHOProdnAllocationResults | NetworkMedium | Medium ID | |
| ProductionAllocationType | I_GHOProdnAllocationResults | ProductionAllocationType | Allocation Type | |
| AllocationFrequencyCode | I_GHOProdnAllocationResults | AllocationFrequencyCode | Frequency ID | |
| ProductionAllocationDate | I_GHOProdnAllocationResults | ProductionAllocationDate | Prod. Start Dt | |
| ProductionAllocationTime | I_GHOProdnAllocationResults | ProductionAllocationTime | Prod St Tme | |
| NetworkAllocationPurpose | I_GHOProdnAllocationResults | NetworkAllocationPurpose | Allocation Purpose | |
| NetworkAllocationStatus | I_GHOProdnAllocationResults | NetworkAllocationStatus | Alloc Run Status | |
| GHOCreatedOnDateTime | I_GHOProdnAllocationResults | GHOCreatedOnDateTime | Req Created Time | |
| GHOChangedOnDateTime | I_GHOProdnAllocationResults | GHOChangedOnDateTime | Changed On | |
| LastChangedByUser | ||||
| AllocationRuleUnitOfMsmt | b | AllocationRuleUnitOfMsmt | ||
| AllocUnitOfMsmtGroup | b | AllocUnitOfMsmtGroup | ||
| AllocConversionGroup | b | AllocConversionGroup | ||
| _ProductionNetworkDetails | I_GHOProdnAllocationResults | _ProductionNetworkDetails | ||
| _DefermentAnalysis | _DefermentAnalysis | |||
| _NetworkVarblData | _NetworkVarblData | |||
| _AllocationRunVersion | _AllocationRunVersion | |||
| _LastChangedByUser | _LastChangedByUser |
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_GHONetworkMasterDetail.
-- 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_GHONetworkMasterDetail AS
SELECT
a.AllocationRunID AS AllocationRunID,
a.GHONetworkID AS GHONetworkID,
a.NetworkMedium AS NetworkMedium,
a.ProductionAllocationType AS ProductionAllocationType,
a.AllocationFrequencyCode AS AllocationFrequencyCode,
a.ProductionAllocationDate AS ProductionAllocationDate,
a.ProductionAllocationTime AS ProductionAllocationTime,
a.NetworkAllocationPurpose AS NetworkAllocationPurpose,
a.NetworkAllocationStatus AS NetworkAllocationStatus,
a.GHOCreatedOnDateTime AS GHOCreatedOnDateTime,
a.GHOChangedOnDateTime AS GHOChangedOnDateTime,
case when a.LastChangedByUser is not initial then a.LastChangedByUser else a.CreatedByUser end AS LastChangedByUser,
b.AllocationRuleUnitOfMsmt AS AllocationRuleUnitOfMsmt,
b.AllocUnitOfMsmtGroup AS AllocUnitOfMsmtGroup,
b.AllocConversionGroup AS AllocConversionGroup,
a._ProductionNetworkDetails AS _ProductionNetworkDetails
FROM I_GHOProdnAllocationResults AS a
LEFT OUTER JOIN C_GHODefermentAnalysis AS _DefermentAnalysis ON GHONetworkID = _DefermentAnalysis.GHONetworkID AND NetworkMedium = _DefermentAnalysis.NetworkMedium AND AllocationFrequencyCode = _DefermentAnalysis.AllocationFrequencyCode AND ProductionAllocationDate = _DefermentAnalysis.ProductionDate AND ProductionAllocationTime = _DefermentAnalysis.UpstreamProductionTime AND AllocationRuleUnitOfMsmt = _DefermentAnalysis.AllocationRuleUnitOfMsmt -- association [0..1]
LEFT OUTER JOIN I_GHONtwkObjVarblData AS _NetworkVarblData ON GHONetworkID = _NetworkVarblData.ProductionNetworkID AND ProdnAllocDateTime between _NetworkVarblData.ValidFrom AND _NetworkVarblData.ValidTo -- association [0..1]
LEFT OUTER JOIN I_GHOAllocationRunVersion AS _AllocationRunVersion ON GHONetworkID = _AllocationRunVersion.GHONetworkID AND NetworkMedium = _AllocationRunVersion.NetworkMedium AND AllocationFrequencyCode = _AllocationRunVersion.AllocationFrequencyCode AND ProductionAllocationDate = _AllocationRunVersion.ProductionAllocationDate AND ProductionAllocationTime = _AllocationRunVersion.ProductionAllocationTime AND ProductionAllocationType = _AllocationRunVersion.ProductionAllocationType AND NetworkAllocationPurpose = _AllocationRunVersion.NetworkAllocationPurpose AND NetworkAllocationStatus = _AllocationRunVersion.NetworkAllocationStatus -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON _LastChangedByUser.UserID = LastChangedByUser -- association [0..1]
;
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