ATOV_COL_VER_EXP_XC_ITEM
Collection version xc items for Export
ATOV_COL_VER_EXP_XC_ITEM is a CDS View that provides data about "Collection version xc items for Export" in SAP S/4HANA. It reads from 1 data source (ATOV_COL_XC_ITEM_BASE_LATEST) and exposes 20 fields with key fields item_type, item_id, item_type, item_id. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ATOV_COL_XC_ITEM_BASE_LATEST | Collection_Version_Item | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | ATOV_TEXT_ADAPTATION_TYPE | Adaptation_Type_Texts | Adaptation_Type_Texts.code = Collection_Version_Item.item_type and Adaptation_Type_Texts.language = $session.system_language |
| [1] | ATOV_TEXT_COL_ITEM_STATUS | Col_Item_Status_Texts | Col_Item_Status_Texts.code = Collection_Version_Item.collection_item_status and Col_Item_Status_Texts.language = $session.system_language |
| [1] | ATOV_USER | Changed_By_Description | Changed_By_Description.name = Collection_Version_Item.last_notification_by |
| [1] | ATOV_ADAPTATION_TYPE | Adaptation_Type | Adaptation_Type.code = Collection_Version_Item.item_type |
| [1] | ato_cols | Collection | Collection.collection_id = Collection_Version_Item.collection_id |
| [1] | ato_cols | SourceCollection | SourceCollection.collection_id = Collection_Version_Item.source_collection_id |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATO_V_XC_CVEI | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Collection version xc items for Export | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | item_type | ATOV_COL_XC_ITEM_BASE_LATEST | item_type | Type |
| KEY | item_id | ATOV_COL_XC_ITEM_BASE_LATEST | item_id | Simulation Item ID |
| timestamp | ATOV_COL_XC_ITEM_BASE_LATEST | last_notification | Time Stamp | |
| item_status | ATOV_COL_XC_ITEM_BASE_LATEST | collection_item_status | state | |
| changed_at | ATOV_COL_XC_ITEM_BASE_LATEST | last_notification | Time Stamp | |
| changed_by | ATOV_COL_XC_ITEM_BASE_LATEST | last_notification_by | Last Changed By | |
| Adaptation_Type_Texts | Adaptation_Type_Texts | |||
| Adaptation_Type | Adaptation_Type | Item Type | ||
| Col_Item_Status_Texts | Col_Item_Status_Texts | |||
| Changed_By_Description | Changed_By_Description | |||
| KEY | item_type | ATOV_COL_XC_ITEM_BASE_LATEST | item_type | Type |
| KEY | item_id | ATOV_COL_XC_ITEM_BASE_LATEST | item_id | Simulation Item ID |
| timestamp | ATOV_COL_XC_ITEM_BASE_LATEST | exported_at | Time Stamp | |
| changed_at | ATOV_COL_XC_ITEM_BASE_LATEST | item_last_notification | Time Stamp | |
| changed_by | Last Changed By | |||
| Adaptation_Type_Texts | Adaptation_Type_Texts | |||
| Adaptation_Type | Adaptation_Type | Item Type | ||
| Col_Item_Status_Texts | Col_Item_Status_Texts | |||
| Changed_By_Description | Changed_By_Description | |||
| is_exported |
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 ATOV_COL_VER_EXP_XC_ITEM.
-- 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: ATO_V_XC_CVEI
CREATE VIEW ATOV_COL_VER_EXP_XC_ITEM AS
SELECT
Collection_Version_Item.item_type AS item_type,
Collection_Version_Item.item_id AS item_id,
Collection_Version_Item.last_notification AS timestamp,
Collection_Version_Item.collection_item_status AS item_status,
Collection_Version_Item.last_notification AS changed_at,
Collection_Version_Item.last_notification_by AS changed_by,
Adaptation_Type_Texts,
Adaptation_Type,
Col_Item_Status_Texts,
Changed_By_Description,
#ABAP_BOOLEAN.'X' AS is_exported
FROM ATOV_COL_XC_ITEM_BASE_LATEST AS Collection_Version_Item
LEFT OUTER JOIN ATOV_TEXT_ADAPTATION_TYPE AS Adaptation_Type_Texts ON Adaptation_Type_Texts.code = Collection_Version_Item.item_type AND Adaptation_Type_Texts.language = $session.system_language -- association [0..1]
LEFT OUTER JOIN ATOV_TEXT_COL_ITEM_STATUS AS Col_Item_Status_Texts ON Col_Item_Status_Texts.code = Collection_Version_Item.collection_item_status AND Col_Item_Status_Texts.language = $session.system_language -- association [1]
LEFT OUTER JOIN ATOV_USER AS Changed_By_Description ON Changed_By_Description.name = Collection_Version_Item.last_notification_by -- association [1]
LEFT OUTER JOIN ATOV_ADAPTATION_TYPE AS Adaptation_Type ON Adaptation_Type.code = Collection_Version_Item.item_type -- association [1]
LEFT OUTER JOIN ato_cols AS Collection ON Collection.collection_id = Collection_Version_Item.collection_id -- association [1]
LEFT OUTER JOIN ato_cols AS SourceCollection ON SourceCollection.collection_id = Collection_Version_Item.source_collection_id -- association [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