I_MKT_InteractionSentimentText

DDL: I_MKT_INTERACTIONSENTIMENTTEXT SQL: IMKT_IA_VALT Type: view BASIC Package: CUAN_CDS_CONTACT

Marketing: Interaction Sentiment - Text

I_MKT_InteractionSentimentText is a Basic CDS View that provides data about "Marketing: Interaction Sentiment - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields Language, InteractionSentiment. It has 1 association to related views. Part of development package CUAN_CDS_CONTACT.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IMKT_IA_VALT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.dataCategory #TEXT view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.representativeKey InteractionSentiment view
EndUserText.label Marketing: Interaction Sentiment - Text view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY InteractionSentiment
InteractionSentimentName
_Language _Language
@AbapCatalog.sqlViewName: 'IMKT_IA_VALT'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.dataCategory: #TEXT
@Analytics.dataExtraction : {enabled:true}
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'InteractionSentiment' 
@EndUserText.label: 'Marketing: Interaction Sentiment - Text'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@ObjectModel.supportedCapabilities: 
   [ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE ]
@Metadata.ignorePropagatedAnnotations: true

define view I_MKT_InteractionSentimentText as select from dd07t 
//  association [0..1] to I_MKT_InteractionSentiment as _MKT_InteractionSentiment on $projection.InteractionSentiment = _MKT_InteractionSentiment.InteractionSentiment

  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
  @Semantics.language: true
  key cast( ddlanguage as spras ) as Language,
//  key dd07t.domvalue_l as InteractionSentiment, 

//  @ObjectModel.foreignKey.association: '_MKT_InteractionSentiment'

  key cast( substring(domvalue_l, 1, 1) as cuan_sentiment ) as InteractionSentiment,
  @Semantics.text: true
  cast( ddtext as cuan_sentiment_descr ) as InteractionSentimentName, 
//  _MKT_InteractionSentiment, //Comment this association in order to hide it if this association causes issues in analytical consumption

  _Language  //Comment this association in order to hide it if this association causes issues in analytical consumption

}
where domname = 'HPA_OBJECT_VALUATION' and as4local = 'A'