SADL_V_SearchAnnotations

DDL: SADL_V_SEARCHANNOTATIONS SQL: SADL_V_SEARCH_AN Type: view

SADL_V_SearchAnnotations is a CDS View in SAP S/4HANA. It reads from 2 data sources (snwd_pd, snwd_texts) and exposes 7 fields with key field ID. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
snwd_pd Product from
snwd_texts ProductDescription left_outer

Associations (1)

CardinalityTargetAliasCondition
[1..*] SADL_V_SearchAnnotations _RelatedProduct Product.category = _RelatedProduct.Category

Annotations (3)

NameValueLevelField
AbapCatalog.sqlViewName SADL_V_SEARCH_AN view
Search.searchable true view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ID snwd_pd product_id Simulated Product ID
Language snwd_texts language Report Text Language
Name snwd_texts text User Group
Description snwd_texts text User Group
Category snwd_pd category Violation Category
_category _category
_RelatedProduct _RelatedProduct

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 SADL_V_SearchAnnotations.
-- 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: SADL_V_SEARCH_AN

CREATE VIEW SADL_V_SearchAnnotations AS
SELECT
  Product.product_id AS ID,
  ProductDescription.language AS Language,
  ProductDescription.text AS Name,
  ProductDescription.text AS Description,
  Product.category AS Category
FROM snwd_pd AS Product
LEFT OUTER JOIN snwd_texts AS ProductDescription ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SADL_V_SearchAnnotations AS _RelatedProduct ON Product.category = _RelatedProduct.Category  -- association [1..*]
;