I_MKT_MktgScoreModelVH

DDL: I_MKT_MKTGSCOREMODELVH SQL: IMKTPREDMODVH Type: view COMPOSITE Package: CUAN_CDS_SCORE

Mktg: Score Models

I_MKT_MktgScoreModelVH is a Composite CDS View (Dimension) that provides data about "Mktg: Score Models" in SAP S/4HANA. It reads from 1 data source (I_MKT_MarketingScoreModel) and exposes 9 fields with key fields PredictiveModelUUID, PredictiveModel. It has 1 association to related views. Part of development package CUAN_CDS_SCORE.

Data Sources (1)

SourceAliasJoin Type
I_MKT_MarketingScoreModel t1 from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_MKT_MarketingScoreModel _MKT_MarketingScoreModel $projection.PredictiveModelUUID = _MKT_MarketingScoreModel.PredictiveModelUUID

Annotations (14)

NameValueLevelField
VDM.viewType #COMPOSITE view
AbapCatalog.sqlViewName IMKTPREDMODVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Mktg: Score Models view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ObjectModel.representativeKey PredictiveModel view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PredictiveModelUUID I_MKT_MarketingScoreModel PredictiveModelUUID NodeID
KEY PredictiveModel PredictiveModel
MarketingScoreModelName
PredictiveScenario I_MKT_MarketingScoreModel PredictiveScenario
PredictiveScenarioName
_MKT_MarketingScore _MKT_MarketingScore
MarketingArea _MKT_MarketingScore MarketingArea
PredictiveScenarioType _MKT_MarketingScore PredictiveScenarioType
_MKT_MarketingScoreModel _MKT_MarketingScoreModel

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 I_MKT_MktgScoreModelVH.
-- 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: IMKTPREDMODVH

CREATE VIEW I_MKT_MktgScoreModelVH AS
SELECT
  t1.PredictiveModelUUID AS PredictiveModelUUID,
  PredictiveModel,
  cast(concat( concat( concat ( MarketingScoreModelName, ' ('), _MKT_MarketingScore._Text[1: Language=$session.system_language].PredictiveScenarioName ), ')' ) as cuan_cds_pm_model_name) AS MarketingScoreModelName,
  t1.PredictiveScenario AS PredictiveScenario,
  _MKT_MarketingScore._Text[1: Language=$session.system_language].PredictiveScenarioName AS PredictiveScenarioName,
  _MKT_MarketingScore.MarketingArea AS MarketingArea,
  _MKT_MarketingScore.PredictiveScenarioType AS PredictiveScenarioType
FROM I_MKT_MarketingScoreModel AS t1
LEFT OUTER JOIN I_MKT_MarketingScoreModel AS _MKT_MarketingScoreModel ON PredictiveModelUUID = _MKT_MarketingScoreModel.PredictiveModelUUID  -- association [0..1]
;