I_GHONtwkObjWellReading
Well Readings
I_GHONtwkObjWellReading is a Composite CDS View that provides data about "Well Readings" in SAP S/4HANA. It reads from 2 data sources (I_GHOExtdMsrgPtExpanded, I_GHONtwkObjects) and exposes 19 fields with key fields GHONetworkID, GHONetworkObjectID, UpstreamMsmtPoint, UpstreamMsmtFreq. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_GHOExtdMsrgPtExpanded | a | from |
| I_GHONtwkObjects | b | inner |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_GHOExtdMeasurementDocument | _ExtdMeasurementDocument | a.UpstreamMsmtPoint = _ExtdMeasurementDocument.UpstreamMsmtPoint and a.NetworkObject = _ExtdMeasurementDocument.GHONetworkObjectID and a.UpstreamMsmtFreq = _ExtdMeasurementDocument.UpstreamMsmtFreq |
| [1..1] | I_GHOProdnNtwkDetails | _ProductionNetworkDetails | $projection.GHONetworkID = _ProductionNetworkDetails.GHONetworkID |
| [0..*] | I_GHONtwkObjects | _NtwkObjects | $projection.GHONetworkObjectID = _NtwkObjects.GHONetworkObjectID |
| [0..*] | I_GhoFreqText | _FrequencyText | $projection.UpstreamMsmtFreq = _FrequencyText.AllocationFrequencyCode |
| [0..*] | I_GHOCharacteristic | _Characteristic | $projection.GHOCharacteristicName = _Characteristic.GHOCharacteristicName |
| [0..*] | I_GHONtwkObjMsmtItems | _MsmtItems | $projection.measurementdocument = _MsmtItems.MeasurementDocument and a.GHOCharacteristicName = _MsmtItems.GHOCharacteristicName association[0..*] to I_GHONtwkObjMeasurements as _NtwkObjMeasurements on _NtwkObjMeasurements.GHONetworkID = a.GHONetworkID and _NtwkObjMeasurements.GHONetworkObjectID = a.NetworkObject and _NtwkObjMeasurements.MeasurementDocument = $projection.measurementdocument |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Well Readings | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GHONetworkID | I_GHOExtdMsrgPtExpanded | GHONetworkID | Netw Object ID |
| KEY | GHONetworkObjectID | I_GHOExtdMsrgPtExpanded | NetworkObject | |
| KEY | UpstreamMsmtPoint | I_GHOExtdMsrgPtExpanded | UpstreamMsmtPoint | |
| KEY | UpstreamMsmtFreq | I_GHOExtdMsrgPtExpanded | UpstreamMsmtFreq | |
| QuantityType | I_GHOExtdMsrgPtExpanded | QuantityType | ||
| MeasurementGroup | I_GHOExtdMsrgPtExpanded | MeasurementGroup | ||
| NetworkMedium | I_GHOExtdMsrgPtExpanded | NetworkMedium | Medium ID | |
| GHOCharacteristicName | I_GHOExtdMsrgPtExpanded | GHOCharacteristicName | ||
| UpstreamMsmt | I_GHOExtdMsrgPtExpanded | UpstreamMsmt | ||
| MeasurementDocument | _ExtdMeasurementDocument | MeasurementDocument | ||
| UpstreamMsmtDate | _ExtdMeasurementDocument | UpstreamMsmtDate | ||
| UpstreamMsmtTime | _ExtdMeasurementDocument | UpstreamMsmtTime | ||
| _MsmtItems | _MsmtItems | |||
| _ProductionNetworkDetails | _ProductionNetworkDetails | |||
| _NtwkObjects | _NtwkObjects | |||
| _MeasurementGroupText | I_GHOExtdMsrgPtExpanded | _MeasurementGroupText | ||
| _NtwkObjMeasurements | _NtwkObjMeasurements | |||
| _Characteristic | _Characteristic | |||
| _FrequencyText | _FrequencyText |
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_GHONtwkObjWellReading.
-- 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_GHONtwkObjWellReading AS
SELECT
a.GHONetworkID AS GHONetworkID,
a.NetworkObject AS GHONetworkObjectID,
a.UpstreamMsmtPoint AS UpstreamMsmtPoint,
a.UpstreamMsmtFreq AS UpstreamMsmtFreq,
a.QuantityType AS QuantityType,
a.MeasurementGroup AS MeasurementGroup,
a.NetworkMedium AS NetworkMedium,
a.GHOCharacteristicName AS GHOCharacteristicName,
a.UpstreamMsmt AS UpstreamMsmt,
_ExtdMeasurementDocument.MeasurementDocument AS MeasurementDocument,
_ExtdMeasurementDocument.UpstreamMsmtDate AS UpstreamMsmtDate,
_ExtdMeasurementDocument.UpstreamMsmtTime AS UpstreamMsmtTime,
a._MeasurementGroupText AS _MeasurementGroupText
FROM I_GHOExtdMsrgPtExpanded AS a
INNER JOIN I_GHONtwkObjects AS b ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GHOExtdMeasurementDocument AS _ExtdMeasurementDocument ON a.UpstreamMsmtPoint = _ExtdMeasurementDocument.UpstreamMsmtPoint AND a.NetworkObject = _ExtdMeasurementDocument.GHONetworkObjectID AND a.UpstreamMsmtFreq = _ExtdMeasurementDocument.UpstreamMsmtFreq -- association [0..*]
LEFT OUTER JOIN I_GHOProdnNtwkDetails AS _ProductionNetworkDetails ON GHONetworkID = _ProductionNetworkDetails.GHONetworkID -- association [1..1]
LEFT OUTER JOIN I_GHONtwkObjects AS _NtwkObjects ON GHONetworkObjectID = _NtwkObjects.GHONetworkObjectID -- association [0..*]
LEFT OUTER JOIN I_GhoFreqText AS _FrequencyText ON UpstreamMsmtFreq = _FrequencyText.AllocationFrequencyCode -- association [0..*]
LEFT OUTER JOIN I_GHOCharacteristic AS _Characteristic ON GHOCharacteristicName = _Characteristic.GHOCharacteristicName -- association [0..*]
LEFT OUTER JOIN I_GHONtwkObjMsmtItems AS _MsmtItems ON measurementdocument = _MsmtItems.MeasurementDocument AND a.GHOCharacteristicName = _MsmtItems.GHOCharacteristicName association[0..*] to I_GHONtwkObjMeasurements as _NtwkObjMeasurements on _NtwkObjMeasurements.GHONetworkID = a.GHONetworkID AND _NtwkObjMeasurements.GHONetworkObjectID = a.NetworkObject AND _NtwkObjMeasurements.MeasurementDocument = measurementdocument -- 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