I_MKT_InteractionProduct

DDL: I_MKT_INTERACTIONPRODUCT Type: view_entity BASIC

Marketing: Interaction Product

I_MKT_InteractionProduct is a Basic CDS View (Fact) that provides data about "Marketing: Interaction Product" in SAP S/4HANA. It reads from 1 data source (cuand_ce_ia_prod) and exposes 14 fields with key field InteractionProductUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
cuand_ce_ia_prod Persistence from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_MKT_Interaction _MKT_Interaction $projection.InteractionUUID = _MKT_Interaction.Interaction
[1..1] E_MKT_IA_PRODUCT _Extension Persistence.db_key = _Extension.InteractionProduct
[0..1] I_Currency _Currency $projection.Currency = _Currency.Currency
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.InteractionProductUnit = _UnitOfMeasure.UnitOfMeasure

Annotations (11)

NameValueLevelField
EndUserText.label Marketing: Interaction Product view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
Analytics.dataCategory #FACT view
Analytics.technicalName IMKT_IAPROD view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey InteractionProductUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY InteractionProductUUID
InteractionUUID
Product cuand_ce_ia_prod object_id Transaction ID
InteractionProdWeightingFactor product_quantifier
InteractionProductAmount cuand_ce_ia_prod amount Value Amount
InteractionProductQuantity quantity Value
InteractionProductUnit unit_of_measure Unit of Measure
InteractionProductStatus ia_prod_status
InteractionProductReason ia_prod_reason
ProductName
Currency _MKT_Interaction Currency Valuation Crcy
_MKT_Interaction _MKT_Interaction
_Currency _Currency
_UnitOfMeasure _UnitOfMeasure

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_InteractionProduct.
-- 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_InteractionProduct AS
SELECT
  cast (Persistence.db_key as cuan_cds_ia_product preserving type) AS InteractionProductUUID,
  cast (Persistence.parent_key as cuan_cds_interaction preserving type) AS InteractionUUID,
  Persistence.object_id AS Product,
  product_quantifier AS InteractionProdWeightingFactor,
  Persistence.amount AS InteractionProductAmount,
  quantity AS InteractionProductQuantity,
  unit_of_measure AS InteractionProductUnit,
  ia_prod_status AS InteractionProductStatus,
  ia_prod_reason AS InteractionProductReason,
  '' AS ProductName,
  _MKT_Interaction.Currency AS Currency
FROM cuand_ce_ia_prod AS Persistence
LEFT OUTER JOIN I_MKT_Interaction AS _MKT_Interaction ON InteractionUUID = _MKT_Interaction.Interaction  -- association [1..1]
LEFT OUTER JOIN E_MKT_IA_PRODUCT AS _Extension ON Persistence.db_key = _Extension.InteractionProduct  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _Currency ON Currency = _Currency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON InteractionProductUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
;