I_MKT_InteractionContactEvent

DDL: I_MKT_INTERACTIONCONTACTEVENT Type: view_entity BASIC

Interaction Contact Event History

I_MKT_InteractionContactEvent is a Basic CDS View (Dimension) that provides data about "Interaction Contact Event History" in SAP S/4HANA. It reads from 1 data source (cuand_ce_ic_evhs) and exposes 17 fields with key field InteractionContactEventUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
cuand_ce_ic_evhs cuand_ce_ic_evhs from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_MKT_Contactorigintext _CONTACT_ORIGIN_DESCRIPTION $projection.InteractionContactOrigin = _CONTACT_ORIGIN_DESCRIPTION.InteractionContactOrigin and _CONTACT_ORIGIN_DESCRIPTION.Language = $session.system_language
[1..1] I_MKT_Contactorigintext _MATCHING_ORIGIN_DESCRIPTION $projection.IntactnCntctMatchingOrigin = _MATCHING_ORIGIN_DESCRIPTION.InteractionContactOrigin and _MATCHING_ORIGIN_DESCRIPTION.Language = $session.system_language
[1..1] I_MKT_Contactorigintext _MATCHING_GRP_ORIGIN_DSCRPTON $projection.IntactnCntctMatchingGrpOrigin = _MATCHING_GRP_ORIGIN_DSCRPTON.InteractionContactOrigin and _MATCHING_GRP_ORIGIN_DSCRPTON.Language = $session.system_language
[1..1] I_MKT_IntactnCntctEventType _MKT_IntactnCntctEventType $projection.InteractionContactEventType = _MKT_IntactnCntctEventType.InteractionCntctEventTypeCode
[1..1] I_MKT_IntactnCntctEventReason _MKT_IntactnCntctEventReason $projection.InteractionContactEventReason = _MKT_IntactnCntctEventReason.InteractionCntctEventRsnCode

Annotations (9)

NameValueLevelField
EndUserText.label Interaction Contact Event History view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.technicalName IMKT_ICMKTEVENT view
VDM.viewType #BASIC view
ObjectModel.representativeKey InteractionContactEventUUID view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY InteractionContactEventUUID db_key UUID
InteractionContactUUID root_key UUID
InteractionContactFacetUUID parent_key UUID
InteractionContactOrigin id_origin
InteractionContactId id WorklistID
InteractionContactEventType event Time
InteractionContactEventReason reason Sp.Tax Code Reason
IntactnContactEventUTCDateTime timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
IntactnCntctMatchingOrigin matching_id_origin
IntactnCntctMatchingId matching_id
IntactnCntctMatchingGrpOrigin matching_group_id_origin
IntactnCntctMatchingGrpId matching_group_id
InteractionContactOriginName _CONTACT_ORIGIN_DESCRIPTION InteractionContactOriginName
IntactnCntctMatchingOriginName _MATCHING_ORIGIN_DESCRIPTION InteractionContactOriginName
IntactnCntctMtchgGrpOriginName _MATCHING_GRP_ORIGIN_DSCRPTON InteractionContactOriginName
InteractionCntctEventTypeName
IntactnCntctEventReasonName

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_InteractionContactEvent.
-- 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.

CREATE VIEW I_MKT_InteractionContactEvent AS
SELECT
  db_key AS InteractionContactEventUUID,
  root_key AS InteractionContactUUID,
  parent_key AS InteractionContactFacetUUID,
  id_origin AS InteractionContactOrigin,
  id AS InteractionContactId,
  event AS InteractionContactEventType,
  reason AS InteractionContactEventReason,
  timestamp AS IntactnContactEventUTCDateTime,
  matching_id_origin AS IntactnCntctMatchingOrigin,
  matching_id AS IntactnCntctMatchingId,
  matching_group_id_origin AS IntactnCntctMatchingGrpOrigin,
  matching_group_id AS IntactnCntctMatchingGrpId,
  _CONTACT_ORIGIN_DESCRIPTION.InteractionContactOriginName AS InteractionContactOriginName,
  _MATCHING_ORIGIN_DESCRIPTION.InteractionContactOriginName AS IntactnCntctMatchingOriginName,
  _MATCHING_GRP_ORIGIN_DSCRPTON.InteractionContactOriginName AS IntactnCntctMtchgGrpOriginName,
  _MKT_IntactnCntctEventType._Text.InteractionCntctEventTypeName AS InteractionCntctEventTypeName,
  _MKT_IntactnCntctEventReason._Text.IntactnCntctEventReasonName AS IntactnCntctEventReasonName
FROM cuand_ce_ic_evhs
LEFT OUTER JOIN I_MKT_Contactorigintext AS _CONTACT_ORIGIN_DESCRIPTION ON InteractionContactOrigin = _CONTACT_ORIGIN_DESCRIPTION.InteractionContactOrigin AND _CONTACT_ORIGIN_DESCRIPTION.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_MKT_Contactorigintext AS _MATCHING_ORIGIN_DESCRIPTION ON IntactnCntctMatchingOrigin = _MATCHING_ORIGIN_DESCRIPTION.InteractionContactOrigin AND _MATCHING_ORIGIN_DESCRIPTION.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_MKT_Contactorigintext AS _MATCHING_GRP_ORIGIN_DSCRPTON ON IntactnCntctMatchingGrpOrigin = _MATCHING_GRP_ORIGIN_DSCRPTON.InteractionContactOrigin AND _MATCHING_GRP_ORIGIN_DSCRPTON.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_MKT_IntactnCntctEventType AS _MKT_IntactnCntctEventType ON InteractionContactEventType = _MKT_IntactnCntctEventType.InteractionCntctEventTypeCode  -- association [1..1]
LEFT OUTER JOIN I_MKT_IntactnCntctEventReason AS _MKT_IntactnCntctEventReason ON InteractionContactEventReason = _MKT_IntactnCntctEventReason.InteractionCntctEventRsnCode  -- association [1..1]
;