CUAN_PM_SCNARIO

DDL: CUAN_PM_SCNARIO SQL: CUAN_PMSCNARIO Type: view Package: CUAN_CDS_PREDICTIVE

Predictive Scenario (Runtime)

CUAN_PM_SCNARIO is a CDS View that provides data about "Predictive Scenario (Runtime)" in SAP S/4HANA. It reads from 3 data sources (cuanw_ps, cuanc_pm_scnario, cuanw_ps) and exposes 12 fields with key fields client, scenario_id, scenario_id. Part of development package CUAN_CDS_PREDICTIVE.

Data Sources (3)

SourceAliasJoin Type
cuanw_ps cuanw_ps union_all
cuanc_pm_scnario t1 from
cuanw_ps t2 left_outer

Annotations (8)

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

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY client cuanc_pm_scnario client Workflow definition: Client
KEY scenario_id cuanc_pm_scnario scenario_id
type cuanc_pm_scnario type
hidden cuanc_pm_scnario hidden Yes/No
pst_alias cuanc_pm_scnario pst_alias
semantic cuanc_pm_scnario semantic Semantics
KEY scenario_id predictivescenario
type predictivescenariotype
hidden Yes/No
pst_alias persistencealias
semantic Semantics
management 0

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_SCNARIO.
-- 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_PMSCNARIO

CREATE VIEW CUAN_PM_SCNARIO AS
SELECT
  t1.client AS client,
  t1.scenario_id AS scenario_id,
  t1.type AS type,
  t1.hidden AS hidden,
  t1.pst_alias AS pst_alias,
  t1.semantic AS semantic,
  0 AS management
FROM cuanc_pm_scnario 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
;