ATOV_EXPORT_LOG
Export Log
ATOV_EXPORT_LOG is a CDS View that provides data about "Export Log" in SAP S/4HANA. It reads from 1 data source (ato_col_versions) and exposes 6 fields. It has 3 associations to related views. Part of development package S_ATO_COL_CORE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ato_col_versions | Log | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [*] | ATOV_TEXT_ACTION | Action_Texts | Action_Texts.code = Log.action |
| [*] | ATOV_TEXT_ACTION_STATUS | Action_Status_Texts | Action_Status_Texts.code = action_status |
| [1] | ATOV_USER | Changed_By_Description | Changed_By_Description.name = Log.last_changed_by |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ATO_V_EL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Export Log | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| timestamp | ato_col_versions | timestamp | ||
| action | ato_col_versions | action | ||
| changed_by | ato_col_versions | last_changed_by | ||
| changed_at | ato_col_versions | last_changed_at | ||
| Action_Texts | Action_Texts | |||
| Action_Status_Texts | Action_Status_Texts |
@AbapCatalog.sqlViewName: 'ATO_V_EL'
@ClientHandling:{ type: #INHERITED, algorithm: #SESSION_VARIABLE }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Export Log'
define view ATOV_EXPORT_LOG
as select from ato_col_versions as Log
association [*] to ATOV_TEXT_ACTION as Action_Texts on Action_Texts.code = Log.action
association [*] to ATOV_TEXT_ACTION_STATUS as Action_Status_Texts on Action_Status_Texts.code = action_status
association [1] to ATOV_USER as Changed_By_Description on Changed_By_Description.name = Log.last_changed_by
{
key Log.collection_id,
key Log.version as collection_version,
Log.ballog_handle,
Log.timestamp, // = 0 -> Gateway uses changed_by as timestamp.
Log.action,
Log.action_variant,
case
when Log.action_status = 'P'
then 'R'
else Log.action_status
end as action_status,
Log.action_duration,
Log.last_changed_by as changed_by,
coalesce( Changed_By_Description.description, Log.last_changed_by ) as changed_by_description,
Log.last_changed_at as changed_at,
/* Associations */
Action_Texts,
Action_Status_Texts
}
where
Log.ballog_handle <> ''
and Log.timestamp = 0
and(
Log.action = #ato_collection_action.'A'
or Log.action = #ato_collection_action.'C'
)
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