ATOV_COL_VER_IMP_VER_KEY
Collection Version Import Version Keys
ATOV_COL_VER_IMP_VER_KEY is a CDS View that provides data about "Collection Version Import Version Keys" in SAP S/4HANA. It reads from 1 data source (ato_cols). Part of development package S_ATO_COL_CORE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ato_cols | Collection | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATO_V_CV_IMPVK | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Collection Version Import Version Keys | view |
@AbapCatalog.sqlViewName: 'ATO_V_CV_IMPVK'
@ClientHandling:{ type: #INHERITED, algorithm: #SESSION_VARIABLE }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Collection Version Import Version Keys'
// depending on the use case ATOV_COL_VER_IMP_KEY might be better. In ATOV_COL_VER_IMP_KEY the latest Staus + Timestamp is included
define view ATOV_COL_VER_IMP_VER_KEY
as select distinct from ato_col_versions as Collection_Version
inner join ato_cols as Collection on Collection.collection_id = Collection_Version.collection_id
{
key Collection_Version.collection_id,
key Collection_Version.version as collection_version
}
where
(
Collection_Version.status = 'I' // I:Imported
or Collection_Version.status = 'R' // R:Ready for Import => this might not be timestam = 0
// all imported Collections should at least have a Ready for Import or an Imported enty
)
and Collection.status <> 'H' // Hidden
and Collection.category <> 'T'
and Collection.client = $session.client //Filter Collections by client
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