C_GHONtwkObjWellCompOvrRules

DDL: C_GHONTWKOBJWELLCOMPOVRRULES Type: view_entity CONSUMPTION

Network Obj well comp override Rules

C_GHONtwkObjWellCompOvrRules is a Consumption CDS View that provides data about "Network Obj well comp override Rules" in SAP S/4HANA. It reads from 1 data source (I_GHOAllNtwkObjAllocRules) and exposes 17 fields with key fields GHONetworkID, GHONetworkObjectID, NtwkAllocThrtclCalcMeth, NtwkAllocGasLiftThrtclCalcMeth, NtwkAllocNumberOfTests. It is exposed through 1 OData service (UI_GHO_PRODNALLOCATIONRUNLIST).

Data Sources (1)

SourceAliasJoin Type
I_GHOAllNtwkObjAllocRules I_GHOAllNtwkObjAllocRules from

Parameters (4)

NameTypeDefault
P_NetworkMedium gho_product
P_AllocationFrequencyCode gho_alloc_frequency
P_ProductionStartDateTime gho_prodalloc_datetime
P_ProductionEndDateTime gho_prodalloc_datetime

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Network Obj well comp override Rules view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
UI_GHO_PRODNALLOCATIONRUNLIST UI_GHO_PRODNALLOCRUN_O2 V2 C1 NOT_RELEASED

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY GHONetworkID GHONetworkID Netw Object ID
KEY GHONetworkObjectID GHONetworkObjectID
KEY NtwkAllocThrtclCalcMeth
KEY NtwkAllocGasLiftThrtclCalcMeth
KEY NtwkAllocNumberOfTests _WellCompOvrrideRules NtwkAllocNumberOfTests
NetworkObjectIcon
NetworkObjectLabelName
NetworkObjectDescription
NetworkObjectType _NetworkObjectDetails NetworkObjectType
NetworkObjectTypeDescription
ExternalNetworkObjectID
NetworkMedium
NetworkMediumDescription
AllocationFrequencyCode
FrequencyDescription
NtwkAllocThrtclCalcMethDesc
NtwkGasLiftThrtclCalcMethDesc

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_GHONtwkObjWellCompOvrRules.
-- 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.
-- Parameters: P_NetworkMedium : gho_product, P_AllocationFrequencyCode : gho_alloc_frequency, P_ProductionStartDateTime : gho_prodalloc_datetime, P_ProductionEndDateTime : gho_prodalloc_datetime

CREATE VIEW C_GHONtwkObjWellCompOvrRules AS
SELECT
  GHONetworkID,
  GHONetworkObjectID,
  cast(_WellCompOvrrideRules.NtwkAllocThrtclCalcMeth as gho_ntwk_alloc_tcm preserving type ) AS NtwkAllocThrtclCalcMeth,
  cast(_WellCompOvrrideRules.NtwkAllocGasLiftThrtclCalcMeth as gho_gas_lift_gas_tcm preserving type ) AS NtwkAllocGasLiftThrtclCalcMeth,
  _WellCompOvrrideRules.NtwkAllocNumberOfTests AS NtwkAllocNumberOfTests,
  _NetworkObjectDetails._NetworkObjectType.FioriIcon AS NetworkObjectIcon,
  cast(_NetworkObjectDetails._FunctionalLocationLabel.FunctionalLocationLabelName as gho_networkobject_label preserving type ) AS NetworkObjectLabelName,
  cast(_NetworkObjectDetails._FunctionalLocation._FunctionalLocationText[1: Language = $session.system_language ].FunctionalLocationName as gho_network_obj_desc preserving type ) AS NetworkObjectDescription,
  _NetworkObjectDetails.NetworkObjectType AS NetworkObjectType,
  cast(_NetworkObjectDetails._NetworkObjectType._NtwkObjTypeText[1: Language = $session.system_language ].NetworkObjectTypeDescription as gho_network_object_type preserving type ) AS NetworkObjectTypeDescription,
  cast(_NetworkObjectDetails.ExternalNetworkObjectID as gho_ntwk_obj_ext_id preserving type ) AS ExternalNetworkObjectID,
  coalesce(_WellCompOvrrideRules.NetworkMedium, $parameters.P_NetworkMedium) AS NetworkMedium,
  _WellCompOvrrideRules._MediumText[1: Language = $session.system_language ].NetworkMediumDescription AS NetworkMediumDescription,
  coalesce(_WellCompOvrrideRules.AllocationFrequencyCode,$parameters.P_AllocationFrequencyCode) AS AllocationFrequencyCode,
  _WellCompOvrrideRules._FrequencyText[1: Language = $session.system_language ].FrequencyDescription AS FrequencyDescription,
  cast(_WellCompOvrrideRules._TCMText[1: LanguageCode = $session.system_language ].DomainText as gho_tcm_text preserving type ) AS NtwkAllocThrtclCalcMethDesc,
  cast(_WellCompOvrrideRules._GasLiftGasTCMText[1: LanguageCode = $session.system_language ].DomainText as gho_gas_lift_gas_tcm_text preserving type ) AS NtwkGasLiftThrtclCalcMethDesc
FROM I_GHOAllNtwkObjAllocRules
;