C_GHONtwkObjWellCompOvrRules
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)
| Source | Alias | Join Type |
|---|---|---|
| I_GHOAllNtwkObjAllocRules | I_GHOAllNtwkObjAllocRules | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_NetworkMedium | gho_product | |
| P_AllocationFrequencyCode | gho_alloc_frequency | |
| P_ProductionStartDateTime | gho_prodalloc_datetime | |
| P_ProductionEndDateTime | gho_prodalloc_datetime |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_GHO_PRODNALLOCATIONRUNLIST | UI_GHO_PRODNALLOCRUN_O2 | V2 | C1 | NOT_RELEASED |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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