EITV_EXP_TEMPL_LATEST_VER_BASE

DDL: EITV_EXP_TEMPL_LATEST_VER_BASE SQL: EIT_V_EXP_VER_B Type: view

Latest Template Version Base View

EITV_EXP_TEMPL_LATEST_VER_BASE is a CDS View that provides data about "Latest Template Version Base View" in SAP S/4HANA. It reads from 1 data source (ATOV_COL_VER_KEY_LATEST) and exposes 3 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
ATOV_COL_VER_KEY_LATEST Collection_Version_Key from

Associations (1)

CardinalityTargetAliasCondition
[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

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName EIT_V_EXP_VER_B view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Latest Template Version Base View view

Fields (3)

KeyFieldSource TableSource FieldDescription
timestamp ATOV_COL_VER_KEY_LATEST timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
action Collection_Version_Detail action User action
status Collection_Version_Detail status Workflow 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_TEMPL_LATEST_VER_BASE.
-- 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_VER_B

CREATE VIEW EITV_EXP_TEMPL_LATEST_VER_BASE AS
SELECT
  Collection_Version_Key.timestamp AS timestamp,
  Collection_Version_Detail.action AS action,
  Collection_Version_Detail.status AS status
FROM ATOV_COL_VER_KEY_LATEST AS Collection_Version_Key
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]
;