CUAN_PM_DS_VAR

DDL: CUAN_PM_DS_VAR SQL: CUAN_PMDS_VAR Type: view Package: CUAN_CDS_PREDICTIVE

Predictor Variable (Runtime)

CUAN_PM_DS_VAR is a CDS View that provides data about "Predictor Variable (Runtime)" in SAP S/4HANA. It reads from 3 data sources (cuanw_ps_at, cuanc_pm_ds_var, cuanw_ps) and exposes 9 fields with key fields client, at_name, at_name. Part of development package CUAN_CDS_PREDICTIVE.

Data Sources (3)

SourceAliasJoin Type
cuanw_ps_at cuanw_ps_at from
cuanc_pm_ds_var t1 union_all
cuanw_ps t2 left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CUAN_PMDS_VAR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Predictor Variable (Runtime) view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY client
KEY at_name predictivescenarioattribute
at_stype
hidden Yes/No
client
KEY at_name cuanc_pm_ds_var at_name
at_stype cuanc_pm_ds_var at_stype
hidden cuanc_pm_ds_var hidden Yes/No
is_mandatory

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_DS_VAR.
-- 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_PMDS_VAR

CREATE VIEW CUAN_PM_DS_VAR AS
SELECT
  $session.client AS client,
  predictivescenarioattribute AS at_name,
  cast( mchnlrngattributetype as cuan_pm_cust_at_stype ) AS at_stype,
  cast( '' as cuan_pm_var_hidden ) AS hidden,
  '' AS is_mandatory
FROM cuanw_ps_at
LEFT OUTER JOIN cuanw_ps AS t2 ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): cuanc_pm_ds_var
;