ATOV_U_ITEM_BOM_DEL_BASE

DDL: ATOV_U_ITEM_BOM_DEL_BASE SQL: ATO_V_U_BOM_DELB Type: view

BOM of ATO items incl. deleted items

ATOV_U_ITEM_BOM_DEL_BASE is a CDS View that provides data about "BOM of ATO items incl. deleted items" in SAP S/4HANA. It reads from 5 data sources (ato_changel_bom, ato_changel_item, ato_conti_bom, ato_cont_bom_del, ato_draft_bom) and exposes 21 fields with key fields item_type, item_id, bom_pgmid, bom_object, item_id.

Data Sources (5)

SourceAliasJoin Type
ato_changel_bom changel_bom union
ato_changel_item changel_item inner
ato_conti_bom conti_bom union_all
ato_cont_bom_del conti_bom_del union
ato_draft_bom item_bom from

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName ATO_V_U_BOM_DELB view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label BOM of ATO items incl. deleted items view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY item_type ato_draft_bom item_type Type
KEY item_id ato_draft_bom item_id Simulation Item ID
KEY bom_pgmid ato_draft_bom bom_pgmid Program ID
KEY bom_object ato_draft_bom bom_object Object Type
is_draft
item_type Type
KEY item_id ato_conti_bom item_id Simulation Item ID
KEY bom_pgmid ato_conti_bom bom_pgmid Program ID
KEY bom_object ato_conti_bom bom_object Object Type
is_draft
item_type Type
KEY item_id ato_cont_bom_del item_id Simulation Item ID
KEY bom_pgmid ato_cont_bom_del bom_pgmid Program ID
KEY bom_object ato_cont_bom_del bom_object Object Type
is_draft
item_type Type
KEY item_id ato_changel_item item_id Simulation Item ID
KEY bom_pgmid ato_changel_bom bom_pgmid Program ID
KEY bom_object ato_changel_bom bom_object Object Type
is_draft
is_deleted

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_BOM_DEL_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_BOM_DELB

CREATE VIEW ATOV_U_ITEM_BOM_DEL_BASE AS
SELECT
  item_bom.item_type AS item_type,
  item_bom.item_id AS item_id,
  item_bom.bom_pgmid AS bom_pgmid,
  item_bom.bom_object AS bom_object,
  'X' AS is_draft,
  '?' AS is_deleted
FROM ato_draft_bom AS item_bom
INNER JOIN ato_changel_item AS changel_item ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): ato_conti_bom, ato_cont_bom_del, ato_changel_bom
;