CUAN_TG_CDS_OT_MAP_KEY_AND_SEM

DDL: CUAN_TG_CDS_OT_MAP_KEY_AND_SEM Type: view_entity

Semantics of Segmentation Object Keys

CUAN_TG_CDS_OT_MAP_KEY_AND_SEM is a CDS View that provides data about "Semantics of Segmentation Object Keys" in SAP S/4HANA. It reads from 6 data sources and exposes 8 fields with key fields appl_id, ot_id, key_name.

Data Sources (6)

SourceAliasJoin Type
cds_gseg_ot_ds_at at from
gseg_ot_ds_key dsk left_outer
gseg_ot_key otk left_outer
gseg_cds_seg_scen_rt scr inner
gseg_cds_seg_scen_vw scv inner
cuanc_ot_k_tgm_k tgkm left_outer

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Semantics of Segmentation Object Keys view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY appl_id gseg_cds_seg_scen_rt appl_id Policy Key
KEY ot_id gseg_cds_seg_scen_rt ot_id
KEY key_name gseg_ot_key ot_key
ot_key_len gseg_ot_key ot_key_len
ot_key_dec gseg_ot_key ot_key_dec
ds_alias gseg_cds_seg_scen_vw ds_alias Data Source Alias
cds_view gseg_cds_seg_scen_vw cds_view CDS View for SOT
at_sem_type cds_gseg_ot_ds_at at_sem_type

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 CUAN_TG_CDS_OT_MAP_KEY_AND_SEM.
-- 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.

CREATE VIEW CUAN_TG_CDS_OT_MAP_KEY_AND_SEM AS
SELECT
  scr.appl_id AS appl_id,
  scr.ot_id AS ot_id,
  otk.ot_key AS key_name,
  otk.ot_key_len AS ot_key_len,
  otk.ot_key_dec AS ot_key_dec,
  scv.ds_alias AS ds_alias,
  scv.cds_view AS cds_view,
  at.at_sem_type AS at_sem_type
FROM cds_gseg_ot_ds_at AS at
LEFT OUTER JOIN gseg_ot_ds_key AS dsk ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN gseg_ot_key AS otk ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cuanc_ot_k_tgm_k AS tgkm ON /* join condition not captured in parsed metadata */
INNER JOIN gseg_cds_seg_scen_rt AS scr ON /* join condition not captured in parsed metadata */
INNER JOIN gseg_cds_seg_scen_vw AS scv ON /* join condition not captured in parsed metadata */
;