I_GHONtwkObjMeterAllocRules

DDL: I_GHONTWKOBJMETERALLOCRULES Type: view_entity BASIC

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)

SourceAliasJoin Type
gho_noderule_h gho_noderule_h from

Associations (4)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;