CDS_SUI_TM_CATALOG
Catalogs derived from SUI_TM_MM_APP
CDS_SUI_TM_CATALOG is a CDS View that provides data about "Catalogs derived from SUI_TM_MM_APP" in SAP S/4HANA. It reads from 8 data sources and exposes 19 fields with key field id.
Data Sources (8)
| Source | Alias | Join Type |
|---|---|---|
| sui_tm_mm_app | app | left_outer |
| sui_tm_mm_cat | sui_tm_mm_cat | left_outer |
| sui_tm_mm_catt | sui_tm_mm_catt | left_outer |
| sui_tm_mm_catt | sui_tm_mm_catt | left_outer |
| sui_uiaa | sui_uiaa | inner |
| sui_uiaa | sui_uiaa | inner |
| tadir | tadir | left_outer |
| tadir | tadir | left_outer |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SUI_TM_APP_CAT_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Catalogs derived from SUI_TM_MM_APP | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | id | sui_tm_mm_cat | id | |
| type | sui_tm_mm_cat | type | ||
| langu | sui_tm_mm_catt | langu | ||
| title | sui_tm_mm_catt | title | ||
| changed_at | ||||
| changed_by | ||||
| author | tadir | author | ||
| created_on | tadir | created_on | ||
| devclass | tadir | devclass | ||
| cat_id | ||||
| type | sui_tm_mm_cat | type | ||
| langu | sui_tm_mm_catt | langu | ||
| title | sui_tm_mm_catt | title | ||
| changed_at | ||||
| changed_by | sui_tm_mm_app | changed_by | ||
| author | tadir | author | ||
| created_on | tadir | created_on | ||
| devclass | tadir | devclass | ||
| is_adapted |
@AbapCatalog.sqlViewName: 'SUI_TM_APP_CAT_V'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Catalogs derived from SUI_TM_MM_APP'
define view CDS_SUI_TM_CATALOG
( id, type, langu, title, changed_at, changed_by,
author, created_on, devclass, is_adapted )
as select distinct from sui_tm_mm_cat
left outer join sui_tm_mm_catt on sui_tm_mm_cat.id = sui_tm_mm_catt.id
and sui_tm_mm_catt.langu = $session.system_language //'E'
left outer join tadir on tadir.pgmid = 'R3TR'
and tadir.object = 'UIAC'
and tadir.obj_name = sui_tm_mm_cat.id
left outer join ( sui_tm_mm_app inner join sui_uiaa on sui_tm_mm_app.app_id = sui_uiaa.app_id )
on sui_tm_mm_app.cat_id = sui_tm_mm_cat.id
{ key sui_tm_mm_cat.id,
sui_tm_mm_cat.type,
sui_tm_mm_catt.langu,
sui_tm_mm_catt.title,
tstmp_to_dats( sui_tm_mm_cat.changed_at, abap_system_timezone( $session.client,'NULL' ), $session.client,'NULL' ) as changed_at,
// cast( sui_tm_mm_cat.changed_at as timestamp ) as changed_at,
cast( sui_tm_mm_cat.changed_by as responsibl) as changed_by,
tadir.author,
tadir.created_on,
tadir.devclass,
cast( case when sui_uiaa.app_id is not null then 'X' else ' ' end as sui_uiad_is_adapted ) as is_adapted
}
union select distinct from sui_tm_mm_app
left outer join sui_tm_mm_cat on sui_tm_mm_app.cat_id = sui_tm_mm_cat.id
left outer join sui_tm_mm_catt on sui_tm_mm_cat.id = sui_tm_mm_catt.id
and sui_tm_mm_catt.langu = $session.system_language //'E'
left outer join sui_tm_mm_app as app on
sui_tm_mm_app.cat_id = app.cat_id and
sui_tm_mm_app.changed_at > app.changed_at
left outer join tadir on tadir.pgmid = 'R3TR'
and tadir.object = 'UIAC'
and tadir.obj_name = sui_tm_mm_app.cat_id
left outer join ( sui_tm_mm_app as app2 inner join sui_uiaa on app2.app_id = sui_uiaa.app_id )
on app2.cat_id = sui_tm_mm_app.cat_id
{ key sui_tm_mm_app.cat_id,
// case when sui_tm_mm_cat.type is not null then sui_tm_mm_cat.type else '<>' end,
sui_tm_mm_cat.type,
sui_tm_mm_catt.langu,
sui_tm_mm_catt.title,
// sui_tm_mm_app.cat_descr,
tstmp_to_dats( sui_tm_mm_cat.changed_at, abap_system_timezone( $session.client,'NULL' ), $session.client,'NULL' ) as changed_at,
// sui_tm_mm_app.changed_at,
sui_tm_mm_app.changed_by,
tadir.author,
tadir.created_on,
tadir.devclass,
cast( case when sui_uiaa.app_id is not null then 'X' else ' ' end as sui_uiad_is_adapted ) as is_adapted
}
where
type is null and
app.changed_at is null
Learn More
- 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 Annotations — A Complete Guide
- 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