CUAN_TG_CDS_OT_MAP_KEY_AND_SEM
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)
| Source | Alias | Join 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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA