CUAN_IA_READ_COMMERCE_UI
Read IA Buying History for UI
CUAN_IA_READ_COMMERCE_UI is a CDS View that provides data about "Read IA Buying History for UI" in SAP S/4HANA. It reads from 1 data source (CUAN_IA_READ_UI) and exposes 16 fields with key fields ia_prod_key, IA_KEY. It has 6 associations to related views. Part of development package CUAN_CDS_CONTACT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| CUAN_IA_READ_UI | CUAN_IA_READ_UI | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | tcurt | _InteractionTargetCurrencyT | $projection.currency = _InteractionTargetCurrencyT.waers and _InteractionTargetCurrencyT.spras = $session.system_language |
| [0..1] | tcurt | _InteractionOriginalCurrencyT | $projection.original_currency = _InteractionOriginalCurrencyT.waers and _InteractionOriginalCurrencyT.spras = $session.system_language |
| [0..1] | t006a | _InteractionProductUoM | $projection.unit_of_measure_int = _InteractionProductUoM.msehi and _InteractionProductUoM.spras = $session.system_language |
| [0..1] | dd07t | _InteractionStatus | $projection.ia_status = _InteractionStatus.domvalue_l and _InteractionStatus.ddlanguage = $session.system_language and _InteractionStatus.domname = 'CUAN_CE_IA_STATUS' and _InteractionStatus.as4local = 'A' |
| [0..1] | cuand_prod_root | _ProductRoot | $projection.product_key = _ProductRoot.db_key |
| [0..1] | cuand_prod_desc | _ProductDesc | $projection.product_key = _ProductDesc.parent_key and _ProductDesc.langu = $session.system_language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CUANIAREADCMRC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Read IA Buying History for UI | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ia_prod_key | ia_prod_key | UUID | |
| KEY | IA_KEY | IA_KEY | UUID | |
| contact_key | contact_key | NodeID | ||
| ia_reason | ia_reason | |||
| IA_REASON_T | IA_REASON_T | |||
| ia_status | ia_status | |||
| product_id | object_id | Transaction ID | ||
| product_key | product_key | |||
| quantity | quantity | Value | ||
| timestamp | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | ||
| ADD_CONTACT_KEY | ADD_CONTACT_KEY | NodeID | ||
| currency | target_currency | Transaction Currency | ||
| COUNTRY | COUNTRY | Venue: Ctry/Reg | ||
| mkt_area_id | mkt_area_id | |||
| product_desc | _ProductDesc | description | Well Code Des. | |
| product_name | _ProductDesc | name | Zone name |
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_COMMERCE_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.
-- SQL view name: CUANIAREADCMRC
CREATE VIEW CUAN_IA_READ_COMMERCE_UI AS
SELECT
ia_prod_key,
IA_KEY,
contact_key,
ia_reason,
IA_REASON_T,
ia_status,
object_id AS product_id,
product_key,
quantity,
timestamp,
ADD_CONTACT_KEY,
target_currency AS currency,
COUNTRY,
mkt_area_id,
_ProductDesc.description AS product_desc,
_ProductDesc.name AS product_name
FROM CUAN_IA_READ_UI
LEFT OUTER JOIN tcurt AS _InteractionTargetCurrencyT ON currency = _InteractionTargetCurrencyT.waers AND _InteractionTargetCurrencyT.spras = $session.system_language -- association [0..1]
LEFT OUTER JOIN tcurt AS _InteractionOriginalCurrencyT ON original_currency = _InteractionOriginalCurrencyT.waers AND _InteractionOriginalCurrencyT.spras = $session.system_language -- association [0..1]
LEFT OUTER JOIN t006a AS _InteractionProductUoM ON unit_of_measure_int = _InteractionProductUoM.msehi AND _InteractionProductUoM.spras = $session.system_language -- association [0..1]
LEFT OUTER JOIN dd07t AS _InteractionStatus ON ia_status = _InteractionStatus.domvalue_l AND _InteractionStatus.ddlanguage = $session.system_language AND _InteractionStatus.domname = 'CUAN_CE_IA_STATUS' AND _InteractionStatus.as4local = 'A' -- association [0..1]
LEFT OUTER JOIN cuand_prod_root AS _ProductRoot ON product_key = _ProductRoot.db_key -- association [0..1]
LEFT OUTER JOIN cuand_prod_desc AS _ProductDesc ON product_key = _ProductDesc.parent_key AND _ProductDesc.langu = $session.system_language -- association [0..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