ATOV_ITEM
Item
ATOV_ITEM is a CDS View that provides data about "Item" in SAP S/4HANA. It reads from 1 data source (ato_items) and exposes 7 fields with key fields item_type, item_id. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ato_items | Current_Item_Version | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [*] | ATOV_TEXT_ADAPTATION_TYPE | Adaptation_Type_Texts | Adaptation_Type_Texts.code = Current_Item_Version.item_type |
| [*] | ATOV_ITEM_VER | Item_Versions | Item_Versions.item_type = Current_Item_Version.item_type and Item_Versions.item_id = Current_Item_Version.item_id |
| [1] | ATOV_ITEM_VER | Latest_Item_Version | Latest_Item_Version.item_type = Current_Item_Version.item_type and Latest_Item_Version.item_id = Current_Item_Version.item_id and Latest_Item_Version.is_latest_version = 'X' |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATO_V_I | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Item | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | item_type | ato_items | item_type | Type |
| KEY | item_id | ato_items | item_id | Simulation Item ID |
| item_status | ato_items | item_status | Transfer Status | |
| changed_at | ato_items | last_notification | Time Stamp | |
| Item_Versions | Item_Versions | |||
| Latest_Item_Version | Latest_Item_Version | |||
| Adaptation_Type_Texts | Adaptation_Type_Texts |
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_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_I
CREATE VIEW ATOV_ITEM AS
SELECT
Current_Item_Version.item_type AS item_type,
Current_Item_Version.item_id AS item_id,
Current_Item_Version.item_status AS item_status,
Current_Item_Version.last_notification AS changed_at,
Item_Versions,
Latest_Item_Version,
Adaptation_Type_Texts
FROM ato_items AS Current_Item_Version
LEFT OUTER JOIN ATOV_TEXT_ADAPTATION_TYPE AS Adaptation_Type_Texts ON Adaptation_Type_Texts.code = Current_Item_Version.item_type -- association [*]
LEFT OUTER JOIN ATOV_ITEM_VER AS Item_Versions ON Item_Versions.item_type = Current_Item_Version.item_type AND Item_Versions.item_id = Current_Item_Version.item_id -- association [*]
LEFT OUTER JOIN ATOV_ITEM_VER AS Latest_Item_Version ON Latest_Item_Version.item_type = Current_Item_Version.item_type AND Latest_Item_Version.item_id = Current_Item_Version.item_id AND Latest_Item_Version.is_latest_version = 'X' -- 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