EITV_EXP_TEMPL_ITEMS

DDL: EITV_EXP_TEMPL_ITEMS SQL: EIT_V_EXP_ITEM Type: view

Items in Export Template

EITV_EXP_TEMPL_ITEMS is a CDS View that provides data about "Items in Export Template" in SAP S/4HANA. It reads from 1 data source (EITV_EXP_ITEM_CHANGE_STATUS) and exposes 10 fields with key fields template_id, item_type, item_id. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
EITV_EXP_ITEM_CHANGE_STATUS items from

Associations (4)

CardinalityTargetAliasCondition
[*] ATOV_TEXT_ADAPTATION_TYPE Adaptation_Type_Texts Adaptation_Type_Texts.code = items.item_type
[1] ATOV_USER Changed_By_Description Changed_By_Description.name = items.changed_by
[1] ATOV_ADAPTATION_TYPE Adaptation_Type Adaptation_Type.code = items.item_type
[1] ATOV_TEXT_COL_ITEM_STATUS Status_Text Status_Text.code = items.status

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName EIT_V_EXP_ITEM view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Items in Export Template view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY template_id EITV_EXP_ITEM_CHANGE_STATUS template_id Template LinkID
KEY item_type EITV_EXP_ITEM_CHANGE_STATUS item_type Type
KEY item_id EITV_EXP_ITEM_CHANGE_STATUS item_id Simulation Item ID
changed_by EITV_EXP_ITEM_CHANGE_STATUS changed_by User Name
changed_at EITV_EXP_ITEM_CHANGE_STATUS changed_at Timestamp
status EITV_EXP_ITEM_CHANGE_STATUS status Workflow Status
_Adaptation_Type_Texts Adaptation_Type_Texts
_Adaptation_Type Adaptation_Type Item Type
_Changed_By_Description Changed_By_Description
_Status_Text Status_Text Status Text

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_ITEMS.
-- 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_ITEM

CREATE VIEW EITV_EXP_TEMPL_ITEMS AS
SELECT
  items.template_id AS template_id,
  items.item_type AS item_type,
  items.item_id AS item_id,
  items.changed_by AS changed_by,
  items.changed_at AS changed_at,
  items.status AS status,
  Adaptation_Type_Texts AS _Adaptation_Type_Texts,
  Adaptation_Type AS _Adaptation_Type,
  Changed_By_Description AS _Changed_By_Description,
  Status_Text AS _Status_Text
FROM EITV_EXP_ITEM_CHANGE_STATUS AS items
LEFT OUTER JOIN ATOV_TEXT_ADAPTATION_TYPE AS Adaptation_Type_Texts ON Adaptation_Type_Texts.code = items.item_type  -- association [*]
LEFT OUTER JOIN ATOV_USER AS Changed_By_Description ON Changed_By_Description.name = items.changed_by  -- association [1]
LEFT OUTER JOIN ATOV_ADAPTATION_TYPE AS Adaptation_Type ON Adaptation_Type.code = items.item_type  -- association [1]
LEFT OUTER JOIN ATOV_TEXT_COL_ITEM_STATUS AS Status_Text ON Status_Text.code = items.status  -- association [1]
;