I_GHONtwkObjMeasurements
Network Object Measurements
I_GHONtwkObjMeasurements is a Basic CDS View that provides data about "Network Object Measurements" in SAP S/4HANA. It reads from 1 data source (gho_imrg_std_h) and exposes 44 fields with key fields GHONetworkID, GHONetworkObjectID, AllocationMaterial, GHOQuantityType, ProdnAllocDateTime. It has 19 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| gho_imrg_std_h | gho_imrg_std_h | from |
Associations (19)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Material | _AllocatedMaterial | $projection.AllocationMaterial = _AllocatedMaterial.Material |
| [0..*] | I_GHONtwkObjMsmtItems | _MsmtItems | $projection.MeasurementDocument = _MsmtItems.MeasurementDocument |
| [0..*] | I_GHONtwkObjTransporterText | _TransporterText | $projection.Transporter = _TransporterText.Transporter |
| [0..*] | I_GHONtwkObjStdMsmtItems | _StandarizedMsmtItems | $projection.AllocUnitOfMsmtRuleUUID = _StandarizedMsmtItems.AllocUnitOfMsmtRuleUUID |
| [0..*] | I_GhoMeasDocExtn_Db | _MeasurementDocument | $projection.MeasurementDocument = _MeasurementDocument.UpstreamMsmtDoc |
| [0..*] | I_GHONtwkObjects | _NtwkObjects | $projection.GHONetworkObjectID = _NtwkObjects.GHONetworkObjectID |
| [0..*] | I_GhoFreqText | _FrequencyText | $projection.AllocationFrequencyCode = _FrequencyText.AllocationFrequencyCode |
| [1..1] | I_GHOProdnNtwkDetails | _ProductionNetworkDetails | $projection.GHONetworkID = _ProductionNetworkDetails.GHONetworkID |
| [0..*] | I_GHONtwkAllocRuleQtyType | _NtwkAllocRuleQtyType | $projection.GHOQuantityType = _NtwkAllocRuleQtyType.NtwkAllocQtyType |
| [0..*] | I_GHOMsmtCategoryText | _MsmtCategoryText | $projection.GHOMeasurementCategoryID = _MsmtCategoryText.GHOMeasurementCategoryID |
| [1..1] | I_GHONtwkObjects | _OriginatingMsmtPt | $projection.GHOOriginatingMsmtPoint = _OriginatingMsmtPt.GHONetworkObjectID |
| [1..1] | I_GHONtwkObjects | _ToNetworkObjectID | $projection.ToNetworkObjectID = _ToNetworkObjectID.GHONetworkObjectID |
| [1..1] | I_GHOProdnNtwkDetails | _AssignedToProdnNetwork | $projection.AssignedToProdnNetwork = _AssignedToProdnNetwork.GHONetworkID |
| [1..1] | I_GHONtwkObjects | _ProdnFlwProdnNtwkObj | $projection.GHONetworkObjectID = _ProdnFlwProdnNtwkObj.GHONetworkObjectID |
| [1..1] | I_GHOProdnNtwkDetails | _ProdnFlwProdnNtwk | $projection.AssignedToProdnNetwork = _ProdnFlwProdnNtwk.GHONetworkID |
| [0..*] | I_ReadDomainFixedValues | _AllocationTypeText | $projection.ProductionAllocationType = _AllocationTypeText.DomainValue and _AllocationTypeText.SAPDataDictionaryDomain = 'GHO_ALLOC_TYPE' |
| [1..1] | I_GHOMaterialMedium | _MaterialMedium | $projection.AllocationMaterial = _MaterialMedium.Material |
| [0..1] | I_CustomerToBusinessPartner | _BusinessPartner | $projection.Transporter = _BusinessPartner.Customer |
| [0..*] | I_GHOQuantityType | _QuantityType | $projection.GHOQuantityType = _QuantityType.GHOQuantityType |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Network Object Measurements | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GHONetworkID | Production Flow NW | ||
| KEY | GHONetworkObjectID | Node ID | ||
| KEY | AllocationMaterial | alloc_material | Allocation Material | |
| KEY | GHOQuantityType | quantity_type | Quantity Type | |
| KEY | ProdnAllocDateTime | prod_timestamp | Timestamp | |
| KEY | ProductionAllocationType | alloc_type | Allocation Type | |
| KEY | AllocationFrequencyCode | frequency | Reporting Frequency | |
| KEY | GHOMeasurementCategoryID | gho_meas_cat_id | Measurement Category | |
| KEY | AllocUnitOfMsmtRuleUUID | bus_key | Meas. GUIDD | |
| MeasurementDocument | mdocm | Measurement Doc. No. | ||
| StatusObjectNumber | status_object_number | Object Number | ||
| Transporter | trnsp_no | Transporter nbr | ||
| TransporterReference | trnsp_ref_no | Trsprt.Ref. | ||
| TicketNumber | tkt_no | Ticket Number | ||
| GHOOriginatingMsmtPoint | Node ID | |||
| AssignedToProdnNetwork | Asgn. Prod. Net | |||
| ToNetworkObjectID | Network Object ID | |||
| ToNetworkObjectType | to_netobj_type | Nw Obj Type | ||
| LoadOilTransferWithoutRecovery | ld_oil_wo_recov | Ld Oil w/o Recovery | ||
| ProdnFlwProdnNtwk | Production Flow NW | |||
| ProdnFlwProdnNtwkObject | SLC Object ID | |||
| CreatedByUserName | created_by | Version Created By | ||
| GHOCreatedOnDateTime | created_tst | Req Created Time | ||
| ChangedByUserName | changed_by | User Name | ||
| GHOChangedOnDateTime | changed_tst | Changed On | ||
| _AllocatedMaterial | _AllocatedMaterial | |||
| _MsmtItems | _MsmtItems | |||
| _TransporterText | _TransporterText | |||
| _StandarizedMsmtItems | _StandarizedMsmtItems | |||
| _MeasurementDocument | _MeasurementDocument | |||
| _NtwkObjects | _NtwkObjects | |||
| _FrequencyText | _FrequencyText | |||
| _ProductionNetworkDetails | _ProductionNetworkDetails | |||
| _NtwkAllocRuleQtyType | _NtwkAllocRuleQtyType | |||
| _MsmtCategoryText | _MsmtCategoryText | |||
| _OriginatingMsmtPt | _OriginatingMsmtPt | |||
| _ToNetworkObjectID | _ToNetworkObjectID | |||
| _AssignedToProdnNetwork | _AssignedToProdnNetwork | |||
| _ProdnFlwProdnNtwk | _ProdnFlwProdnNtwk | |||
| _ProdnFlwProdnNtwkObj | _ProdnFlwProdnNtwkObj | |||
| _AllocationTypeText | _AllocationTypeText | |||
| _MaterialMedium | _MaterialMedium | |||
| _BusinessPartner | _BusinessPartner | |||
| _QuantityType | _QuantityType |
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_GHONtwkObjMeasurements.
-- 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_GHONtwkObjMeasurements AS
SELECT
cast (netid as gho_network_id preserving type) AS GHONetworkID,
cast (netobj as gho_ntwkobj_id preserving type ) AS GHONetworkObjectID,
alloc_material AS AllocationMaterial,
quantity_type AS GHOQuantityType,
prod_timestamp AS ProdnAllocDateTime,
alloc_type AS ProductionAllocationType,
frequency AS AllocationFrequencyCode,
gho_meas_cat_id AS GHOMeasurementCategoryID,
bus_key AS AllocUnitOfMsmtRuleUUID,
mdocm AS MeasurementDocument,
status_object_number AS StatusObjectNumber,
trnsp_no AS Transporter,
trnsp_ref_no AS TransporterReference,
tkt_no AS TicketNumber,
cast(originating_mp as gho_originating_meas_point preserving type ) AS GHOOriginatingMsmtPoint,
cast( to_prod_network as gho_assigned_prod_network preserving type ) AS AssignedToProdnNetwork,
cast(to_network_obj as gho_de_netobj_id preserving type ) AS ToNetworkObjectID,
to_netobj_type AS ToNetworkObjectType,
ld_oil_wo_recov AS LoadOilTransferWithoutRecovery,
cast(ref_network_id as gho_prodflow_prodnet_id preserving type ) AS ProdnFlwProdnNtwk,
cast( ref_node_id as gho_node_id preserving type ) AS ProdnFlwProdnNtwkObject,
created_by AS CreatedByUserName,
created_tst AS GHOCreatedOnDateTime,
changed_by AS ChangedByUserName,
changed_tst AS GHOChangedOnDateTime
FROM gho_imrg_std_h
LEFT OUTER JOIN I_Material AS _AllocatedMaterial ON AllocationMaterial = _AllocatedMaterial.Material -- association [1..1]
LEFT OUTER JOIN I_GHONtwkObjMsmtItems AS _MsmtItems ON MeasurementDocument = _MsmtItems.MeasurementDocument -- association [0..*]
LEFT OUTER JOIN I_GHONtwkObjTransporterText AS _TransporterText ON Transporter = _TransporterText.Transporter -- association [0..*]
LEFT OUTER JOIN I_GHONtwkObjStdMsmtItems AS _StandarizedMsmtItems ON AllocUnitOfMsmtRuleUUID = _StandarizedMsmtItems.AllocUnitOfMsmtRuleUUID -- association [0..*]
LEFT OUTER JOIN I_GhoMeasDocExtn_Db AS _MeasurementDocument ON MeasurementDocument = _MeasurementDocument.UpstreamMsmtDoc -- association [0..*]
LEFT OUTER JOIN I_GHONtwkObjects AS _NtwkObjects ON GHONetworkObjectID = _NtwkObjects.GHONetworkObjectID -- association [0..*]
LEFT OUTER JOIN I_GhoFreqText AS _FrequencyText ON AllocationFrequencyCode = _FrequencyText.AllocationFrequencyCode -- association [0..*]
LEFT OUTER JOIN I_GHOProdnNtwkDetails AS _ProductionNetworkDetails ON GHONetworkID = _ProductionNetworkDetails.GHONetworkID -- association [1..1]
LEFT OUTER JOIN I_GHONtwkAllocRuleQtyType AS _NtwkAllocRuleQtyType ON GHOQuantityType = _NtwkAllocRuleQtyType.NtwkAllocQtyType -- association [0..*]
LEFT OUTER JOIN I_GHOMsmtCategoryText AS _MsmtCategoryText ON GHOMeasurementCategoryID = _MsmtCategoryText.GHOMeasurementCategoryID -- association [0..*]
LEFT OUTER JOIN I_GHONtwkObjects AS _OriginatingMsmtPt ON GHOOriginatingMsmtPoint = _OriginatingMsmtPt.GHONetworkObjectID -- association [1..1]
LEFT OUTER JOIN I_GHONtwkObjects AS _ToNetworkObjectID ON ToNetworkObjectID = _ToNetworkObjectID.GHONetworkObjectID -- association [1..1]
LEFT OUTER JOIN I_GHOProdnNtwkDetails AS _AssignedToProdnNetwork ON AssignedToProdnNetwork = _AssignedToProdnNetwork.GHONetworkID -- association [1..1]
LEFT OUTER JOIN I_GHONtwkObjects AS _ProdnFlwProdnNtwkObj ON GHONetworkObjectID = _ProdnFlwProdnNtwkObj.GHONetworkObjectID -- association [1..1]
LEFT OUTER JOIN I_GHOProdnNtwkDetails AS _ProdnFlwProdnNtwk ON AssignedToProdnNetwork = _ProdnFlwProdnNtwk.GHONetworkID -- association [1..1]
LEFT OUTER JOIN I_ReadDomainFixedValues AS _AllocationTypeText ON ProductionAllocationType = _AllocationTypeText.DomainValue AND _AllocationTypeText.SAPDataDictionaryDomain = 'GHO_ALLOC_TYPE' -- association [0..*]
LEFT OUTER JOIN I_GHOMaterialMedium AS _MaterialMedium ON AllocationMaterial = _MaterialMedium.Material -- association [1..1]
LEFT OUTER JOIN I_CustomerToBusinessPartner AS _BusinessPartner ON Transporter = _BusinessPartner.Customer -- association [0..1]
LEFT OUTER JOIN I_GHOQuantityType AS _QuantityType ON GHOQuantityType = _QuantityType.GHOQuantityType -- 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