ATOV_NAMESPACE_SETTINGS

DDL: ATOV_NAMESPACE_SETTINGS SQL: ATOV_NSP_SET Type: view

ATO: Namespace Settings

ATOV_NAMESPACE_SETTINGS is a CDS View that provides data about "ATO: Namespace Settings" in SAP S/4HANA. It reads from 3 data sources (ATOV_PK_NAMESPACE, ato_prefix_set, ato_setup) and exposes 11 fields with key field namespace. It has 8 associations to related views.

Data Sources (3)

SourceAliasJoin Type
ATOV_PK_NAMESPACE pk_settings union
ato_prefix_set settings from
ato_setup setup left_outer

Associations (8)

CardinalityTargetAliasCondition
[0..1] ATOV_PREFIX_CATEGORY_TEXT _category_description _category_description.value = settings.category and _category_description.language = $session.system_language
[0..1] ATOV_PREFIX_CATEGORY_TEXT _english_category_description _english_category_description.value = settings.category and _english_category_description.language = 'E'
[0..1] ATOV_USER _created_by _created_by.name = settings.created_by
[0..1] ATOV_USER _last_changed_by _last_changed_by.name = settings.last_changed_by
[0..*] ATOV_USER_ASSIGNMENT _user_assignment _user_assignment.namespace = $projection.namespace
[0..1] ATOV_USER_ASSIGNMENT _self_assignment _self_assignment.user_id = $session.user
[0..*] ATOV_INSTALLATION_KEY_LOG _installation_file_log _installation_file_log.namespace = $projection.namespace
[0..*] atov_prefix_adapt_type_support _adaptation_type_support _adaptation_type_support.Namespace = $projection.namespace

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName ATOV_NSP_SET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_ALLOWED view
EndUserText.label ATO: Namespace Settings view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY namespace dev_prefix Namespace
tenant_id
category category Violation Category
created_by created_by Username
created_at created_at Timestamp
description description Well Code Des.
tenant_id
category ATOV_PK_NAMESPACE category Violation Category
created_by ATOV_PK_NAMESPACE last_changed_by Username
created_at ATOV_PK_NAMESPACE last_changed_at Timestamp
description Well Code Des.

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_NAMESPACE_SETTINGS.
-- 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_NSP_SET

CREATE VIEW ATOV_NAMESPACE_SETTINGS AS
SELECT
  dev_prefix AS namespace,
  'LOCAL_SYSTEM' AS tenant_id,
  category,
  created_by,
  created_at,
  description
FROM ato_prefix_set AS settings
LEFT OUTER JOIN ato_setup AS setup ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ATOV_PREFIX_CATEGORY_TEXT AS _category_description ON _category_description.value = settings.category AND _category_description.language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN ATOV_PREFIX_CATEGORY_TEXT AS _english_category_description ON _english_category_description.value = settings.category AND _english_category_description.language = 'E'  -- association [0..1]
LEFT OUTER JOIN ATOV_USER AS _created_by ON _created_by.name = settings.created_by  -- association [0..1]
LEFT OUTER JOIN ATOV_USER AS _last_changed_by ON _last_changed_by.name = settings.last_changed_by  -- association [0..1]
LEFT OUTER JOIN ATOV_USER_ASSIGNMENT AS _user_assignment ON _user_assignment.namespace = namespace  -- association [0..*]
LEFT OUTER JOIN ATOV_USER_ASSIGNMENT AS _self_assignment ON _self_assignment.user_id = $session.user  -- association [0..1]
LEFT OUTER JOIN ATOV_INSTALLATION_KEY_LOG AS _installation_file_log ON _installation_file_log.namespace = namespace  -- association [0..*]
LEFT OUTER JOIN atov_prefix_adapt_type_support AS _adaptation_type_support ON _adaptation_type_support.Namespace = namespace  -- association [0..*]
-- UNION with additional select branch(es): ATOV_PK_NAMESPACE
;