atov_cmn_import_prev_item_ver
EXT Deps Due to Prev Item Version
atov_cmn_import_prev_item_ver is a CDS View that provides data about "EXT Deps Due to Prev Item Version" in SAP S/4HANA. It reads from 4 data sources (atov_changelist_minus_ignored, ato_changel_item, atov_changelist_minus_ignored, ato_changel_item) and exposes 1 field.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| atov_changelist_minus_ignored | changelist | inner |
| ato_changel_item | changelist_item | from |
| atov_changelist_minus_ignored | prev_changelist | inner |
| ato_changel_item | prev_changelist_item | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATO_V_CDPIV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| EndUserText.label | EXT Deps Due to Prev Item Version | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| version | atov_changelist_minus_ignored | collection_version |
@AbapCatalog.sqlViewName: 'ATO_V_CDPIV'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@EndUserText.label: 'EXT Deps Due to Prev Item Version'
define view atov_cmn_import_prev_item_ver
// Extensibility Dependencies to Previous Item Versions
as select from ato_changel_item as changelist_item
inner join atov_changelist_minus_ignored as changelist on changelist_item.changelist_id = changelist.changelist_id
inner join ato_changel_item as prev_changelist_item on changelist_item.item_type = prev_changelist_item.item_type
and changelist_item.item_id = prev_changelist_item.item_id
inner join atov_changelist_minus_ignored as prev_changelist on prev_changelist_item.changelist_id = prev_changelist.changelist_id
and changelist.collection_id <> prev_changelist.collection_id // Previous versions are included automatically
and changelist.exported_at > prev_changelist.exported_at // Do not add dependency to newer transports
{
changelist.collection_id as collection_id,
changelist.collection_version as version,
prev_changelist.collection_id as depending_on_collection_id,
max( prev_changelist.collection_version ) as depending_on_version
}
where changelist.collection_type = #ATO_COLLECTION_TYPE.'E' and // Extensibility
prev_changelist.collection_type = #ATO_COLLECTION_TYPE.'E'
group by
changelist.collection_id,
changelist.collection_version,
prev_changelist.collection_id
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ATOV_CHANGELIST_MINUS_IGNORED",
"ATO_CHANGEL_ITEM"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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