C_GHOWellWellCompletionTests
Well or Well Completion Test Theoretical
C_GHOWellWellCompletionTests is a Consumption CDS View that provides data about "Well or Well Completion Test Theoretical" in SAP S/4HANA. It is exposed through 1 OData service (UI_GHO_PRODNALLOCATIONRUNLIST).
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Well or Well Completion Test Theoretical | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_GHO_PRODNALLOCATIONRUNLIST | UI_GHO_PRODNALLOCRUN_O2 | V2 | C1 | NOT_RELEASED |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InspectionLot | InspectionLot | Inspection Lot | |
| KEY | GHONetworkID | GHONetworkID | Netw Object ID | |
| KEY | GHOWellCompletionID | GHOWellCompletionID | ||
| KEY | GHOWellID | GHOWellID | ||
| KEY | AllocationRuleUnitOfMsmt | AllocationRuleUnitOfMsmt | ||
| KEY | MeasurementGroup | |||
| WellCompletionName | ||||
| WellCompletionDescription | ||||
| GHOWellCompltnNtwkObjType | _WellCompletionID | NetworkObjectType | ||
| ExternalWellCompID | ||||
| WellName | ||||
| WellDescription | ||||
| GHOWellNtwkObjType | _WellID | NetworkObjectType | ||
| ExternalWellIdentifier | ||||
| EffectiveFromUTCDateTime | EffectiveFromDateTime | |||
| EffectiveToUTCDateTime | EffectiveToDateTime | |||
| MeasurementTypeDesc | ||||
| GHOAllocationQuantity | ||||
| NetworkMedium | Medium ID | |||
| NetworkMediumDescription |
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_GHOWellWellCompletionTests.
-- 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 C_GHOWellWellCompletionTests AS
SELECT
InspectionLot,
GHONetworkID,
GHOWellCompletionID,
GHOWellID,
AllocationRuleUnitOfMsmt,
cast(MeasurementGroup as gho_mstmt_group_id preserving type ) AS MeasurementGroup,
cast(_WellCompletionID._FunctionalLocationLabel.FunctionalLocationLabelName as gho_wellcompletion_labelname preserving type ) AS WellCompletionName,
cast(_WellCompletionID._FunctionalLocation._FunctionalLocationText[1: Language = $session.system_language ].FunctionalLocationName as gho_wellcompletion_desc preserving type ) AS WellCompletionDescription,
_WellCompletionID.NetworkObjectType AS GHOWellCompltnNtwkObjType,
cast(_WellCompletionID.ExternalNetworkObjectID as gho_well_comp_ext_id preserving type ) AS ExternalWellCompID,
cast(_WellID._FunctionalLocationLabel.FunctionalLocationLabelName as gho_well_labelname preserving type ) AS WellName,
cast(_WellID._FunctionalLocation._FunctionalLocationText[1: Language = $session.system_language ].FunctionalLocationName as gho_well_desc preserving type ) AS WellDescription,
_WellID.NetworkObjectType AS GHOWellNtwkObjType,
cast(_WellID.ExternalNetworkObjectID as gho_well_ext_id preserving type ) AS ExternalWellIdentifier,
EffectiveFromDateTime AS EffectiveFromUTCDateTime,
EffectiveToDateTime AS EffectiveToUTCDateTime,
cast(_MeasurementGroupText[1:Language = $session.system_language].MeasurementTypeDesc as gho_msmt_group_desc preserving type) AS MeasurementTypeDesc,
cast(round(cast(AllocationRuleMsmtValue as gho_quantity_in_dec ),_UnitOfMsmtRule.UnitOfMsmtRuleNumbOfDecimals) as gho_msmt_std_qty preserving type ) AS GHOAllocationQuantity,
cast(NetworkMedium as gho_product preserving type ) AS NetworkMedium,
cast(_MediumText[1:Language = $session.system_language].NetworkMediumDescription as gho_medium_text preserving type ) AS NetworkMediumDescription
;
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