EITV_EXP_TEMPL
UI View for Export Templates
EITV_EXP_TEMPL is a CDS View that provides data about "UI View for Export Templates" in SAP S/4HANA. It reads from 2 data sources (ato_cols, EITV_EXP_TEMPL_LATEST_VER) and exposes 16 fields with key field template_id. It has 11 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| ato_cols | Collection | from |
| EITV_EXP_TEMPL_LATEST_VER | Latest_Version | inner |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | ATOV_USER | Changed_By_Description | Changed_By_Description.name = $projection.last_changed_by |
| [1] | ATOV_USER | Created_By_Description | Created_By_Description.name = Collection.created_by |
| [*] | EITV_EXP_ACTION_STATUS_TEXT | Status_Texts | Status_Texts.code = status |
| [*] | ATOV_TEXT_ACTION | Action_Texts | Action_Texts.code = action |
| [*] | ATOV_TEXT_ACTION_STATUS | Action_Status_Texts | Action_Status_Texts.code = action_status |
| [*] | EITV_EXP_TEMPL_ITEMS | Items | Items.template_id = Collection.collection_id |
| [*] | EITV_EXP_ITEMS_ADD | Items_to_add | Items_to_add.template_id = Collection.collection_id |
| [0..1] | ATOV_LOG | Latest_Log | Latest_Log.collection_id = $projection.template_id and Latest_Log.collection_version = $projection.latest_version and Latest_Log.ballog_handle = $projection.latest_ballog_handle |
| [*] | ATOV_LOG | Log | Log.collection_id = $projection.template_id and Log.collection_version = $projection.latest_version 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.latest_version and Log_Counter.is_outdated = '' |
| [0..*] | EITV_EXP_FILES | Files | Files.template_id = Collection.collection_id |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | EIT_V_EXP_TEMPL | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | UI View for Export Templates | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | template_id | ato_cols | collection_id | Document No. |
| created_by | ato_cols | created_by | Version Created By | |
| created_at | ato_cols | created_at | Uploaded On | |
| status | EITV_EXP_TEMPL_LATEST_VER | status | Workflow Status | |
| action | EITV_EXP_TEMPL_LATEST_VER | action | User action | |
| _Items | Items | Single-Character Flag | ||
| _Changed_By_Description | Changed_By_Description | |||
| _Created_By_Description | Created_By_Description | |||
| _Status_Texts | Status_Texts | |||
| _Action_Status_Texts | Action_Status_Texts | |||
| _Action_Text | Action_Texts | |||
| _Items_to_add | Items_to_add | |||
| _Latest_Log | Latest_Log | |||
| _Log | Log | HU Log | ||
| _Log_Counter | Log_Counter | Counter for Object Overall Status | ||
| _Files | Files |
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_TEMPL.
-- 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_EXP_TEMPL
CREATE VIEW EITV_EXP_TEMPL AS
SELECT
Collection.collection_id AS template_id,
Collection.created_by AS created_by,
Collection.created_at AS created_at,
Latest_Version.status AS status,
Latest_Version.action AS action,
Items AS _Items,
Changed_By_Description AS _Changed_By_Description,
Created_By_Description AS _Created_By_Description,
Status_Texts AS _Status_Texts,
Action_Status_Texts AS _Action_Status_Texts,
Action_Texts AS _Action_Text,
Items_to_add AS _Items_to_add,
Latest_Log AS _Latest_Log,
Log AS _Log,
Log_Counter AS _Log_Counter,
Files AS _Files
FROM ato_cols AS Collection
INNER JOIN EITV_EXP_TEMPL_LATEST_VER AS Latest_Version ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ATOV_USER AS Changed_By_Description ON Changed_By_Description.name = last_changed_by -- association [1]
LEFT OUTER JOIN ATOV_USER AS Created_By_Description ON Created_By_Description.name = Collection.created_by -- association [1]
LEFT OUTER JOIN EITV_EXP_ACTION_STATUS_TEXT AS Status_Texts ON Status_Texts.code = status -- association [*]
LEFT OUTER JOIN ATOV_TEXT_ACTION AS Action_Texts ON Action_Texts.code = action -- association [*]
LEFT OUTER JOIN ATOV_TEXT_ACTION_STATUS AS Action_Status_Texts ON Action_Status_Texts.code = action_status -- association [*]
LEFT OUTER JOIN EITV_EXP_TEMPL_ITEMS AS Items ON Items.template_id = Collection.collection_id -- association [*]
LEFT OUTER JOIN EITV_EXP_ITEMS_ADD AS Items_to_add ON Items_to_add.template_id = Collection.collection_id -- association [*]
LEFT OUTER JOIN ATOV_LOG AS Latest_Log ON Latest_Log.collection_id = template_id AND Latest_Log.collection_version = latest_version AND Latest_Log.ballog_handle = latest_ballog_handle -- association [0..1]
LEFT OUTER JOIN ATOV_LOG AS Log ON Log.collection_id = template_id AND Log.collection_version = latest_version 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 = latest_version AND Log_Counter.is_outdated = '' -- association [1]
LEFT OUTER JOIN EITV_EXP_FILES AS Files ON Files.template_id = Collection.collection_id -- association [0..*]
;
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