ddcds_simple_types

DDL: DDCDS_SIMPLE_TYPES Type: view_entity

CDS Simple Type Information

ddcds_simple_types is a CDS View that provides data about "CDS Simple Type Information" in SAP S/4HANA. It reads from 3 data sources (dddrty_smpl_type, dddrty_source, tadir) and exposes 4 fields. It has 3 associations to related views.

Data Sources (3)

SourceAliasJoin Type
dddrty_smpl_type dddrty_smpl_type inner
dddrty_source dddrty_source from
tadir tadir inner

Associations (3)

CardinalityTargetAliasCondition
[0..1] dddrty_source_t _text_active dddrty_source.type_name = _text_active.type_name and dddrty_source.as4local = _text_active.as4local and _text_active.ddlanguage = $session.system_language
[0..1] dddrty_source_t _text_english dddrty_source.type_name = _text_english.type_name and dddrty_source.as4local = _text_english.as4local and _text_english.ddlanguage = 'E'
[0..1] dddrty_source_t _text_original dddrty_source.type_name = _text_original.type_name and dddrty_source.as4local = _text_original.as4local and _text_original.ddlanguage = tadir.masterlang

Annotations (2)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CDS Simple Type Information view

Fields (4)

KeyFieldSource TableSource FieldDescription
data_type Data Type
length Length
decimals Decimals
is_enum_type Is Enumerated Type

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 ddcds_simple_types.
-- 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 ddcds_simple_types AS
SELECT
  cast( dddrty_smpl_type.datatype as abap.char(4) ) AS data_type,
  cast( dddrty_smpl_type.leng as abap.numc(6) ) AS length,
  cast( dddrty_smpl_type.decimals as abap.numc(6) ) AS decimals,
  case dddrty_smpl_type.enum_origin when '' then 'False' else 'True' end AS is_enum_type
FROM dddrty_source
INNER JOIN dddrty_smpl_type ON /* join condition not captured in parsed metadata */
INNER JOIN tadir ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dddrty_source_t AS _text_active ON dddrty_source.type_name = _text_active.type_name AND dddrty_source.as4local = _text_active.as4local AND _text_active.ddlanguage = $session.system_language  -- association [0..1]
LEFT OUTER JOIN dddrty_source_t AS _text_english ON dddrty_source.type_name = _text_english.type_name AND dddrty_source.as4local = _text_english.as4local AND _text_english.ddlanguage = 'E'  -- association [0..1]
LEFT OUTER JOIN dddrty_source_t AS _text_original ON dddrty_source.type_name = _text_original.type_name AND dddrty_source.as4local = _text_original.as4local AND _text_original.ddlanguage = tadir.masterlang  -- association [0..1]
;