CUAN_PM_SCN_SCP

DDL: CUAN_PM_SCN_SCP SQL: CUAN_PMSCN_SCP Type: view Package: CUAN_CDS_PREDICTIVE

Applicable Scope to Scenario Assignment (Runtime)

CUAN_PM_SCN_SCP is a CDS View that provides data about "Applicable Scope to Scenario Assignment (Runtime)" in SAP S/4HANA. It reads from 3 data sources (cuanw_ps, cuanc_pm_scn_scp, cuanw_ps) and exposes 6 fields with key fields client, namespace, scenario_id, namespace, scenario_id. Part of development package CUAN_CDS_PREDICTIVE.

Data Sources (3)

SourceAliasJoin Type
cuanw_ps cuanw_ps union_all
cuanc_pm_scn_scp t1 from
cuanw_ps t2 left_outer

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CUAN_PMSCN_SCP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Applicable Scope to Scenario Assignment (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 client Workflow definition: Client
KEY namespace namespace Parameter Namespace
KEY scenario_id scenario_id
KEY namespace Parameter Namespace
KEY scenario_id predictivescenario
KEY scope_id predictivescenario

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_SCN_SCP.
-- 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_PMSCN_SCP

CREATE VIEW CUAN_PM_SCN_SCP AS
SELECT
  client,
  namespace,
  scenario_id,
  predictivescenario AS scope_id
FROM cuanc_pm_scn_scp 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
;