CUAN_IA_ABANDONED_SC

DDL: CUAN_IA_ABANDONED_SC SQL: CUAN_IAASC Type: view Package: CUAN_CDS_CONTACT

Marketing: Interaction Aband. Shop. Cart

CUAN_IA_ABANDONED_SC is a CDS View that provides data about "Marketing: Interaction Aband. Shop. Cart" in SAP S/4HANA. It reads from 1 data source (CUAN_IA_ABANDONED_SC_BASE) and exposes 24 fields. It has 5 associations to related views. Part of development package CUAN_CDS_CONTACT.

Data Sources (1)

SourceAliasJoin Type
CUAN_IA_ABANDONED_SC_BASE _Mkt_ASC_Interaction from

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_Mkt_Interaction _MKT_Interaction $projection.DB_KEY = _MKT_Interaction.Interaction
[0..*] I_MKT_InteractionProduct _MKT_InteractionProduct $projection.DB_KEY = _MKT_InteractionProduct.InteractionUUID
[1..1] E_MKT_IA_PRODUCT _ExtensionIAProd $projection.DB_KEY = _ExtensionIAProd.InteractionProduct
[1..1] E_MKT_PRODUCT _ExtensionProd $projection.DB_KEY= _ExtensionProd.Product
[1..1] E_MKT_INTERACTION _ExtensionIA $projection.DB_KEY = _ExtensionIA.Interaction

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CUAN_IAASC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Marketing: Interaction Aband. Shop. Cart view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (24)

KeyFieldSource TableSource FieldDescription
DB_KEY AbandonedShoppingCart
REQUEST_KEY RequestedInteractionKey UUID
ROOT_KEY _MKT_Interaction RootInteraction
IA_TYPE _MKT_Interaction InteractionType
SOURCE_DATA_URL _MKT_Interaction InteractionSourceDataURL
TIMESTAMP _MKT_Interaction InteractionTimeStampUTC
TOTAL_AMOUNT_CURRENCY _MKT_Interaction Currency Valuation Crcy
TOTAL_AMOUNT _MKT_Interaction InteractionAmount
PARENT_KEY _MKT_Interaction PrecedingInteractionUUID
IA_PROD_KEY _MKT_InteractionProduct InteractionProductUUID
PRODUCT_KEY _MKT_InteractionProduct ProductUUID UUID
PRODUCT_ID _MKT_InteractionProduct Product Product Sold
DESCRIPTION
NAME
VALID_TO
SOURCE_ITEM_NO _MKT_InteractionProduct InteractionSourceItemNumber
PRODUCT_ORIGIN _MKT_InteractionProduct ProductOrigin
IMAGE_URL
NAV_URL
CURRENCY _MKT_Interaction Currency Valuation Crcy
AMOUNT _MKT_InteractionProduct InteractionProductAmount
QUANTITY _MKT_InteractionProduct InteractionProductQuantity
UNIT_OF_MEASURE _MKT_InteractionProduct InteractionProductUnit
LANGUAGE

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 CUAN_IA_ABANDONED_SC.
-- 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: CUAN_IAASC

CREATE VIEW CUAN_IA_ABANDONED_SC AS
SELECT
  AbandonedShoppingCart AS DB_KEY,
  RequestedInteractionKey AS REQUEST_KEY,
  _MKT_Interaction.RootInteraction AS ROOT_KEY,
  _MKT_Interaction.InteractionType AS IA_TYPE,
  _MKT_Interaction.InteractionSourceDataURL AS SOURCE_DATA_URL,
  _MKT_Interaction.InteractionTimeStampUTC AS TIMESTAMP,
  _MKT_Interaction.Currency AS TOTAL_AMOUNT_CURRENCY,
  _MKT_Interaction.InteractionAmount AS TOTAL_AMOUNT,
  _MKT_Interaction.PrecedingInteractionUUID AS PARENT_KEY,
  _MKT_InteractionProduct.InteractionProductUUID AS IA_PROD_KEY,
  _MKT_InteractionProduct.ProductUUID AS PRODUCT_KEY,
  _MKT_InteractionProduct.Product AS PRODUCT_ID,
  _MKT_InteractionProduct._MKT_Product._Text[1: Language=$session.system_language].ProductDescription AS DESCRIPTION,
  _MKT_InteractionProduct._MKT_Product._Text[1: Language=$session.system_language].ProductName AS NAME,
  _MKT_InteractionProduct._MKT_Product.ProductValidEndDate AS VALID_TO,
  _MKT_InteractionProduct.InteractionSourceItemNumber AS SOURCE_ITEM_NO,
  _MKT_InteractionProduct.ProductOrigin AS PRODUCT_ORIGIN,
  _MKT_InteractionProduct._MKT_Product.ProductImageURL AS IMAGE_URL,
  _MKT_InteractionProduct._MKT_Product.WebsiteURL AS NAV_URL,
  _MKT_Interaction.Currency AS CURRENCY,
  _MKT_InteractionProduct.InteractionProductAmount AS AMOUNT,
  _MKT_InteractionProduct.InteractionProductQuantity AS QUANTITY,
  _MKT_InteractionProduct.InteractionProductUnit AS UNIT_OF_MEASURE,
  _MKT_InteractionProduct._MKT_Product._Text.Language AS LANGUAGE
FROM CUAN_IA_ABANDONED_SC_BASE AS _Mkt_ASC_Interaction
LEFT OUTER JOIN I_Mkt_Interaction AS _MKT_Interaction ON DB_KEY = _MKT_Interaction.Interaction  -- association [1..1]
LEFT OUTER JOIN I_MKT_InteractionProduct AS _MKT_InteractionProduct ON DB_KEY = _MKT_InteractionProduct.InteractionUUID  -- association [0..*]
LEFT OUTER JOIN E_MKT_IA_PRODUCT AS _ExtensionIAProd ON DB_KEY = _ExtensionIAProd.InteractionProduct  -- association [1..1]
LEFT OUTER JOIN E_MKT_PRODUCT AS _ExtensionProd ON DB_KEY= _ExtensionProd.Product  -- association [1..1]
LEFT OUTER JOIN E_MKT_INTERACTION AS _ExtensionIA ON DB_KEY = _ExtensionIA.Interaction  -- association [1..1]
;