SAIS_TDDAT_MAINT
Maintenance Authorization Groups for Tables and Views
SAIS_TDDAT_MAINT is a CDS View that provides data about "Maintenance Authorization Groups for Tables and Views" in SAP S/4HANA. It reads from 3 data sources (SAIS_TDDAT_MAINT_VIEW, SAIS_TDDAT_MAINT_STOB, SAIS_TDDAT_MAINT_TABL) and exposes 40 fields with key field tabname. Part of development package SAIS_BCE.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| SAIS_TDDAT_MAINT_VIEW | ddic_view | union |
| SAIS_TDDAT_MAINT_STOB | stob | union |
| SAIS_TDDAT_MAINT_TABL | tabl | from |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SAIS_TDDATMAINT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Maintenance Authorization Groups for Tables and Views | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | tabname | SAIS_TDDAT_MAINT_TABL | tabname | Table/Constant Value |
| dobj_type | Source type | |||
| cclass | SAIS_TDDAT_MAINT_TABL | cclass | Class | |
| bezei | SAIS_TDDAT_MAINT_TABL | bezei | TrContType name | |
| sap_cclass | SAIS_TDDAT_MAINT_TABL | sap_cclass | SAP default | |
| tabclass | SAIS_TDDAT_MAINT_TABL | tabclass | Table Category | |
| ddlanguage | SAIS_TDDAT_MAINT_TABL | ddlanguage | Lang. | |
| ddtext | SAIS_TDDAT_MAINT_TABL | ddtext | Short text | |
| devclass | SAIS_TDDAT_MAINT_TABL | devclass | Package (Obsolete) | |
| dlvunit | SAIS_TDDAT_MAINT_TABL | dlvunit | Softw. Comp. | |
| ps_posid | SAIS_TDDAT_MAINT_TABL | ps_posid | WBS Element | |
| mainflag | SAIS_TDDAT_MAINT_TABL | mainflag | Table Maintenance | |
| clidep | SAIS_TDDAT_MAINT_TABL | clidep | Client-specific | |
| masterlang | SAIS_TDDAT_MAINT_TABL | masterlang | Single-Character Flag | |
| dobj_type | SAIS_TDDAT_MAINT_VIEW | dobj_type | Source type | |
| cclass | SAIS_TDDAT_MAINT_VIEW | cclass | Class | |
| bezei | SAIS_TDDAT_MAINT_VIEW | bezei | TrContType name | |
| sap_cclass | SAIS_TDDAT_MAINT_VIEW | sap_cclass | SAP default | |
| tabclass | SAIS_TDDAT_MAINT_VIEW | tabclass | Table Category | |
| ddlanguage | SAIS_TDDAT_MAINT_VIEW | ddlanguage | Lang. | |
| ddtext | SAIS_TDDAT_MAINT_VIEW | ddtext | Short text | |
| devclass | SAIS_TDDAT_MAINT_VIEW | devclass | Package (Obsolete) | |
| dlvunit | SAIS_TDDAT_MAINT_VIEW | dlvunit | Softw. Comp. | |
| ps_posid | SAIS_TDDAT_MAINT_VIEW | ps_posid | WBS Element | |
| mainflag | SAIS_TDDAT_MAINT_VIEW | mainflag | Table Maintenance | |
| clidep | SAIS_TDDAT_MAINT_VIEW | clidep | Client-specific | |
| masterlang | SAIS_TDDAT_MAINT_VIEW | masterlang | Single-Character Flag | |
| dobj_type | Source type | |||
| cclass | SAIS_TDDAT_MAINT_STOB | cclass | Class | |
| bezei | SAIS_TDDAT_MAINT_STOB | bezei | TrContType name | |
| sap_cclass | SAIS_TDDAT_MAINT_STOB | sap_cclass | SAP default | |
| tabclass | SAIS_TDDAT_MAINT_STOB | tabclass | Table Category | |
| ddlanguage | SAIS_TDDAT_MAINT_STOB | ddlanguage | Lang. | |
| ddtext | SAIS_TDDAT_MAINT_STOB | ddtext | Short text | |
| devclass | SAIS_TDDAT_MAINT_STOB | devclass | Package (Obsolete) | |
| dlvunit | SAIS_TDDAT_MAINT_STOB | dlvunit | Softw. Comp. | |
| ps_posid | SAIS_TDDAT_MAINT_STOB | ps_posid | WBS Element | |
| mainflag | SAIS_TDDAT_MAINT_STOB | mainflag | Table Maintenance | |
| clidep | SAIS_TDDAT_MAINT_STOB | clidep | Client-specific | |
| masterlang | SAIS_TDDAT_MAINT_STOB | 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.
-- 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_TDDATMAINT
CREATE VIEW SAIS_TDDAT_MAINT AS
SELECT
tabl.tabname AS tabname,
cast( 'ABAP Table' as char20 ) AS dobj_type,
tabl.cclass AS cclass,
tabl.bezei AS bezei,
tabl.sap_cclass AS sap_cclass,
tabl.tabclass AS tabclass,
tabl.ddlanguage AS ddlanguage,
tabl.ddtext AS ddtext,
tabl.devclass AS devclass,
tabl.dlvunit AS dlvunit,
tabl.ps_posid AS ps_posid,
tabl.mainflag AS mainflag,
tabl.clidep AS clidep,
tabl.masterlang AS masterlang
FROM SAIS_TDDAT_MAINT_TABL AS tabl
-- UNION with additional select branch(es): SAIS_TDDAT_MAINT_VIEW, SAIS_TDDAT_MAINT_STOB
;
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