atov_apj_cust_trans
Custom transports for ATO audit app
atov_apj_cust_trans is a CDS View that provides data about "Custom transports for ATO audit app" in SAP S/4HANA. It reads from 5 data sources (ATOV_USER, atov_changelist_minus_ignored, ato_col_versions, ato_cols, atov_apj_import_timeframe) and exposes 9 fields.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| ATOV_USER | changed_by_description | left_outer |
| atov_changelist_minus_ignored | changelists | inner |
| ato_col_versions | col_versions | inner |
| ato_cols | cols | inner |
| atov_apj_import_timeframe | import_timeframe | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATO_V_CU_TR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| EndUserText.label | Custom transports for ATO audit app | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| version | ato_col_versions | version | ||
| resource_id | ato_col_versions | resource_id | ||
| action | ato_col_versions | action | ||
| timestamp | ato_col_versions | timestamp | ||
| transport | atov_changelist_minus_ignored | transport | ||
| category | ato_cols | category | ||
| latest_start | atov_apj_import_timeframe | latest_start | ||
| earliest_end | atov_apj_import_timeframe | earliest_end | ||
| latest_end | atov_apj_import_timeframe | latest_end |
@AbapCatalog.sqlViewName: 'ATO_V_CU_TR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@EndUserText.label: 'Custom transports for ATO audit app'
define view atov_apj_cust_trans
as select from atov_apj_import_timeframe as import_timeframe
// Use last import attempt for administrative data (last_changed_at, last_changed_by).
inner join ato_col_versions as col_versions on col_versions.collection_id = import_timeframe.collection_id
and col_versions.version = import_timeframe.version
and col_versions.action = import_timeframe.action
and col_versions.timestamp = import_timeframe.latest_start
inner join ato_cols as cols on cols.collection_id = col_versions.collection_id
inner join atov_changelist_minus_ignored as changelists on col_versions.collection_id = changelists.collection_id
and col_versions.version = changelists.collection_version
left outer join ATOV_USER as changed_by_description on changed_by_description.name = col_versions.last_changed_by
{
key col_versions.collection_id,
col_versions.version,
col_versions.resource_id,
cols.description_text,
col_versions.action,
// Use last import attempt for administrative data (last_changed_at, last_changed_by) based on DB ato_col_versions
col_versions.timestamp,
col_versions.last_changed_at,
col_versions.last_changed_by,
changelists.transport,
cols.category,
coalesce( changed_by_description.description, col_versions.last_changed_by ) as last_changed_by_description,
// Additional time window information about all import attempts based on DB ato_col_versions
import_timeframe.earliest_start,
import_timeframe.latest_start,
import_timeframe.earliest_end,
import_timeframe.latest_end
}
where
cols.client = $session.client
and(
cols.collection_type = 'B' // changelist might not have the type for Plug-In Imports
or cols.collection_type = 'C' // changelist might not have the type for Plug-In Imports
)
and changelists.transport is not initial
and(
changelists.status = 'PI'
or changelists.status = 'ID'
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"ATOV_APJ_IMPORT_TIMEFRAME",
"ATOV_CHANGELIST_MINUS_IGNORED",
"ATOV_USER",
"ATO_COLS",
"ATO_COL_VERSIONS",
"T000"
],
"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