SAIS_TDDAT_MAINT_STOB
Maintenance Authorization Groups for STOB
SAIS_TDDAT_MAINT_STOB is a CDS View that provides data about "Maintenance Authorization Groups for STOB" in SAP S/4HANA. It reads from 6 data sources and exposes 12 fields with key field tabname. It has 5 associations to related views.
Data Sources (6)
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | tddat_sap | _sap | _sap.tabname = stob.strucobjn -- text |
| [0..1] | dd02bt | _text_active | _text_active.strucobjn = stob.strucobjn and _text_active.as4local = stob.as4local and _text_active.ddlanguage = $session.system_language -- text English |
| [0..1] | dd02bt | _text_english | _text_english.strucobjn = stob.strucobjn and _text_english.as4local = stob.as4local and _text_english.ddlanguage = 'E' -- text Original |
| [0..1] | dd02bt | _text_original | _text_original.strucobjn = stob.strucobjn and _text_original.as4local = stob.as4local and _text_original.ddlanguage = tadir.masterlang |
| [0..2] | ddldependency | _stob | _stob.ddlname = stob.strucobjn and _stob.state = 'A' and _stob.objecttype = 'VIEW' |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SAIS_TDDAT_STOB | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Maintenance Authorization Groups for STOB | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | tabname | dd02b | strucobjn | Object Name |
| tabclass | Object category | |||
| sap_cclass | SAP Default | |||
| bezei | SAIS_TDDAT_TBRG | bezei | TrContType name | |
| ddlanguage | Language Key | |||
| ddtext | Short Description of Repository Objects | |||
| devclass | tadir | devclass | Package (Obsolete) | |
| dlvunit | tdevc | dlvunit | Softw. Comp. | |
| ps_posid | df14l | ps_posid | WBS Element | |
| mainflag | dd02b | mainflag | Maintenance with standard tools allowed | |
| clidep | dd02b | clidep | Client-Specific Flag | |
| masterlang | tadir | 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_STOB.
-- 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_STOB
CREATE VIEW SAIS_TDDAT_MAINT_STOB AS
SELECT
stob.strucobjn AS tabname,
#TABCLASS.'VIEW' AS tabclass,
coalesce( _sap.cclass, '<No SAP-Default>' ) AS sap_cclass,
tbrg.bezei AS bezei,
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,
stob.mainflag AS mainflag,
stob.clidep AS clidep,
tadir.masterlang AS masterlang
FROM dd02b AS stob
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 = stob.strucobjn -- association [0..1]
LEFT OUTER JOIN dd02bt AS _text_active ON _text_active.strucobjn = stob.strucobjn AND _text_active.as4local = stob.as4local AND _text_active.ddlanguage = $session.system_language -- association [0..1]
LEFT OUTER JOIN dd02bt AS _text_english ON _text_english.strucobjn = stob.strucobjn AND _text_english.as4local = stob.as4local AND _text_english.ddlanguage = 'E' -- association [0..1]
LEFT OUTER JOIN dd02bt AS _text_original ON _text_original.strucobjn = stob.strucobjn AND _text_original.as4local = stob.as4local AND _text_original.ddlanguage = tadir.masterlang -- association [0..1]
LEFT OUTER JOIN ddldependency AS _stob ON _stob.ddlname = stob.strucobjn AND _stob.state = 'A' AND _stob.objecttype = 'VIEW' -- association [0..2]
;
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