suim_get_tables
SUIM | Get Table List for Output
suim_get_tables is a CDS View that provides data about "SUIM | Get Table List for Output" in SAP S/4HANA. It reads from 2 data sources (SAIS_WBO, dd02l) and exposes 9 fields with key field tabname. It has 3 associations to related views.
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | SAIS_TDDAT | _tddat | x.tabname = _tddat.tabname |
| [0..1] | dd02t | _tx_s | ( _tx_s.tabname = x.tabname and _tx_s.as4local = x.as4local and _tx_s.ddlanguage = $session.system_language ) |
| [0..1] | dd02t | _tx_m | ( _tx_m.tabname = x.tabname and _tx_m.as4local = x.as4local and _tx_m.ddlanguage = x.masterlang ) |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | SUIM | Get Table List for Output | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | tabname | dd02l | tabname | Table/Constant Value |
| ddtext | ||||
| cclass | _tddat | cclass | Class | |
| tabclass | dd02l | tabclass | Table Category | |
| clidepXthenelseendasclidep | ||||
| Contflag | dd02l | contflag | Delivery class | |
| devc | SAIS_WBO | devclass | Package (Obsolete) | |
| dlvunit | SAIS_WBO | dlvunit | Softw. Comp. | |
| ps_posid | SAIS_WBO | ps_posid | WBS Element |
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 suim_get_tables.
-- 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 suim_get_tables AS
SELECT
x.tabname AS tabname,
coalesce( _tx_s.ddtext , _tx_m.ddtext ) AS ddtext,
_tddat.cclass AS cclass,
x.tabclass AS tabclass,
case when x.clidep = 'X' then '' else '' end as clidep AS clidepXthenelseendasclidep,
x.contflag AS Contflag,
_wbo.devclass AS devc,
_wbo.dlvunit AS dlvunit,
_wbo.ps_posid AS ps_posid
FROM dd02l AS x
LEFT OUTER JOIN SAIS_WBO AS _wbo ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SAIS_TDDAT AS _tddat ON x.tabname = _tddat.tabname -- association [0..1]
LEFT OUTER JOIN dd02t AS _tx_s ON ( _tx_s.tabname = x.tabname AND _tx_s.as4local = x.as4local AND _tx_s.ddlanguage = $session.system_language ) -- association [0..1]
LEFT OUTER JOIN dd02t AS _tx_m ON ( _tx_m.tabname = x.tabname AND _tx_m.as4local = x.as4local AND _tx_m.ddlanguage = x.masterlang ) -- association [0..1]
;
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