I_GHONtwkObjAllocThrtclRslt
Ntwk Obj level Alloc Rslt Graphical
I_GHONtwkObjAllocThrtclRslt is a Composite CDS View that provides data about "Ntwk Obj level Alloc Rslt Graphical" in SAP S/4HANA. It reads from 1 data source (I_GHOProdnAllocationResults) and exposes 22 fields with key fields AllocationRunID, GHONetworkID, GHOFromNtwkObjID, GHOToNtwkObjID, AllocationRuleUnitOfMsmt. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GHOProdnAllocationResults | I_GHOProdnAllocationResults | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_GHOProdnAllocRsltsItems | _AdjustedTheo | $projection.GHOFromNtwkObjID = _AdjustedTheo.GHOFromNtwkObjID and _AdjustedTheo.AllocRsltsThrtclOrActual = 'C' and $projection.AllocationRunID = _AdjustedTheo.AllocationRunID and $projection.allocationruleunitofmsmt = _AdjustedTheo.AllocationRuleUnitOfMsmt and $projection.ghoquantitytype = _AdjustedTheo.GHOQuantityType |
| [1..1] | I_GHONtwkObjects | _NetworkObjectDetails | $projection.GHOFromNtwkObjID = _NetworkObjectDetails.GHONetworkObjectID |
| [0..1] | I_GHOProdnAllocRsltsItems | _FormationTheoretical | $projection.GHOFromNtwkObjID = _FormationTheoretical.GHOFromNtwkObjID and _FormationTheoretical.AllocRsltsThrtclOrActual = 'X' and $projection.AllocationRunID = _FormationTheoretical.AllocationRunID and $projection.allocationruleunitofmsmt = _FormationTheoretical.AllocationRuleUnitOfMsmt |
| [0..1] | I_GHOProdnAllocRsltsItems | _GasLiftGasTheoretical | $projection.GHOFromNtwkObjID = _GasLiftGasTheoretical.GHOFromNtwkObjID and _GasLiftGasTheoretical.AllocRsltsThrtclOrActual = 'Y' and $projection.AllocationRunID = _GasLiftGasTheoretical.AllocationRunID and $projection.allocationruleunitofmsmt = _GasLiftGasTheoretical.AllocationRuleUnitOfMsmt |
| [0..1] | I_GHOThrtclOvrrdeExpanded | _ThrtclOvrrde | $projection.GHONetworkID = _ThrtclOvrrde.GHONetworkID and $projection.GHOFromNtwkObjID = _ThrtclOvrrde.GHONetworkObjectID and $projection.NetworkMedium = _ThrtclOvrrde.NetworkMedium and $projection.allocationruleunitofmsmt = _ThrtclOvrrde.AllocationRuleUnitOfMsmt and $projection.AllocationFrequencyCode = _ThrtclOvrrde.AllocationFrequencyCode and _ThrtclOvrrde.ValidFromDateTime <= $projection.ProdnAllocUTCDteTme and _ThrtclOvrrde.ValidToDateTime >= $projection.ProdnAllocUTCDteTme |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Ntwk Obj level Alloc Rslt Graphical | 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 (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationRunID | AllocationRunID | Allocation Run ID | |
| KEY | GHONetworkID | GHONetworkID | Netw Object ID | |
| KEY | GHOFromNtwkObjID | |||
| KEY | GHOToNtwkObjID | |||
| KEY | AllocationRuleUnitOfMsmt | _EstimatedTheo | AllocationRuleUnitOfMsmt | |
| NetworkMedium | NetworkMedium | Medium ID | ||
| AllocationFrequencyCode | AllocationFrequencyCode | Frequency ID | ||
| ProductionAllocationDate | ProductionAllocationDate | Prod. Start Dt | ||
| ProductionAllocationTime | ProductionAllocationTime | Prod St Tme | ||
| ProdnAllocUTCDteTme | ProdnAllocUTCDteTme | Production UTC Date Time | ||
| ProductionAllocationType | ProductionAllocationType | Allocation Type | ||
| AllocationRuleMsmtValue | _EstimatedTheo | AllocationRuleMsmtValue | ||
| GHOQuantityType | _EstimatedTheo | GHOQuantityType | ||
| GHOQuantityCategory | _EstimatedTheo | GHOQuantityCategory | ||
| _NtwkAllocRuleQtyType | _EstimatedTheo | _NtwkAllocRuleQtyType | ||
| _QuantityCategory | _EstimatedTheo | _QuantityCategory | ||
| _AdjustedTheo | _AdjustedTheo | |||
| _ProductionNetworkDetails | _ProductionNetworkDetails | |||
| _NetworkObjectDetails | _NetworkObjectDetails | |||
| _FormationTheoretical | _FormationTheoretical | |||
| _GasLiftGasTheoretical | _GasLiftGasTheoretical | |||
| _ThrtclOvrrde | _ThrtclOvrrde |
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_GHONtwkObjAllocThrtclRslt.
-- 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_GHONtwkObjAllocThrtclRslt AS
SELECT
AllocationRunID,
GHONetworkID,
cast (_EstimatedTheo.GHOFromNtwkObjID as gho_ntwkobj_id preserving type ) AS GHOFromNtwkObjID,
cast (_EstimatedTheo.GHOToNtwkObjID as gho_ntwkobj_id preserving type ) AS GHOToNtwkObjID,
_EstimatedTheo.AllocationRuleUnitOfMsmt AS AllocationRuleUnitOfMsmt,
NetworkMedium,
AllocationFrequencyCode,
ProductionAllocationDate,
ProductionAllocationTime,
ProdnAllocUTCDteTme,
ProductionAllocationType,
_EstimatedTheo.AllocationRuleMsmtValue AS AllocationRuleMsmtValue,
_EstimatedTheo.GHOQuantityType AS GHOQuantityType,
_EstimatedTheo.GHOQuantityCategory AS GHOQuantityCategory,
_EstimatedTheo._NtwkAllocRuleQtyType AS _NtwkAllocRuleQtyType,
_EstimatedTheo._QuantityCategory AS _QuantityCategory
FROM I_GHOProdnAllocationResults
LEFT OUTER JOIN I_GHOProdnAllocRsltsItems AS _AdjustedTheo ON GHOFromNtwkObjID = _AdjustedTheo.GHOFromNtwkObjID AND _AdjustedTheo.AllocRsltsThrtclOrActual = 'C' AND AllocationRunID = _AdjustedTheo.AllocationRunID AND allocationruleunitofmsmt = _AdjustedTheo.AllocationRuleUnitOfMsmt AND ghoquantitytype = _AdjustedTheo.GHOQuantityType -- association [0..1]
LEFT OUTER JOIN I_GHONtwkObjects AS _NetworkObjectDetails ON GHOFromNtwkObjID = _NetworkObjectDetails.GHONetworkObjectID -- association [1..1]
LEFT OUTER JOIN I_GHOProdnAllocRsltsItems AS _FormationTheoretical ON GHOFromNtwkObjID = _FormationTheoretical.GHOFromNtwkObjID AND _FormationTheoretical.AllocRsltsThrtclOrActual = 'X' AND AllocationRunID = _FormationTheoretical.AllocationRunID AND allocationruleunitofmsmt = _FormationTheoretical.AllocationRuleUnitOfMsmt -- association [0..1]
LEFT OUTER JOIN I_GHOProdnAllocRsltsItems AS _GasLiftGasTheoretical ON GHOFromNtwkObjID = _GasLiftGasTheoretical.GHOFromNtwkObjID AND _GasLiftGasTheoretical.AllocRsltsThrtclOrActual = 'Y' AND AllocationRunID = _GasLiftGasTheoretical.AllocationRunID AND allocationruleunitofmsmt = _GasLiftGasTheoretical.AllocationRuleUnitOfMsmt -- association [0..1]
LEFT OUTER JOIN I_GHOThrtclOvrrdeExpanded AS _ThrtclOvrrde ON GHONetworkID = _ThrtclOvrrde.GHONetworkID AND GHOFromNtwkObjID = _ThrtclOvrrde.GHONetworkObjectID AND NetworkMedium = _ThrtclOvrrde.NetworkMedium AND allocationruleunitofmsmt = _ThrtclOvrrde.AllocationRuleUnitOfMsmt AND AllocationFrequencyCode = _ThrtclOvrrde.AllocationFrequencyCode AND _ThrtclOvrrde.ValidFromDateTime <= ProdnAllocUTCDteTme AND _ThrtclOvrrde.ValidToDateTime >= ProdnAllocUTCDteTme -- 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