SADL_RS_SO_ITEM_DYN_DB_HINTS

DDL: SADL_RS_SO_ITEM_DYN_DB_HINTS SQL: SADL_IT_DYN_HINT Type: view

Reference Scenario: Item view with dynamic DB hint

SADL_RS_SO_ITEM_DYN_DB_HINTS is a CDS View that provides data about "Reference Scenario: Item view with dynamic DB hint" in SAP S/4HANA. It reads from 1 data source (sadl_rs_so_items) and exposes 3 fields with key field id. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
sadl_rs_so_items sadl_rs_so_items from

Associations (1)

CardinalityTargetAliasCondition
[1] Sadl_Cds_Rs_Product _Product $projection.prod_id_content_char = _Product.id_content and $projection.prod_id_scheme_id = _Product.id_scheme_id

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName SADL_IT_DYN_HINT view
EndUserText.label Reference Scenario: Item view with dynamic DB hint view
Search.searchable true view
Consumption.dbHintsCalculatedBy ABAP:CL_SADL_RS_ITEM_DYN_DB_HINT view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY id id WorklistID
parent_id sadl_rs_so_items parent_id UUID
_Product _Product

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_RS_SO_ITEM_DYN_DB_HINTS.
-- 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_IT_DYN_HINT

CREATE VIEW SADL_RS_SO_ITEM_DYN_DB_HINTS AS
SELECT
  id,
  sadl_rs_so_items.parent_id AS parent_id
FROM sadl_rs_so_items
LEFT OUTER JOIN Sadl_Cds_Rs_Product AS _Product ON prod_id_content_char = _Product.id_content AND prod_id_scheme_id = _Product.id_scheme_id  -- association [1]
;