I_CustomCDSViewDatasource_VH
List of released CDS views
I_CustomCDSViewDatasource_VH is a Basic CDS View that provides data about "List of released CDS views" in SAP S/4HANA. It reads from 11 data sources and exposes 15 fields. It has 11 associations to related views.
Data Sources (11)
| Source | Alias | Join Type |
|---|---|---|
| ddheadanno | _AclAuthCheck | left_outer |
| ddheadanno | _AnalyticsDatacategoryAnno | left_outer |
| ddheadanno | _AnaQueryAnno | left_outer |
| DDL_OBJECT_NAMES | _ddl_obj_names_for_view | left_outer |
| APS_V_GKE_DDL_MAX_DATE | _j_maxdate_released | left_outer |
| ddheadanno | _ModelingAssocTargetAnno | left_outer |
| ddheadanno | _ModelingDataSourceAnno | left_outer |
| ddheadanno | _ObjectModelDatacategoryAnno | left_outer |
| ddheadanno | _OdataPublishAnno | left_outer |
| ARS_APIS_RELEASED_C1_OR_GROUPS | _released_for_c1_or_group | inner |
| ddddlsrc | _src_released | inner |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | dd02b | _a_dd02b | _a_dd02b.strucobjn = stob.objectname and _a_dd02b.as4local = _j_maxdate_released.min_ddl_state -- Has parameters |
| [0..1] | dd02bnd | node_info | node_info.strucobjn = stob.objectname and node_info.nodename = '.NODE1' and node_info.as4local = 'A' |
| [0..1] | ddddlsrc02bt | _a_text_active | _a_text_active.ddlname = _src_released.ddlname and _a_text_active.as4local = 'A' and _a_text_active.ddlanguage = $session.system_language |
| [0..1] | ddddlsrc02bt | _a_text_active_def | _a_text_active_def.ddlname = _src_released.ddlname and _a_text_active_def.as4local = 'A' and _a_text_active_def.ddlanguage = 'E' |
| [0..1] | ddddlsrct | _a_text_fallback | _a_text_fallback.ddlname = _src_released.ddlname and _a_text_fallback.as4local = 'A' and _a_text_fallback.ddlanguage = $session.system_language |
| [0..1] | Sacm_Public_Dcl_For_Entity | _a_dcl_for_entity | _a_dcl_for_entity.entity = stob.objectname |
| [0..1] | I_CustomCDSViewSourceOrigin | _SourceOrigin | _SourceOrigin.SourceOrigin = _src_released.source_origin |
| [0..1] | I_CustomCDSViewRework_KeyUpper | _Rework | _Rework.EntityName = _src_released.ddlname |
| [0..1] | I_CustomCDSViewAccProtection | _AccessProtection | _AccessProtection.AccessProtection = $projection.access_protection |
| [0..1] | I_CustomCDSViewAnaDataCategory | _AnaDataCategory | _AnaDataCategory.AnalyticsDatacategory = $projection.analytics_datacategory |
| [0..1] | I_CustomCDSViewObjectStatus | _ObjectStatus | _ObjectStatus.ObjectStatus = $projection.ObjectStatus |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | List of released CDS views | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | view_name | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Search.searchable | true | view |
Fields (15)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ddl_name | ddddlsrc | ddlname | DDL Source Name | |
| TaskPriorityId | _Rework | HighestPriority | ||
| TaskPriority | _Rework | HighestPriorityText | Task Priority | |
| TaskPrioritySortOrder | _Rework | HighestPrioritySortOrder | ||
| ReworkIndicator | Rework | |||
| Category | _Rework | Category | Violation Category | |
| TaskCategory | _Rework | CategoryText | ||
| view_text_fb | _a_text_fallback | ddtext | Short text | |
| _SourceOrigin | _SourceOrigin | |||
| _AccessProtection | _AccessProtection | |||
| _AnaDataCategory | _AnaDataCategory | |||
| _ObjectStatus | _ObjectStatus | |||
| _Rework | _Rework | |||
| _TaskPriority | _Rework | _TaskPriority | ||
| _TaskCategory | _Rework | _TaskCategory |
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 I_CustomCDSViewDatasource_VH.
-- 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 I_CustomCDSViewDatasource_VH AS
SELECT
_src_released.ddlname AS ddl_name,
_Rework.HighestPriority AS TaskPriorityId,
_Rework.HighestPriorityText AS TaskPriority,
_Rework.HighestPrioritySortOrder AS TaskPrioritySortOrder,
cast( coalesce( _Rework.ReworkIndicator, '' ) as aps_ccv_rework_ind preserving type ) AS ReworkIndicator,
_Rework.Category AS Category,
_Rework.CategoryText AS TaskCategory,
_a_text_fallback.ddtext AS view_text_fb,
_Rework._TaskPriority AS _TaskPriority,
_Rework._TaskCategory AS _TaskCategory
INNER JOIN ddddlsrc AS _src_released ON /* join condition not captured in parsed metadata */
INNER JOIN ARS_APIS_RELEASED_C1_OR_GROUPS AS _released_for_c1_or_group ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN APS_V_GKE_DDL_MAX_DATE AS _j_maxdate_released ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN DDL_OBJECT_NAMES AS _ddl_obj_names_for_view ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS _AnaQueryAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS _OdataPublishAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS _AnalyticsDatacategoryAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS _ObjectModelDatacategoryAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS _AclAuthCheck ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS _ModelingDataSourceAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN ddheadanno AS _ModelingAssocTargetAnno ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd02b AS _a_dd02b ON _a_dd02b.strucobjn = stob.objectname AND _a_dd02b.as4local = _j_maxdate_released.min_ddl_state -- association [0..1]
LEFT OUTER JOIN dd02bnd AS node_info ON node_info.strucobjn = stob.objectname AND node_info.nodename = '.NODE1' AND node_info.as4local = 'A' -- association [0..1]
LEFT OUTER JOIN ddddlsrc02bt AS _a_text_active ON _a_text_active.ddlname = _src_released.ddlname AND _a_text_active.as4local = 'A' AND _a_text_active.ddlanguage = $session.system_language -- association [0..1]
LEFT OUTER JOIN ddddlsrc02bt AS _a_text_active_def ON _a_text_active_def.ddlname = _src_released.ddlname AND _a_text_active_def.as4local = 'A' AND _a_text_active_def.ddlanguage = 'E' -- association [0..1]
LEFT OUTER JOIN ddddlsrct AS _a_text_fallback ON _a_text_fallback.ddlname = _src_released.ddlname AND _a_text_fallback.as4local = 'A' AND _a_text_fallback.ddlanguage = $session.system_language -- association [0..1]
LEFT OUTER JOIN Sacm_Public_Dcl_For_Entity AS _a_dcl_for_entity ON _a_dcl_for_entity.entity = stob.objectname -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewSourceOrigin AS _SourceOrigin ON _SourceOrigin.SourceOrigin = _src_released.source_origin -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewRework_KeyUpper AS _Rework ON _Rework.EntityName = _src_released.ddlname -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewAccProtection AS _AccessProtection ON _AccessProtection.AccessProtection = access_protection -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewAnaDataCategory AS _AnaDataCategory ON _AnaDataCategory.AnalyticsDatacategory = analytics_datacategory -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewObjectStatus AS _ObjectStatus ON _ObjectStatus.ObjectStatus = ObjectStatus -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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