I_MKT_IntactnCntctScoreVal
Scores of Interaction Contacts
I_MKT_IntactnCntctScoreVal is a Composite CDS View (Fact) that provides data about "Scores of Interaction Contacts" in SAP S/4HANA. It reads from 4 data sources (I_MKT_ContactRelation, I_MKT_MktgScoreCurrentVersion, I_MKT_MktgScorePersistence, I_MKT_MarketingScoreValue) and exposes 18 fields with key fields MarketingScoreUUID, MktgScoreVersion, InteractionContact. It has 6 associations to related views. Part of development package CUAN_CDS_SCORE.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_MKT_ContactRelation | _MKT_ContactRelation | left_outer |
| I_MKT_MktgScoreCurrentVersion | _MktgScoreCurrentVersion | left_outer |
| I_MKT_MktgScorePersistence | sp_root | inner |
| I_MKT_MarketingScoreValue | sp_score | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MKT_MarketingScoreModel | _MKT_MarketingScoreModel | $projection.PredictiveModelUUID = _MKT_MarketingScoreModel.PredictiveModelUUID |
| [0..1] | I_MKT_MktgScoreValueCategory | _MKT_MktgScoreValueCategory | $projection.PredictiveScenario = _MKT_MktgScoreValueCategory.PredictiveScenario and $projection.MktgScoreValueCategory = _MKT_MktgScoreValueCategory.MktgScoreValueCategory |
| [0..1] | I_MKT_CalendarDate | _MKT_CalendarDate | $projection.MktgScoreVersionDate = _MKT_CalendarDate.CalendarDate |
| [0..*] | I_MKT_IntactnCntctMktgArea | _MKT_IntactnCntctMktgArea | $projection.InteractionContact = _MKT_IntactnCntctMktgArea.InteractionContactUUID |
| [0..1] | I_Mkt_Contact | _Mkt_Contact | $projection.InteractionContact = _Mkt_Contact.InteractionContact |
| [0..1] | I_Mkt_Contact | _MKT_CorporateAccount | _MKT_ContactRelation.InteractionContact = _MKT_CorporateAccount.InteractionContact |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | INACTSCRVAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Scores of Interaction Contacts | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #FACT | view | |
| Analytics.internalName | #LOCAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MarketingScoreUUID | I_MKT_MarketingScoreValue | MarketingScoreUUID | UUID |
| KEY | MktgScoreVersion | I_MKT_MarketingScoreValue | MktgScoreVersion | XML Vers. |
| KEY | InteractionContact | I_MKT_MarketingScoreValue | InteractionContact | NodeID |
| MktgScoreVersionDate | I_MKT_MarketingScoreValue | MktgScoreVersionDate | ||
| MarketingScoreValue | I_MKT_MarketingScoreValue | MarketingScoreValue | ||
| PredictiveScenario | _MKT_MarketingScoreModel | PredictiveScenario | ||
| MktgScoreValueCategory | ||||
| PredictiveModelUUID | ||||
| MktgScoreIsCurrentVersion | ||||
| CorporateAccountUUID | I_MKT_ContactRelation | InteractionContact | NodeID | |
| InteractionContactOrigin | I_MKT_ContactRelation | InteractionContactOrigin | ||
| _MKT_MarketingScore | _MKT_MarketingScoreModel | _MKT_MarketingScore | ||
| _MKT_MarketingScoreModel | _MKT_MarketingScoreModel | |||
| _MKT_MktgScoreValueCategory | _MKT_MktgScoreValueCategory | |||
| _MKT_CorporateAccount | _MKT_CorporateAccount | |||
| _Mkt_Contact | _Mkt_Contact | |||
| _MKT_CalendarDate | _MKT_CalendarDate | |||
| _MKT_IntactnCntctMktgArea | _MKT_IntactnCntctMktgArea |
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_IntactnCntctScoreVal.
-- 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: INACTSCRVAL
CREATE VIEW I_MKT_IntactnCntctScoreVal AS
SELECT
sp_score.MarketingScoreUUID AS MarketingScoreUUID,
sp_score.MktgScoreVersion AS MktgScoreVersion,
sp_score.InteractionContact AS InteractionContact,
sp_score.MktgScoreVersionDate AS MktgScoreVersionDate,
sp_score.MarketingScoreValue AS MarketingScoreValue,
_MKT_MarketingScoreModel.PredictiveScenario AS PredictiveScenario,
cast(sp_score.MktgScoreValueCategory as cuan_sp_score_value_cat preserving type) AS MktgScoreValueCategory,
cast(sp_root.PredictiveModelUUID as cuan_pm_predictive_model preserving type) AS PredictiveModelUUID,
cast( case when _MktgScoreCurrentVersion.MktgScoreVersion = sp_score.MktgScoreVersion then 'X' else '' end as cuan_pm_score_is_curr_version preserving type) AS MktgScoreIsCurrentVersion,
_MKT_ContactRelation.InteractionContact AS CorporateAccountUUID,
_MKT_ContactRelation.InteractionContactOrigin AS InteractionContactOrigin,
_MKT_MarketingScoreModel._MKT_MarketingScore AS _MKT_MarketingScore
FROM I_MKT_MarketingScoreValue AS sp_score
INNER JOIN I_MKT_MktgScorePersistence AS sp_root ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MKT_MktgScoreCurrentVersion AS _MktgScoreCurrentVersion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MKT_ContactRelation AS _MKT_ContactRelation ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MKT_MarketingScoreModel AS _MKT_MarketingScoreModel ON PredictiveModelUUID = _MKT_MarketingScoreModel.PredictiveModelUUID -- association [0..1]
LEFT OUTER JOIN I_MKT_MktgScoreValueCategory AS _MKT_MktgScoreValueCategory ON PredictiveScenario = _MKT_MktgScoreValueCategory.PredictiveScenario AND MktgScoreValueCategory = _MKT_MktgScoreValueCategory.MktgScoreValueCategory -- association [0..1]
LEFT OUTER JOIN I_MKT_CalendarDate AS _MKT_CalendarDate ON MktgScoreVersionDate = _MKT_CalendarDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_MKT_IntactnCntctMktgArea AS _MKT_IntactnCntctMktgArea ON InteractionContact = _MKT_IntactnCntctMktgArea.InteractionContactUUID -- association [0..*]
LEFT OUTER JOIN I_Mkt_Contact AS _Mkt_Contact ON InteractionContact = _Mkt_Contact.InteractionContact -- association [0..1]
LEFT OUTER JOIN I_Mkt_Contact AS _MKT_CorporateAccount ON _MKT_ContactRelation.InteractionContact = _MKT_CorporateAccount.InteractionContact -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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