CUAN_RECO_SCENARIOS_LIST
Scenarios with calculated models
CUAN_RECO_SCENARIOS_LIST is a CDS View that provides data about "Scenarios with calculated models" in SAP S/4HANA. It reads from 7 data sources and exposes 21 fields with key field DB_KEY. Part of development package PROD_RECO_CDS.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| cuanc_ce_cmm_m_t | comm_t | left_outer |
| CUAN_ENGINE_DATASOURCETYPE | dsType | left_outer |
| preco_d_engine_t | engine_t | left_outer |
| cuanc_ce_iatyp_t | iatype_t | left_outer |
| CUAN_MODEL_AGGRE_STATUS | model | left_outer |
| preco_a_scenario | scenario | from |
| preco_a_scenar_t | scenario_t | left_outer |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CUAN_SCENARIOS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Scenarios with calculated models | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DB_KEY | preco_a_scenario | db_key | UUID |
| SCENARIO_ID | preco_a_scenario | scenario_id | Workflow definition | |
| USER_TYPE | user_type | User Type | ||
| COMM_MEDIUM | preco_a_scenario | comm_medium | ||
| COMM_MEDIUM_DESC | cuanc_ce_cmm_m_t | comm_medium_desc | ||
| SOURCE_OBJECT_TYPE | source_object_type | Object Type | ||
| SOURCE_SYSTEM_ID | source_system_id | System ID | ||
| SOURCE_SYSTEM_TYPE | source_system_type | |||
| PRECO_SYSTEM | preco_system | |||
| PRECO_MODEL_TYPE_DESC | preco_d_engine_t | description | Well Code Des. | |
| PRECO_MODEL_TYPE | preco_model_type | |||
| sum_e0thenEelseendasPRECO_MODEL_STATUS | ||||
| OBJECT_TYPE_ID | CUAN_ENGINE_DATASOURCETYPE | object_type_calculated | ||
| RESULT_TYPE | CUAN_ENGINE_DATASOURCETYPE | result_type | Result Type | |
| LANGUAGE | preco_a_scenar_t | langu | Primary lang. | |
| SCENARIO_NAME | preco_a_scenar_t | scenario_name | Scenario Name | |
| SCENARIO_DESCRIPTION | preco_a_scenar_t | scenario_description | Scenario Description | |
| IA_TYPE | preco_a_scenario | ia_type | ||
| IA_TYPE_DESC | cuanc_ce_iatyp_t | ia_type_desc | ||
| CACHEABLE | CUAN_ENGINE_DATASOURCETYPE | cacheable | ||
| IS_USER_SECURE | is_user_secure |
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_RECO_SCENARIOS_LIST.
-- 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_SCENARIOS
CREATE VIEW CUAN_RECO_SCENARIOS_LIST AS
SELECT
scenario.db_key AS DB_KEY,
scenario.scenario_id AS SCENARIO_ID,
USER_TYPE,
scenario.comm_medium AS COMM_MEDIUM,
comm_t.comm_medium_desc AS COMM_MEDIUM_DESC,
SOURCE_OBJECT_TYPE,
SOURCE_SYSTEM_ID,
SOURCE_SYSTEM_TYPE,
PRECO_SYSTEM,
engine_t.description AS PRECO_MODEL_TYPE_DESC,
PRECO_MODEL_TYPE,
case when model.sum_a > 0 then 'A' when model.sum_d > 0 then 'D' when model.sum_p > 0 then 'P' when model.sum_e > 0 then 'E' else '' end as PRECO_MODEL_STATUS AS sum_e0thenEelseendasPRECO_MODEL_STATUS,
dsType.object_type_calculated AS OBJECT_TYPE_ID,
dsType.result_type AS RESULT_TYPE,
scenario_t.langu AS LANGUAGE,
scenario_t.scenario_name AS SCENARIO_NAME,
scenario_t.scenario_description AS SCENARIO_DESCRIPTION,
scenario.ia_type AS IA_TYPE,
iatype_t.ia_type_desc AS IA_TYPE_DESC,
dsType.cacheable AS CACHEABLE,
IS_USER_SECURE
FROM preco_a_scenario AS scenario
LEFT OUTER JOIN preco_d_engine_t AS engine_t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cuanc_ce_iatyp_t AS iatype_t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cuanc_ce_cmm_m_t AS comm_t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN preco_a_scenar_t AS scenario_t ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN CUAN_ENGINE_DATASOURCETYPE AS dsType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN CUAN_MODEL_AGGRE_STATUS AS model ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA