cuan_ia_read
Read Interaction
cuan_ia_read is a CDS View that provides data about "Read Interaction" in SAP S/4HANA. It reads from 4 data sources (cuan_d_comcat_rt, cuan_d_ini_root, cuand_ce_ic_root, cuand_ce_ia_rt) and exposes 117 fields with key field db_key. It has 1 association to related views. Part of development package CUAN_CDS_CONTACT.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| cuan_d_comcat_rt | _MKT_CCAT | left_outer |
| cuan_d_ini_root | _MKT_CPG | left_outer |
| cuand_ce_ic_root | _MKT_IC | left_outer |
| cuand_ce_ia_rt | Interaction | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_MKT_INTERACTION | _InteractionExtension | $projection.db_key = _InteractionExtension.Interaction |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Read Interaction | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | CUAN_IAREAD | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (117)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | db_key | cuand_ce_ia_rt | db_key | UUID |
| id_origin | cuand_ce_ia_rt | id_origin | ||
| id | cuand_ce_ia_rt | id | WorklistID | |
| comm_medium | cuand_ce_ia_rt | comm_medium | ||
| ia_type | cuand_ce_ia_rt | ia_type | ||
| timestamp | cuand_ce_ia_rt | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| mkt_area_id | cuand_ce_ia_rt | mkt_area_id | ||
| campaign_id | cuand_ce_ia_rt | campaign_id | ||
| ini_version | cuand_ce_ia_rt | ini_version | ||
| loc_origin | cuand_ce_ia_rt | loc_origin | ||
| loc_id | cuand_ce_ia_rt | loc_id | Location ID | |
| digacc_id | cuand_ce_ia_rt | digacc_id | ||
| digacc_type | cuand_ce_ia_rt | digacc_type | ||
| comm_cat_id | cuand_ce_ia_rt | comm_cat_id | ||
| quantifier | cuand_ce_ia_rt | quantifier | Quantifier | |
| valuation | cuand_ce_ia_rt | valuation | Valuation View | |
| ia_status | cuand_ce_ia_rt | ia_status | ||
| ia_reason | cuand_ce_ia_rt | ia_reason | ||
| ia_language | cuand_ce_ia_rt | ia_language | Language | |
| is_anonymous | cuand_ce_ia_rt | is_anonymous | TRUE | |
| amount | cuand_ce_ia_rt | amount | Value Amount | |
| currency | cuand_ce_ia_rt | currency | Valuation Crcy | |
| latitude | cuand_ce_ia_rt | latitude | Latitude | |
| longitude | cuand_ce_ia_rt | longitude | Longitude | |
| srid | cuand_ce_ia_rt | srid | Stability Rule DRP | |
| unit | cuand_ce_ia_rt | unit | UoM | |
| device_type | cuand_ce_ia_rt | device_type | ||
| device_ft | cuand_ce_ia_rt | device_ft | ||
| sw_client | cuand_ce_ia_rt | sw_client | ||
| os | cuand_ce_ia_rt | os | ||
| priority | cuand_ce_ia_rt | priority | Workflow priority | |
| launch_url | cuand_ce_ia_rt | launch_url | ||
| launch_text | cuand_ce_ia_rt | launch_text | ||
| contact_key | cuand_ce_ia_rt | contact_key | NodeID | |
| root_ia_key | cuand_ce_ia_rt | root_ia_key | NodeID | |
| ia_date | cuand_ce_ia_rt | ia_date | ||
| node_type | cuand_ce_ia_rt | node_type | Type | |
| employee_id | cuand_ce_ia_rt | employee_id | Personnel No. | |
| team_id | cuand_ce_ia_rt | team_id | Team ID | |
| _dataaging | cuand_ce_ia_rt | _dataaging | Data Aging | |
| crea_uname | cuand_ce_ia_rt | crea_uname | User Name | |
| lchg_uname | cuand_ce_ia_rt | lchg_uname | User Name | |
| content_data | cuand_ce_ia_rt | content_data | ||
| utm_source | cuand_ce_ia_rt | utm_source | ||
| utm_medium | cuand_ce_ia_rt | utm_medium | ||
| utm_campaign | cuand_ce_ia_rt | utm_campaign | ||
| utm_term | cuand_ce_ia_rt | utm_term | ||
| utm_content | cuand_ce_ia_rt | utm_content | ||
| name_text | cuand_ce_ia_rt | name_text | Full Name | |
| name_first | cuand_ce_ia_rt | name_first | First Name | |
| name_last | cuand_ce_ia_rt | name_last | Last Name | |
| title | cuand_ce_ia_rt | title | View Title | |
| title_ft | cuand_ce_ia_rt | title_ft | ||
| COUNTRY_IA | cuand_ce_ia_rt | country | Venue: Ctry/Reg | |
| country_ft | cuand_ce_ia_rt | country_ft | ||
| region | cuand_ce_ia_rt | region | Venue Region | |
| region_ft | cuand_ce_ia_rt | region_ft | ||
| city1 | cuand_ce_ia_rt | city1 | City | |
| postcode1 | cuand_ce_ia_rt | postcode1 | Postal Code | |
| street | cuand_ce_ia_rt | street | Street Code | |
| house_num1 | cuand_ce_ia_rt | house_num1 | House Number | |
| language | cuand_ce_ia_rt | language | Report Text Language | |
| language_ft | cuand_ce_ia_rt | language_ft | ||
| sex | cuand_ce_ia_rt | sex | Sex-Specific | |
| sex_ft | cuand_ce_ia_rt | sex_ft | ||
| kunnr | cuand_ce_ia_rt | kunnr | Stock customer | |
| company_name | cuand_ce_ia_rt | company_name | Company | |
| brsch | cuand_ce_ia_rt | brsch | Industry | |
| brsch_ft | cuand_ce_ia_rt | brsch_ft | ||
| abtnr | cuand_ce_ia_rt | abtnr | Department | |
| abtnr_ft | cuand_ce_ia_rt | abtnr_ft | Department | |
| pafkt | cuand_ce_ia_rt | pafkt | Function | |
| pafkt_ft | cuand_ce_ia_rt | pafkt_ft | Function | |
| smtp_addr | cuand_ce_ia_rt | smtp_addr | E-Mail Address | |
| telnr_long | cuand_ce_ia_rt | telnr_long | Telephone no. | |
| telnr_mobile | cuand_ce_ia_rt | telnr_mobile | Telephone no. | |
| faxnr_long | cuand_ce_ia_rt | faxnr_long | Fax Number | |
| is_contact | cuand_ce_ia_rt | is_contact | ||
| is_consumer | cuand_ce_ia_rt | is_consumer | ||
| obsolete | cuand_ce_ia_rt | obsolete | TRUE | |
| web_uri | cuand_ce_ia_rt | web_uri | ||
| email_optin | cuand_ce_ia_rt | email_optin | ||
| phone_optin | cuand_ce_ia_rt | phone_optin | ||
| mobile_optin | cuand_ce_ia_rt | mobile_optin | ||
| fax_optin | cuand_ce_ia_rt | fax_optin | ||
| postal_optin | cuand_ce_ia_rt | postal_optin | ||
| image_uri | cuand_ce_ia_rt | image_uri | ||
| boolean1 | cuand_ce_ia_rt | boolean1 | ||
| boolean2 | cuand_ce_ia_rt | boolean2 | ||
| boolean3 | cuand_ce_ia_rt | boolean3 | ||
| boolean4 | cuand_ce_ia_rt | boolean4 | ||
| time1 | cuand_ce_ia_rt | time1 | Last changed at | |
| date1 | cuand_ce_ia_rt | date1 | Date 1 | |
| date2 | cuand_ce_ia_rt | date2 | Date 2 | |
| date3 | cuand_ce_ia_rt | date3 | ||
| number1 | cuand_ce_ia_rt | number1 | Number 1 | |
| number2 | cuand_ce_ia_rt | number2 | Number 2 | |
| number3 | cuand_ce_ia_rt | number3 | ||
| text20_1 | cuand_ce_ia_rt | text20_1 | ||
| text20_2 | cuand_ce_ia_rt | text20_2 | ||
| timestamp1 | cuand_ce_ia_rt | timestamp1 | Time Stamp | |
| timestamp2 | cuand_ce_ia_rt | timestamp2 | Time Stamp | |
| decimal1 | cuand_ce_ia_rt | decimal1 | ||
| decimal2 | cuand_ce_ia_rt | decimal2 | ||
| decimal3 | cuand_ce_ia_rt | decimal3 | ||
| text40_1 | cuand_ce_ia_rt | text40_1 | ||
| text40_2 | cuand_ce_ia_rt | text40_2 | ||
| text80_1 | cuand_ce_ia_rt | text80_1 | ||
| text80_2 | cuand_ce_ia_rt | text80_2 | ||
| text120_1 | cuand_ce_ia_rt | text120_1 | ||
| text120_2 | cuand_ce_ia_rt | text120_2 | ||
| text255_1 | cuand_ce_ia_rt | text255_1 | ||
| text255_2 | cuand_ce_ia_rt | text255_2 | ||
| COUNTRY | cuand_ce_ic_root | country | Venue: Ctry/Reg | |
| INI_NAME | cuan_d_ini_root | name | Zone name | |
| END_OF_PURPOSE | cuand_ce_ic_root | end_of_purpose | ||
| VALUATION_CHAR |
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.
-- 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_IAREAD
CREATE VIEW cuan_ia_read AS
SELECT
Interaction.db_key AS db_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.mkt_area_id AS mkt_area_id,
Interaction.campaign_id AS campaign_id,
Interaction.ini_version AS ini_version,
Interaction.loc_origin AS loc_origin,
Interaction.loc_id AS loc_id,
Interaction.digacc_id AS digacc_id,
Interaction.digacc_type AS digacc_type,
Interaction.comm_cat_id AS comm_cat_id,
Interaction.quantifier AS quantifier,
Interaction.valuation AS valuation,
Interaction.ia_status AS ia_status,
Interaction.ia_reason AS ia_reason,
Interaction.ia_language AS ia_language,
Interaction.is_anonymous AS is_anonymous,
Interaction.amount AS amount,
Interaction.currency AS currency,
Interaction.latitude AS latitude,
Interaction.longitude AS longitude,
Interaction.srid AS srid,
Interaction.unit AS unit,
Interaction.device_type AS device_type,
Interaction.device_ft AS device_ft,
Interaction.sw_client AS sw_client,
Interaction.os AS os,
Interaction.priority AS priority,
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.ia_date AS ia_date,
Interaction.node_type AS node_type,
Interaction.employee_id AS employee_id,
Interaction.team_id AS team_id,
Interaction._dataaging AS _dataaging,
Interaction.crea_uname AS crea_uname,
Interaction.lchg_uname AS lchg_uname,
Interaction.content_data AS content_data,
Interaction.utm_source AS utm_source,
Interaction.utm_medium AS utm_medium,
Interaction.utm_campaign AS utm_campaign,
Interaction.utm_term AS utm_term,
Interaction.utm_content AS utm_content,
Interaction.name_text AS name_text,
Interaction.name_first AS name_first,
Interaction.name_last AS name_last,
Interaction.title AS title,
Interaction.title_ft AS title_ft,
Interaction.country AS COUNTRY_IA,
Interaction.country_ft AS country_ft,
Interaction.region AS region,
Interaction.region_ft AS region_ft,
Interaction.city1 AS city1,
Interaction.postcode1 AS postcode1,
Interaction.street AS street,
Interaction.house_num1 AS house_num1,
Interaction.language AS language,
Interaction.language_ft AS language_ft,
Interaction.sex AS sex,
Interaction.sex_ft AS sex_ft,
Interaction.kunnr AS kunnr,
Interaction.company_name AS company_name,
Interaction.brsch AS brsch,
Interaction.brsch_ft AS brsch_ft,
Interaction.abtnr AS abtnr,
Interaction.abtnr_ft AS abtnr_ft,
Interaction.pafkt AS pafkt,
Interaction.pafkt_ft AS pafkt_ft,
Interaction.smtp_addr AS smtp_addr,
Interaction.telnr_long AS telnr_long,
Interaction.telnr_mobile AS telnr_mobile,
Interaction.faxnr_long AS faxnr_long,
Interaction.is_contact AS is_contact,
Interaction.is_consumer AS is_consumer,
Interaction.obsolete AS obsolete,
Interaction.web_uri AS web_uri,
Interaction.email_optin AS email_optin,
Interaction.phone_optin AS phone_optin,
Interaction.mobile_optin AS mobile_optin,
Interaction.fax_optin AS fax_optin,
Interaction.postal_optin AS postal_optin,
Interaction.image_uri AS image_uri,
Interaction.boolean1 AS boolean1,
Interaction.boolean2 AS boolean2,
Interaction.boolean3 AS boolean3,
Interaction.boolean4 AS boolean4,
Interaction.time1 AS time1,
Interaction.date1 AS date1,
Interaction.date2 AS date2,
Interaction.date3 AS date3,
Interaction.number1 AS number1,
Interaction.number2 AS number2,
Interaction.number3 AS number3,
Interaction.text20_1 AS text20_1,
Interaction.text20_2 AS text20_2,
Interaction.timestamp1 AS timestamp1,
Interaction.timestamp2 AS timestamp2,
Interaction.decimal1 AS decimal1,
Interaction.decimal2 AS decimal2,
Interaction.decimal3 AS decimal3,
Interaction.text40_1 AS text40_1,
Interaction.text40_2 AS text40_2,
Interaction.text80_1 AS text80_1,
Interaction.text80_2 AS text80_2,
Interaction.text120_1 AS text120_1,
Interaction.text120_2 AS text120_2,
Interaction.text255_1 AS text255_1,
Interaction.text255_2 AS text255_2,
_MKT_IC.country AS COUNTRY,
_MKT_CPG.name AS INI_NAME,
_MKT_IC.end_of_purpose AS END_OF_PURPOSE,
cast(Interaction.valuation as domvalue_l) AS VALUATION_CHAR
FROM cuand_ce_ia_rt AS Interaction
LEFT OUTER JOIN cuand_ce_ic_root AS _MKT_IC ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cuan_d_ini_root AS _MKT_CPG ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cuan_d_comcat_rt AS _MKT_CCAT ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN E_MKT_INTERACTION AS _InteractionExtension ON db_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