Atov_Latest_Imported_Items

DDL: ATOV_LATEST_IMPORTED_ITEMS SQL: ATO_V_L_IMP_I Type: view Package: S_ATO_EXT_INVENTORY

Latest Imported Items for ATO Inventory

Atov_Latest_Imported_Items is a CDS View that provides data about "Latest Imported Items for ATO Inventory" in SAP S/4HANA. It reads from 3 data sources (ATOV_LATEST_IMP_ITEM_CL, Atov_Latest_Imported_Item_Key, ato_col_versions) and exposes 3 fields with key fields item_type, item_id. Part of development package S_ATO_EXT_INVENTORY.

Data Sources (3)

SourceAliasJoin Type
ATOV_LATEST_IMP_ITEM_CL Changelist_Item_Key from
Atov_Latest_Imported_Item_Key Col_ver_helper inner
ato_col_versions Collection_Version inner

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName ATO_V_L_IMP_I view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Latest Imported Items for ATO Inventory view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY item_type ATOV_LATEST_IMP_ITEM_CL item_type Type
KEY item_id ATOV_LATEST_IMP_ITEM_CL item_id Simulation Item ID
status ato_col_versions import_status 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 Atov_Latest_Imported_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: ATO_V_L_IMP_I

CREATE VIEW Atov_Latest_Imported_Items AS
SELECT
  Changelist_Item_Key.item_type AS item_type,
  Changelist_Item_Key.item_id AS item_id,
  Collection_Version.import_status AS status
FROM ATOV_LATEST_IMP_ITEM_CL AS Changelist_Item_Key
INNER JOIN Atov_Latest_Imported_Item_Key AS Col_ver_helper ON /* join condition not captured in parsed metadata */
INNER JOIN ato_col_versions AS Collection_Version ON /* join condition not captured in parsed metadata */
;