UPOV_GET_WC

DDL: UPO_INT_V_GET_WC SQL: UPOS_GET_WC Type: view

Separate WC from STRNO

UPOV_GET_WC is a CDS View that provides data about "Separate WC from STRNO" in SAP S/4HANA. It reads from 6 data sources and exposes 5 fields with key fields wl_tplnr, wc_tplnr.

Data Sources (6)

SourceAliasJoin Type
upoc_udm_alkey alkeyobj_wc left_outer
upoc_udm_alkey alkeyobj_well left_outer
iflos funcloclabel_wc inner
iflos funcloclabel_well inner
gho_iflot_ext functionalloc from
upoc_udm_wc_sep wc_sep left_outer

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName UPOS_GET_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 #MASTER view
EndUserText.label Separate WC from STRNO view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY wl_tplnr iflos tplnr Functional loc.
KEY wc_tplnr iflos tplnr Functional loc.
wl_strno
wc_strno
strno iflos strno Functional Loc.

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_GET_WC.
-- 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_GET_WC

CREATE VIEW UPOV_GET_WC AS
SELECT
  funcloclabel_well.tplnr AS wl_tplnr,
  funcloclabel_wc.tplnr AS wc_tplnr,
  cast(funcloclabel_well.strno as ilom_strno) AS wl_strno,
  cast(ltrim(replace(funcloclabel_wc.strno, concat(left(funcloclabel_well.strno,15),wc_sep.w_wc_separator ),''),'') as ilom_strno) AS wc_strno,
  funcloclabel_wc.strno AS strno
FROM gho_iflot_ext AS functionalloc
LEFT OUTER JOIN upoc_udm_alkey AS alkeyobj_wc ON /* join condition not captured in parsed metadata */
INNER JOIN iflos AS funcloclabel_wc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN upoc_udm_alkey AS alkeyobj_well ON /* join condition not captured in parsed metadata */
INNER JOIN iflos AS funcloclabel_well ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN upoc_udm_wc_sep AS wc_sep ON /* join condition not captured in parsed metadata */
;