ddcds_simple_types
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)
| Source | Alias | Join Type |
|---|---|---|
| dddrty_smpl_type | dddrty_smpl_type | inner |
| dddrty_source | dddrty_source | from |
| tadir | tadir | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | CDS Simple Type Information | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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