UPOV_TRIM_WC_PRA

DDL: UPO_INT_V_TRIM_WC_PRA SQL: UPOS_PR_TRIM_WC Type: view

Trimmed Well and WC of PRA

UPOV_TRIM_WC_PRA is a CDS View that provides data about "Trimmed Well and WC of PRA" in SAP S/4HANA. It reads from 1 data source (oiu_pr_wc) and exposes 4 fields with key fields WellNumber, WCNumber.

Data Sources (1)

SourceAliasJoin Type
oiu_pr_wc oiu_pr_wc from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOS_PR_TRIM_WC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Trimmed Well and WC of PRA view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY WellNumber wl_no Well
KEY WCNumber wc_no Well Completion
ltrimwl_no0asTrimmedWell
ltrimwc_no0asTrimmedWC

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_TRIM_WC_PRA.
-- 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_PR_TRIM_WC

CREATE VIEW UPOV_TRIM_WC_PRA AS
SELECT
  wl_no AS WellNumber,
  wc_no AS WCNumber,
  ltrim(wl_no,'0' )as TrimmedWell AS ltrimwl_no0asTrimmedWell,
  ltrim(wc_no,'0' )as TrimmedWC AS ltrimwc_no0asTrimmedWC
FROM oiu_pr_wc
;