I_GHONtwkObjMeterAllocRules
Network Object Meter allocation Rules
I_GHONtwkObjMeterAllocRules is a Basic CDS View that provides data about "Network Object Meter allocation Rules" in SAP S/4HANA. It reads from 1 data source (gho_noderule_h) and exposes 13 fields with key fields NetworkAllocRuleUUID, GHONetworkID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| gho_noderule_h | gho_noderule_h | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_GHONtwkObjMeterRuleItems | _MeterRuleitems | $projection.NetworkAllocRuleUUID = _MeterRuleitems.NetworkAllocRuleUUID |
| [0..*] | I_GhoMediumText | _MediumText | $projection.NetworkMedium = _MediumText.NetworkMedium |
| [0..*] | I_GhoFreqText | _FrequencyText | $projection.AllocationFrequencyCode = _FrequencyText.AllocationFrequencyCode |
| [1..1] | I_GHOProdnNtwkDetails | _ProductionNetworkDetails | $projection.GHONetworkID = _ProductionNetworkDetails.GHONetworkID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Network Object Meter allocation Rules | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #BASIC | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | NetworkAllocRuleUUID | node_rule_id | Node Rule ID | |
| KEY | GHONetworkID | Production Flow NW | ||
| NetworkMedium | medium | Medium ID | ||
| AllocationFrequencyCode | frequency | Reporting Frequency | ||
| ValidFromDateTime | valid_from | Validity Start Time | ||
| ValidToDateTime | valid_to | Validity End Time | ||
| GHONetworkObjectID | Workflow Step | |||
| NtwkObjIsTerminationPoint | termn_point | Termination Point | ||
| NtwkObjIsNonAdjustable | non_adjustable | Node Non Adjustable | ||
| _MeterRuleitems | _MeterRuleitems | |||
| _MediumText | _MediumText | |||
| _FrequencyText | _FrequencyText | |||
| _ProductionNetworkDetails | _ProductionNetworkDetails |
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_GHONtwkObjMeterAllocRules.
-- 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_GHONtwkObjMeterAllocRules AS
SELECT
node_rule_id AS NetworkAllocRuleUUID,
cast( net_id as gho_network_id preserving type ) AS GHONetworkID,
medium AS NetworkMedium,
frequency AS AllocationFrequencyCode,
valid_from AS ValidFromDateTime,
valid_to AS ValidToDateTime,
cast(node_id as gho_ntwkobj_id preserving type ) AS GHONetworkObjectID,
termn_point AS NtwkObjIsTerminationPoint,
non_adjustable AS NtwkObjIsNonAdjustable
FROM gho_noderule_h
LEFT OUTER JOIN I_GHONtwkObjMeterRuleItems AS _MeterRuleitems ON NetworkAllocRuleUUID = _MeterRuleitems.NetworkAllocRuleUUID -- association [0..*]
LEFT OUTER JOIN I_GhoMediumText AS _MediumText ON NetworkMedium = _MediumText.NetworkMedium -- 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]
;
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