ATOV_PK_CUSTOM_DEV_OBJ

DDL: ATOV_PK_CUSTOM_DEV_OBJ SQL: ATOV_PK_CSTD Type: view

Custom development and key user objects

ATOV_PK_CUSTOM_DEV_OBJ is a CDS View that provides data about "Custom development and key user objects" in SAP S/4HANA. It reads from 4 data sources (ato_conti_bom, ato_draft_bom, tadir, tadir) and exposes 4 fields with key fields pgmid, object_type, object_name.

Data Sources (4)

SourceAliasJoin Type
ato_conti_bom conti_bom left_outer
ato_draft_bom draft_bom left_outer
tadir sid left_outer
tadir tadir from

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName ATOV_PK_CSTD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Custom development and key user objects view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY pgmid tadir pgmid Program Name
KEY object_type tadir object TRFM Object
KEY object_name
srcsystemthenSCPelseendendasorigin

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_PK_CUSTOM_DEV_OBJ.
-- 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: ATOV_PK_CSTD

CREATE VIEW ATOV_PK_CUSTOM_DEV_OBJ AS
SELECT
  tadir.pgmid AS pgmid,
  tadir.object AS object_type,
  cast( tadir.obj_name as trobj_name ) AS object_name,
  case when conti_bom.item_id is not initial or draft_bom.item_id is not initial then 'KUA' else case when tadir.srcsystem = sid.srcsystem then 'SCP' else '' end end as origin AS srcsystemthenSCPelseendendasorigin
FROM tadir
LEFT OUTER JOIN ato_conti_bom AS conti_bom ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ato_draft_bom AS draft_bom ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tadir AS sid ON /* join condition not captured in parsed metadata */
;