EITV_EXP_FILES
Template Export Files
EITV_EXP_FILES is a CDS View that provides data about "Template Export Files" in SAP S/4HANA. It reads from 2 data sources (ATOV_COL_VER_KEY, eit_exp_file) and exposes 11 fields with key fields template_id, file_number. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| ATOV_COL_VER_KEY | Collection_Version_Key | from |
| eit_exp_file | file | inner |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | ato_col_versions | Collection_Version_Detail | Collection_Version_Detail.collection_id = Collection_Version_Key.collection_id and Collection_Version_Detail.version = Collection_Version_Key.collection_version and Collection_Version_Detail.timestamp = Collection_Version_Key.timestamp |
| [1] | ATOV_USER | Created_By_Description | Created_By_Description.name = $projection.created_by |
| [*] | EITV_EXP_FILES_ITEM | Items | Collection_Version_Key.collection_id = Items.template_id and Collection_Version_Key.collection_version = Items.file_number |
| [0..1] | ATOV_LOG | Latest_Log | Latest_Log.collection_id = $projection.template_id and Latest_Log.collection_version = $projection.file_number and Latest_Log.ballog_handle = $projection.ballog_handle |
| [*] | ATOV_LOG | Log | Log.collection_id = $projection.template_id and Log.collection_version = $projection.file_number and Log.is_outdated = '' |
| [1] | ATOV_COL_VER_COUNT_LOGS | Log_Counter | Log_Counter.collection_id = $projection.template_id and Log_Counter.collection_version = $projection.file_number and Log_Counter.is_outdated = '' |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | EIT_V_FILES | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Template Export Files | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | template_id | ATOV_COL_VER_KEY | collection_id | Document No. |
| KEY | file_number | ATOV_COL_VER_KEY | collection_version | Collection Version |
| timestamp | ATOV_COL_VER_KEY | timestamp | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| created_by | Collection_Version_Detail | last_changed_by | Username | |
| created_at | Collection_Version_Detail | last_changed_at | Timestamp | |
| file_name | eit_exp_file | file_name | Uploaded File Name | |
| _Created_By_Description | Created_By_Description | |||
| _Items | Items | Single-Character Flag | ||
| _Latest_Log | Latest_Log | |||
| _Log | Log | HU Log | ||
| _Log_Counter | Log_Counter | Counter for Object Overall Status |
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 EITV_EXP_FILES.
-- 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.
-- SQL view name: EIT_V_FILES
CREATE VIEW EITV_EXP_FILES AS
SELECT
Collection_Version_Key.collection_id AS template_id,
Collection_Version_Key.collection_version AS file_number,
Collection_Version_Key.timestamp AS timestamp,
Collection_Version_Detail.last_changed_by AS created_by,
Collection_Version_Detail.last_changed_at AS created_at,
file.file_name AS file_name,
Created_By_Description AS _Created_By_Description,
Items AS _Items,
Latest_Log AS _Latest_Log,
Log AS _Log,
Log_Counter AS _Log_Counter
FROM ATOV_COL_VER_KEY AS Collection_Version_Key
INNER JOIN eit_exp_file AS file ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ato_col_versions AS Collection_Version_Detail ON Collection_Version_Detail.collection_id = Collection_Version_Key.collection_id AND Collection_Version_Detail.version = Collection_Version_Key.collection_version AND Collection_Version_Detail.timestamp = Collection_Version_Key.timestamp -- association [1]
LEFT OUTER JOIN ATOV_USER AS Created_By_Description ON Created_By_Description.name = created_by -- association [1]
LEFT OUTER JOIN EITV_EXP_FILES_ITEM AS Items ON Collection_Version_Key.collection_id = Items.template_id AND Collection_Version_Key.collection_version = Items.file_number -- association [*]
LEFT OUTER JOIN ATOV_LOG AS Latest_Log ON Latest_Log.collection_id = template_id AND Latest_Log.collection_version = file_number AND Latest_Log.ballog_handle = ballog_handle -- association [0..1]
LEFT OUTER JOIN ATOV_LOG AS Log ON Log.collection_id = template_id AND Log.collection_version = file_number AND Log.is_outdated = '' -- association [*]
LEFT OUTER JOIN ATOV_COL_VER_COUNT_LOGS AS Log_Counter ON Log_Counter.collection_id = template_id AND Log_Counter.collection_version = file_number AND Log_Counter.is_outdated = '' -- association [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