SAIS_TDDAT_MAINT_STOB

DDL: SAIS_TDDAT_MAINT_STOB SQL: SAIS_TDDAT_STOB Type: view

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)

SourceAliasJoin Type
df14l df14l left_outer
dd02b stob from
tadir tadir inner
SAIS_TDDAT_TBRG tbrg left_outer
tddat tddat left_outer
tdevc tdevc left_outer

Associations (5)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;