C_GHONtwkObjAllocThrtclRslt
Ntwk Object level Alloc Rslt
C_GHONtwkObjAllocThrtclRslt is a Consumption CDS View that provides data about "Ntwk Object level Alloc Rslt" in SAP S/4HANA. It reads from 1 data source (I_GHONtwkObjAllocThrtclRslt) and exposes 26 fields with key fields AllocationRunID, GHONetworkID, GHONetworkObjectID, GHOToNtwkObjID, NetworkMedium.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GHONtwkObjAllocThrtclRslt | I_GHONtwkObjAllocThrtclRslt | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Ntwk Object level Alloc Rslt | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AllocationRunID | AllocationRunID | ||
| KEY | GHONetworkID | GHONetworkID | Netw Object ID | |
| KEY | GHONetworkObjectID | |||
| KEY | GHOToNtwkObjID | GHOToNtwkObjID | ||
| KEY | NetworkMedium | NetworkMedium | Medium ID | |
| KEY | AllocationFrequencyCode | AllocationFrequencyCode | Frequency ID | |
| KEY | ProductionAllocationDate | ProductionAllocationDate | ||
| KEY | ProductionAllocationTime | ProductionAllocationTime | ||
| ProdnAllocUTCDteTme | ProdnAllocUTCDteTme | |||
| ProductionAllocationType | ProductionAllocationType | Allocation Type | ||
| GHOQuantityType | GHOQuantityType | |||
| GHOEstimatedThrtclUoM | ||||
| GHOAdjustedThrtclUoM | ||||
| ExternalNetworkObjectID | ||||
| NetworkObjectType | _NetworkObjectDetails | NetworkObjectType | ||
| NetworkObjectTypeDescription | ||||
| NetworkObjectIcon | ||||
| NetworkObjectLabelName | ||||
| NetworkObjectDescription | ||||
| GHOEstimatedThrtclQty | ||||
| GHOAdjustedThrtclQty | ||||
| NtwkAllocQtyTypeDesc | ||||
| GHOFormationThrtclQty | ||||
| GHOFormationThrtclUoM | ||||
| GHOGasLiftGasThrtclQty | ||||
| GHOGasLiftGasThrtclUoM |
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 C_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 C_GHONtwkObjAllocThrtclRslt AS
SELECT
AllocationRunID,
GHONetworkID,
cast(GHOFromNtwkObjID as gho_ntwkobj_id preserving type ) AS GHONetworkObjectID,
GHOToNtwkObjID,
NetworkMedium,
AllocationFrequencyCode,
ProductionAllocationDate,
ProductionAllocationTime,
ProdnAllocUTCDteTme,
ProductionAllocationType,
GHOQuantityType,
cast(AllocationRuleUnitOfMsmt as gho_estimated_theo_uom preserving type ) AS GHOEstimatedThrtclUoM,
cast(_AdjustedTheo.AllocationRuleUnitOfMsmt as gho_adjusted_theo_uom preserving type ) AS GHOAdjustedThrtclUoM,
cast(_NetworkObjectDetails.ExternalNetworkObjectID as gho_ntwk_obj_ext_id preserving type ) AS ExternalNetworkObjectID,
_NetworkObjectDetails.NetworkObjectType AS NetworkObjectType,
cast(_NetworkObjectDetails._NetworkObjectType._NtwkObjTypeText[1: Language = $session.system_language ].NetworkObjectTypeDescription as gho_network_object_type preserving type ) AS NetworkObjectTypeDescription,
_NetworkObjectDetails._NetworkObjectType.FioriIcon AS NetworkObjectIcon,
cast(_NetworkObjectDetails._FunctionalLocationLabel.FunctionalLocationLabelName as gho_nm_ilom_strno preserving type ) AS NetworkObjectLabelName,
cast(_NetworkObjectDetails._FunctionalLocation._FunctionalLocationText[1: Language = $session.system_language ].FunctionalLocationName as gho_network_obj_desc preserving type ) AS NetworkObjectDescription,
cast(round(cast(AllocationRuleMsmtValue as gho_estimated_theo_qty) ,3) as gho_theoretical_qty_graphical ) AS GHOEstimatedThrtclQty,
cast(round(cast(_AdjustedTheo.AllocationRuleMsmtValue as gho_adjusted_theo_qty),3) as gho_allocated_qty_graphical) AS GHOAdjustedThrtclQty,
cast(_NtwkAllocRuleQtyType[1: Language = $session.system_language ].NtwkAllocQtyTypeDesc as gho_quantitytype_text preserving type ) AS NtwkAllocQtyTypeDesc,
cast(round(cast(_FormationTheoretical.AllocationRuleMsmtValue as gho_formation_theo_qty),3) as gho_formation_theo_qty ) AS GHOFormationThrtclQty,
coalesce(_FormationTheoretical.AllocationRuleUnitOfMsmt, _AdjustedTheo.AllocationRuleUnitOfMsmt) AS GHOFormationThrtclUoM,
cast(round(cast(_GasLiftGasTheoretical.AllocationRuleMsmtValue as gho_gasliftgas_theo_qty),3) as gho_gasliftgas_theo_qty) AS GHOGasLiftGasThrtclQty,
coalesce(_GasLiftGasTheoretical.AllocationRuleUnitOfMsmt, _AdjustedTheo.AllocationRuleUnitOfMsmt) AS GHOGasLiftGasThrtclUoM
FROM I_GHONtwkObjAllocThrtclRslt
;
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