CUAN_IA_READ_UI
Read Interaction for UI
CUAN_IA_READ_UI is a CDS View that provides data about "Read Interaction for UI" in SAP S/4HANA. It reads from 1 data source (cuan_ia_read) and exposes 47 fields with key field IA_KEY. It has 12 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cuan_ia_read | Interaction | from |
Associations (12)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MKT_EmployeeBusinessUser | _Employee | $projection.employee_id = _Employee.EmployeeInternalID |
| [0..*] | CUAN_IA_INTEREST | _InteractionInterest | $projection.IA_KEY = _InteractionInterest.parent_key |
| [0..*] | cuand_ce_ia_prod | _InteractionProduct | $projection.IA_KEY = _InteractionProduct.parent_key |
| [0..*] | cuand_ce_ia_tag | _InteractionTag | $projection.IA_KEY = _InteractionTag.parent_key |
| [0..*] | cuand_ce_ia_ic | _AdditionalContact | $projection.IA_KEY = _AdditionalContact.parent_key |
| [0..1] | cuanc_ce_ia_rs_t | _InteractionReason | $projection.ia_reason = _InteractionReason.ia_reason and $projection.ia_type = _InteractionReason.ia_type and _InteractionReason.spras = $session.system_language |
| [0..1] | cuanc_ce_iatyp_t | _InteractionType | $projection.ia_type = _InteractionType.ia_type and _InteractionType.spras = $session.system_language |
| [0..1] | cuand_me_me_root | _MarketingEngagement | $projection.marketing_orchestration_id = _MarketingEngagement.id |
| [0..1] | cuanc_targetcurr | _InteractionTargetCurrency | _InteractionTargetCurrency.waers is not null |
| [0..1] | cuanc_ce_cmm_m_t | _CommunicationMedium | $projection.comm_medium = _CommunicationMedium.comm_medium and _CommunicationMedium.spras = $session.system_language |
| [0..1] | cuanc_ce_ia_type | _InteractionTypeConfig | $projection.ia_type = _InteractionTypeConfig.ia_type |
| [1..1] | E_MKT_INTERACTION | _InteractionExtension | $projection.IA_KEY = _InteractionExtension.Interaction |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Read Interaction for UI | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | IA_KEY | cuan_ia_read | db_key | UUID |
| id_origin | cuan_ia_read | id_origin | ||
| id | cuan_ia_read | id | WorklistID | |
| comm_medium | cuan_ia_read | comm_medium | ||
| ia_type | cuan_ia_read | ia_type | ||
| timestamp | cuan_ia_read | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| campaign_id | cuan_ia_read | campaign_id | ||
| INITIATIVE_NAME | cuan_ia_read | INI_NAME | Zone name | |
| quantifier | cuan_ia_read | quantifier | Quantifier | |
| ia_status | cuan_ia_read | ia_status | ||
| ia_reason | cuan_ia_read | ia_reason | ||
| ia_language | cuan_ia_read | ia_language | Language | |
| amount | cuan_ia_read | amount | Value Amount | |
| currency | cuan_ia_read | currency | Valuation Crcy | |
| latitude | cuan_ia_read | latitude | Latitude | |
| longitude | cuan_ia_read | longitude | Longitude | |
| srid | cuan_ia_read | srid | Stability Rule DRP | |
| device_type | cuan_ia_read | device_type | ||
| device_ft | cuan_ia_read | device_ft | ||
| sw_client | cuan_ia_read | sw_client | ||
| os | cuan_ia_read | os | ||
| launch_url | cuan_ia_read | launch_url | ||
| launch_text | cuan_ia_read | launch_text | ||
| contact_key | cuan_ia_read | contact_key | NodeID | |
| root_ia_key | cuan_ia_read | root_ia_key | NodeID | |
| employee_id | cuan_ia_read | employee_id | Personnel No. | |
| _dataaging | cuan_ia_read | _dataaging | Data Aging | |
| crea_uname | cuan_ia_read | crea_uname | User Name | |
| lchg_uname | cuan_ia_read | lchg_uname | User Name | |
| content_data | cuan_ia_read | content_data | ||
| IA_REASON_T | _InteractionReason | ia_reason_desc | ||
| IA_TYPE_T | _InteractionType | ia_type_desc | ||
| ME_NAME | _MarketingEngagement | name | Zone name | |
| COMM_MEDIUM_T | _CommunicationMedium | comm_medium_desc | ||
| channel | _InteractionChannel | channel | Memo Record Channel | |
| CHANNEL_T | _InteractionChannelText | channel_desc | ||
| INTEREST_ITEM_T | ||||
| TAG_NAME | _InteractionTag | tag | Tag | |
| ADD_CONTACT_KEY | _AdditionalContact | contact_key | NodeID | |
| object_id | _InteractionProduct | object_id | Transaction ID | |
| ia_prod_key | _InteractionProduct | db_key | UUID | |
| quantity | _InteractionProduct | quantity | Value | |
| curr_date | ||||
| direction | _InteractionTypeConfig | direction | Long/Short Position | |
| CAMPAIGN_ID_T | ||||
| CAMPAIGN_GUID | ||||
| DESCRIPTION |
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_READ_UI.
-- 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 CUAN_IA_READ_UI AS
SELECT
Interaction.db_key AS IA_KEY,
Interaction.id_origin AS id_origin,
Interaction.id AS id,
Interaction.comm_medium AS comm_medium,
Interaction.ia_type AS ia_type,
Interaction.timestamp AS timestamp,
Interaction.campaign_id AS campaign_id,
Interaction.INI_NAME AS INITIATIVE_NAME,
Interaction.quantifier AS quantifier,
Interaction.ia_status AS ia_status,
Interaction.ia_reason AS ia_reason,
Interaction.ia_language AS ia_language,
Interaction.amount AS amount,
Interaction.currency AS currency,
Interaction.latitude AS latitude,
Interaction.longitude AS longitude,
Interaction.srid AS srid,
Interaction.device_type AS device_type,
Interaction.device_ft AS device_ft,
Interaction.sw_client AS sw_client,
Interaction.os AS os,
Interaction.launch_url AS launch_url,
Interaction.launch_text AS launch_text,
Interaction.contact_key AS contact_key,
Interaction.root_ia_key AS root_ia_key,
Interaction.employee_id AS employee_id,
Interaction._dataaging AS _dataaging,
Interaction.crea_uname AS crea_uname,
Interaction.lchg_uname AS lchg_uname,
Interaction.content_data AS content_data,
_InteractionReason.ia_reason_desc AS IA_REASON_T,
_InteractionType.ia_type_desc AS IA_TYPE_T,
_MarketingEngagement.name AS ME_NAME,
_CommunicationMedium.comm_medium_desc AS COMM_MEDIUM_T,
_InteractionChannel.channel AS channel,
_InteractionChannelText.channel_desc AS CHANNEL_T,
_InteractionInterest._InteractionInterestText.interest_item_desc AS INTEREST_ITEM_T,
_InteractionTag.tag AS TAG_NAME,
_AdditionalContact.contact_key AS ADD_CONTACT_KEY,
_InteractionProduct.object_id AS object_id,
_InteractionProduct.db_key AS ia_prod_key,
_InteractionProduct.quantity AS quantity,
$session.system_date AS curr_date,
_InteractionTypeConfig.direction AS direction,
'' AS CAMPAIGN_ID_T,
hextobin('00000000000000000000000000000000') AS CAMPAIGN_GUID,
'' AS DESCRIPTION
FROM cuan_ia_read AS Interaction
LEFT OUTER JOIN I_MKT_EmployeeBusinessUser AS _Employee ON employee_id = _Employee.EmployeeInternalID -- association [0..1]
LEFT OUTER JOIN CUAN_IA_INTEREST AS _InteractionInterest ON IA_KEY = _InteractionInterest.parent_key -- association [0..*]
LEFT OUTER JOIN cuand_ce_ia_prod AS _InteractionProduct ON IA_KEY = _InteractionProduct.parent_key -- association [0..*]
LEFT OUTER JOIN cuand_ce_ia_tag AS _InteractionTag ON IA_KEY = _InteractionTag.parent_key -- association [0..*]
LEFT OUTER JOIN cuand_ce_ia_ic AS _AdditionalContact ON IA_KEY = _AdditionalContact.parent_key -- association [0..*]
LEFT OUTER JOIN cuanc_ce_ia_rs_t AS _InteractionReason ON ia_reason = _InteractionReason.ia_reason AND ia_type = _InteractionReason.ia_type AND _InteractionReason.spras = $session.system_language -- association [0..1]
LEFT OUTER JOIN cuanc_ce_iatyp_t AS _InteractionType ON ia_type = _InteractionType.ia_type AND _InteractionType.spras = $session.system_language -- association [0..1]
LEFT OUTER JOIN cuand_me_me_root AS _MarketingEngagement ON marketing_orchestration_id = _MarketingEngagement.id -- association [0..1]
LEFT OUTER JOIN cuanc_targetcurr AS _InteractionTargetCurrency ON /* condition not available in parsed metadata */ -- association [0..1]
LEFT OUTER JOIN cuanc_ce_cmm_m_t AS _CommunicationMedium ON comm_medium = _CommunicationMedium.comm_medium AND _CommunicationMedium.spras = $session.system_language -- association [0..1]
LEFT OUTER JOIN cuanc_ce_ia_type AS _InteractionTypeConfig ON ia_type = _InteractionTypeConfig.ia_type -- association [0..1]
LEFT OUTER JOIN E_MKT_INTERACTION AS _InteractionExtension ON IA_KEY = _InteractionExtension.Interaction -- association [1..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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