SAIS_TDDAT_MAINT_TABL
Maintenance Authorization Groups for Tables
SAIS_TDDAT_MAINT_TABL is a CDS View that provides data about "Maintenance Authorization Groups for Tables" in SAP S/4HANA. It reads from 6 data sources and exposes 13 fields with key field tabname. It has 4 associations to related views.
Data Sources (6)
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | tddat_sap | _sap | _sap.tabname = dd02l.tabname -- text |
| [0..1] | dd02t | _text_active | _text_active.tabname = dd02l.tabname and _text_active.as4local = dd02l.as4local and _text_active.ddlanguage = $session.system_language and _text_active.as4vers = '0000' -- text English |
| [0..1] | dd02t | _text_english | _text_english.tabname = dd02l.tabname and _text_english.as4local = dd02l.as4local and _text_english.ddlanguage = 'E' and _text_english.as4vers = '0000' -- text Original |
| [0..1] | dd02t | _text_original | _text_original.tabname = dd02l.tabname and _text_original.as4local = dd02l.as4local and _text_original.ddlanguage = tadir.masterlang and _text_original.as4vers = '0000' |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SAIS_TDDAT_TABL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Maintenance Authorization Groups for Tables | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | tabname | dd02l | tabname | Table/Constant Value |
| dobj_type | ||||
| tabclass | dd02l | tabclass | Table Category | |
| bezei | SAIS_TDDAT_TBRG | bezei | TrContType name | |
| sap_cclass | ||||
| ddlanguage | ||||
| ddtext | ||||
| devclass | tadir | devclass | Package (Obsolete) | |
| dlvunit | tdevc | dlvunit | Softw. Comp. | |
| ps_posid | df14l | ps_posid | WBS Element | |
| mainflag | dd02l | mainflag | Table Maintenance | |
| clidep | dd02l | clidep | Client-specific | |
| masterlang | dd02l | masterlang | Single-Character Flag |
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 SAIS_TDDAT_MAINT_TABL.
-- 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: SAIS_TDDAT_TABL
CREATE VIEW SAIS_TDDAT_MAINT_TABL AS
SELECT
dd02l.tabname AS tabname,
cast( 'DDIC Table' as char20 ) AS dobj_type,
dd02l.tabclass AS tabclass,
tbrg.bezei AS bezei,
coalesce( _sap.cclass, '<No SAP-Default>' ) AS sap_cclass,
coalesce( coalesce( _text_active.ddlanguage, _text_english.ddlanguage ), _text_original.ddlanguage ) AS ddlanguage,
coalesce( coalesce( _text_active.ddtext, _text_english.ddtext ), _text_original.ddtext ) AS ddtext,
tadir.devclass AS devclass,
tdevc.dlvunit AS dlvunit,
df14l.ps_posid AS ps_posid,
dd02l.mainflag AS mainflag,
dd02l.clidep AS clidep,
dd02l.masterlang AS masterlang
FROM dd02l
INNER JOIN tadir ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tdevc ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN df14l ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tddat ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN SAIS_TDDAT_TBRG AS tbrg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tddat_sap AS _sap ON _sap.tabname = dd02l.tabname -- association [0..1]
LEFT OUTER JOIN dd02t AS _text_active ON _text_active.tabname = dd02l.tabname AND _text_active.as4local = dd02l.as4local AND _text_active.ddlanguage = $session.system_language AND _text_active.as4vers = '0000' -- association [0..1]
LEFT OUTER JOIN dd02t AS _text_english ON _text_english.tabname = dd02l.tabname AND _text_english.as4local = dd02l.as4local AND _text_english.ddlanguage = 'E' AND _text_english.as4vers = '0000' -- association [0..1]
LEFT OUTER JOIN dd02t AS _text_original ON _text_original.tabname = dd02l.tabname AND _text_original.as4local = dd02l.as4local AND _text_original.ddlanguage = tadir.masterlang AND _text_original.as4vers = '0000' -- 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