atov_cmn_col_ver_imp_his_base
Base view for col version import history
atov_cmn_col_ver_imp_his_base is a CDS View that provides data about "Base view for col version import history" in SAP S/4HANA. It reads from 3 data sources (atov_collection_type_import, ato_col_versions, ato_cmn_imp) and exposes 4 fields with key fields version, timestamp. It has 6 associations to related views. Part of development package S_ATO_COMMON_IMPORT.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| atov_collection_type_import | collection_type | inner |
| ato_col_versions | history | from |
| ato_cmn_imp | resource | inner |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | ato_cols | col | col.collection_id = history.collection_id |
| [1] | ATOV_COLLECTION_TYPE | collection_type_desc | collection_type_desc.code = $projection.collection_type |
| [0..1] | ato_col_v_status | col_current_status | col_current_status.collection_id = history.collection_id and col_current_status.version = history.version and col_current_status.status_schema = 'I' |
| [*] | atov_text_collection_status | status_after_import_descripton | status_after_import_descripton.code = $projection.status_after_import |
| [*] | atov_text_collection_status | current_status_description | current_status_description.code = $projection.current_status |
| [0..1] | ATOV_TEXT_IMPORT_CHANNEL | import_channel_description | import_channel_description.code = resource.import_channel |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Base view for col version import history | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | version | ato_col_versions | version | XML Vers. |
| KEY | timestamp | ato_col_versions | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) |
| resource_id | ato_col_versions | resource_id | UUID Internal | |
| imported_at | ato_cmn_imp | last_changed_at | Timestamp |
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_cmn_col_ver_imp_his_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.
CREATE VIEW atov_cmn_col_ver_imp_his_base AS
SELECT
history.version AS version,
history.timestamp AS timestamp,
history.resource_id AS resource_id,
resource.last_changed_at AS imported_at
FROM ato_col_versions AS history
INNER JOIN ato_cmn_imp AS resource ON /* join condition not captured in parsed metadata */
INNER JOIN atov_collection_type_import AS collection_type ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ato_cols AS col ON col.collection_id = history.collection_id -- association [1]
LEFT OUTER JOIN ATOV_COLLECTION_TYPE AS collection_type_desc ON collection_type_desc.code = collection_type -- association [1]
LEFT OUTER JOIN ato_col_v_status AS col_current_status ON col_current_status.collection_id = history.collection_id AND col_current_status.version = history.version AND col_current_status.status_schema = 'I' -- association [0..1]
LEFT OUTER JOIN atov_text_collection_status AS status_after_import_descripton ON status_after_import_descripton.code = status_after_import -- association [*]
LEFT OUTER JOIN atov_text_collection_status AS current_status_description ON current_status_description.code = current_status -- association [*]
LEFT OUTER JOIN ATOV_TEXT_IMPORT_CHANNEL AS import_channel_description ON import_channel_description.code = resource.import_channel -- 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