ATOV_COL_VER_BASE
Collection Version Base View
ATOV_COL_VER_BASE is a CDS View that provides data about "Collection Version Base View" in SAP S/4HANA. It reads from 1 data source (ATOV_COL_VER_KEY) and exposes 3 fields. It has 3 associations to related views. Part of development package S_ATO_COL_CORE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ATOV_COL_VER_KEY | Collection_Version_Key | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | ato_col_versions | Collection_Version_Detail | Collection_Version_Detail.collection_id = Collection_Version_Key.collection_id and Collection_Version_Detail.version = Collection_Version_Key.collection_version and Collection_Version_Detail.timestamp = Collection_Version_Key.timestamp |
| [0..1] | ATOV_COL_ASSIGNED_MAX | Latest_Assignment | Latest_Assignment.collection_id = Collection_Version_Key.collection_id |
| [1] | ATOV_COL_VER_KEY_MAX | Latest_Collection_Version_Key | Latest_Collection_Version_Key.collection_id = Collection_Version_Key.collection_id |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATO_V_CV_B | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Collection Version Base View | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| timestamp | ATOV_COL_VER_KEY | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| status | Collection_Version_Detail | status | Workflow Status | |
| action | Collection_Version_Detail | action | User action |
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_BASE.
-- 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_CV_B
CREATE VIEW ATOV_COL_VER_BASE AS
SELECT
Collection_Version_Key.timestamp AS timestamp,
Collection_Version_Detail.status AS status,
Collection_Version_Detail.action AS action
FROM ATOV_COL_VER_KEY AS Collection_Version_Key
LEFT OUTER JOIN ato_col_versions AS Collection_Version_Detail ON Collection_Version_Detail.collection_id = Collection_Version_Key.collection_id AND Collection_Version_Detail.version = Collection_Version_Key.collection_version AND Collection_Version_Detail.timestamp = Collection_Version_Key.timestamp -- association [1]
LEFT OUTER JOIN ATOV_COL_ASSIGNED_MAX AS Latest_Assignment ON Latest_Assignment.collection_id = Collection_Version_Key.collection_id -- association [0..1]
LEFT OUTER JOIN ATOV_COL_VER_KEY_MAX AS Latest_Collection_Version_Key ON Latest_Collection_Version_Key.collection_id = Collection_Version_Key.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