RSRTS_CDS_DOCA_LIST
Get All CDS document Stores
RSRTS_CDS_DOCA_LIST is a CDS View that provides data about "Get All CDS document Stores" in SAP S/4HANA. It reads from 5 data sources (ddheadanno, ddheadanno, ddddlsrc, tadir, ddddlsrc02bt) and exposes 3 fields with key field cdsViewname. Part of development package RSRTS_CDS_DOCA.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| ddheadanno | h1 | inner |
| ddheadanno | h2 | left_outer |
| ddddlsrc | s | from |
| tadir | t1 | inner |
| ddddlsrc02bt | t2 | left_outer |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| langu | sylangu |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Get All CDS document Stores | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | cdsViewname | ddheadanno | strucobjn | DD: Name of a structured object (e.g. entity, context) |
| valueendasrsdoc_appl_idasappl_Id | ||||
| txtlg |
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 RSRTS_CDS_DOCA_LIST.
-- 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.
-- Parameters: langu : sylangu
CREATE VIEW RSRTS_CDS_DOCA_LIST AS
SELECT
h1.strucobjn AS cdsViewname,
cast ( case when h2.value is null or h2.value = '' then concat( '2C', h1.strucobjn ) else concat( '2C', replace( upper( h2.value ), '''', '') ) end as rsdoc_appl_id ) as appl_Id AS valueendasrsdoc_appl_idasappl_Id,
cast ( coalesce( t2.ddtext, h1.strucobjn ) as rstxtlg ) AS txtlg
FROM ddddlsrc AS s
INNER JOIN tadir AS t1 ON /* join condition not captured in parsed metadata */
INNER JOIN ddheadanno AS h1 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddddlsrc02bt AS t2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS h2 ON /* join condition not captured in parsed metadata */
;
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