CUAN_PM_UI_THRS

DDL: CUAN_PM_UI_THRS SQL: CUAN_PMUI_THRS Type: view Package: CUAN_CDS_PREDICTIVE

Thresholds, descriptions and colors for scores (Runtime)

CUAN_PM_UI_THRS is a CDS View that provides data about "Thresholds, descriptions and colors for scores (Runtime)" in SAP S/4HANA. It reads from 3 data sources (cuanc_pm_ui_thrs, cuanw_ps, cuanw_ps) and exposes 6 fields with key fields client, scenario_id, rank, scenario_id, rank. Part of development package CUAN_CDS_PREDICTIVE.

Data Sources (3)

SourceAliasJoin Type
cuanc_pm_ui_thrs t1 from
cuanw_ps t1 union_all
cuanw_ps t2 left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CUAN_PMUI_THRS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Thresholds, descriptions and colors for scores (Runtime) view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY client cuanw_ps client Workflow definition: Client
KEY scenario_id cuanw_ps scenario_id
KEY rank cuanw_ps rank
KEY scenario_id cuanw_ps predictivescenario
KEY rank cuanw_ps prdtvscenvaluerank
color cuanw_ps prdtvscenvaluerankcolor

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 CUAN_PM_UI_THRS.
-- 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: CUAN_PMUI_THRS

CREATE VIEW CUAN_PM_UI_THRS AS
SELECT
  t1.client AS client,
  t1.scenario_id AS scenario_id,
  t1.rank AS rank,
  t2.prdtvscenvaluerankcolor AS color
FROM cuanc_pm_ui_thrs AS t1
LEFT OUTER JOIN cuanw_ps AS t2 ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): cuanw_ps
;