C_GHOWellWellCompletionTests

DDL: C_GHOWELLWELLCOMPLETIONTESTS Type: view_entity CONSUMPTION

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)

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

ServiceBindingVersionContractRelease
UI_GHO_PRODNALLOCATIONRUNLIST UI_GHO_PRODNALLOCRUN_O2 V2 C1 NOT_RELEASED

Fields (20)

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