ATOV_U_ITEM_BASE

DDL: ATOV_U_ITEM_BASE SQL: ATO_V_U_IB Type: view

All items / base view

ATOV_U_ITEM_BASE is a CDS View that provides data about "All items / base view" in SAP S/4HANA. It reads from 11 data sources and exposes 18 fields with key fields item_type, item_id, item_id, item_id. It has 2 associations to related views.

Data Sources (11)

SourceAliasJoin Type
ATOV_ITEM_VER_MAX ColItem from
ATOV_COL_ITEMS_LATEST_COL latest_collection left_outer
ato_xc_item Multiclient_Item union_all
ato_pk_items PkItem union_all
Atov_Pk_Item_Transport PkItemTransport inner
ato_pk_package RegisteredPackage left_outer
ato_setup Setup inner
ato_setup Setup inner
ato_setup Setup inner
tadir Tadir left_outer
ato_tadir_map TadirMap left_outer

Associations (2)

CardinalityTargetAliasCondition
[0..1] ato_cols Collection Collection.collection_id = latest_collection.collection_id
[0..1] ATOV_ITEM_PREFIX_SETTINGS PrefixAndSettings PrefixAndSettings.item_type = ColItem.item_type and PrefixAndSettings.item_id = ColItem.item_id

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName ATO_V_U_IB view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label All items / base view view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY item_type ATOV_ITEM_VER_MAX item_type Type
KEY item_id ATOV_ITEM_VER_MAX item_id Simulation Item ID
changed_at ATOV_ITEM_VER_MAX changed_at Time Stamp
changed_by ATOV_ITEM_VER_MAX changed_by Last Changed By
package_name Collection devclass Package
prefix SerialNo.Prefix
item_type Type
KEY item_id ato_pk_items item_id Simulation Item ID
changed_at ato_pk_items last_notification Time Stamp
changed_by ato_pk_items changed_by Last Changed By
package_name Atov_Pk_Item_Transport package_name Package
prefix ato_pk_items prefix SerialNo.Prefix
KEY item_id ato_xc_item item_id Simulation Item ID
changed_at ato_xc_item last_notification Time Stamp
changed_by ato_xc_item last_notification_by Last Changed By
package_name ato_setup local_package Package
prefix ato_xc_item prefix SerialNo.Prefix
notifiable

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_U_ITEM_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: ATO_V_U_IB

CREATE VIEW ATOV_U_ITEM_BASE AS
SELECT
  ColItem.item_type AS item_type,
  ColItem.item_id AS item_id,
  ColItem.changed_at AS changed_at,
  ColItem.changed_by AS changed_by,
  Collection.devclass AS package_name,
  coalesce( PrefixAndSettings.prefix, '' ) AS prefix,
  coalesce( Setup.client_dep_dev_system, '') AS notifiable
FROM ATOV_ITEM_VER_MAX AS ColItem
LEFT OUTER JOIN ATOV_COL_ITEMS_LATEST_COL AS latest_collection ON /* join condition not captured in parsed metadata */
INNER JOIN ato_setup AS Setup ON /* join condition not captured in parsed metadata */
INNER JOIN Atov_Pk_Item_Transport AS PkItemTransport ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ato_pk_package AS RegisteredPackage ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ato_tadir_map AS TadirMap ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tadir AS Tadir ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ato_cols AS Collection ON Collection.collection_id = latest_collection.collection_id  -- association [0..1]
LEFT OUTER JOIN ATOV_ITEM_PREFIX_SETTINGS AS PrefixAndSettings ON PrefixAndSettings.item_type = ColItem.item_type AND PrefixAndSettings.item_id = ColItem.item_id  -- association [0..1]
-- UNION ALL with additional select branch(es): ato_pk_items, ato_xc_item
;