UPOV_WC_THEO_VALUE

DDL: UPO_INT_V_WC_THEO_VALUE SQL: UPOS_WC_THEO_VAL Type: view

Theoretical Volume at Well Completion

UPOV_WC_THEO_VALUE is a CDS View that provides data about "Theoretical Volume at Well Completion" in SAP S/4HANA. It reads from 4 data sources (UPOV_DIM_FROM_ALLOC_BASIS, t006, gho_allocres_h, gho_iflot_ext) and exposes 4 fields with key fields RunId, WellCompletion.

Data Sources (4)

SourceAliasJoin Type
UPOV_DIM_FROM_ALLOC_BASIS AllocationBasis inner
t006 dimension inner
gho_allocres_h header inner
gho_iflot_ext iflot inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOS_WC_THEO_VAL view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Theoretical Volume at Well Completion view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY RunId item alloc_run_id Allocation Run ID
KEY WellCompletion item origin_node_id Node ID
TheoUnit item unit UoM
TheoVal item volume Waste volume

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 UPOV_WC_THEO_VALUE.
-- 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.
-- SQL view name: UPOS_WC_THEO_VAL

CREATE VIEW UPOV_WC_THEO_VALUE AS
SELECT
  item.alloc_run_id AS RunId,
  item.origin_node_id AS WellCompletion,
  item.unit AS TheoUnit,
  item.volume AS TheoVal
INNER JOIN gho_allocres_h AS header ON /* join condition not captured in parsed metadata */
INNER JOIN gho_iflot_ext AS iflot ON /* join condition not captured in parsed metadata */
INNER JOIN UPOV_DIM_FROM_ALLOC_BASIS AS AllocationBasis ON /* join condition not captured in parsed metadata */
INNER JOIN t006 AS dimension ON /* join condition not captured in parsed metadata */
;