C_CustomCDSViewDataSource
Custom CDS View Data Source
C_CustomCDSViewDataSource is a CDS View that provides data about "Custom CDS View Data Source" in SAP S/4HANA. It reads from 1 data source (I_CustomCDSViewDataSource) and exposes 40 fields with key fields EntityName, DataSourceUUID. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomCDSViewDataSource | I_CustomCDSViewDataSource | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_CustomCDSViewRoot | _Root | _Root.EntityName = I_CustomCDSViewDataSource.entity_name |
| [0..*] | C_CustomCDSViewDSJoinCondition | _JoinCondition | _JoinCondition.EntityName = I_CustomCDSViewDataSource.entity_name and _JoinCondition.DataSourceUUID = I_CustomCDSViewDataSource.data_source_uuid |
| [0..*] | C_CustomCDSViewParameterValue | _ParameterValue | _ParameterValue.EntityName = I_CustomCDSViewDataSource.entity_name and _ParameterValue.DataSourceUUID = I_CustomCDSViewDataSource.data_source_uuid |
| [0..1] | I_CustomCDSViewDatasourceType | _DatasourceType | _DatasourceType.DataSourceType = I_CustomCDSViewDataSource.type |
| [0..1] | I_CCV_DATASOURCE_HELPER | _DataSource | _DataSource.DataSourceName = I_CustomCDSViewDataSource.data_source_name |
| [0..1] | I_CustomCDSViewRework | _Rework | _Rework.EntityName = I_CustomCDSViewDataSource.data_source_name |
| [0..1] | I_CCV_ATO_BOM_DS | _AtoBomDataSource | _AtoBomDataSource.EntityName = I_CustomCDSViewDataSource.data_source_name |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | APS_CCV_C_DSRC_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Custom CDS View Data Source | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| Metadata.allowExtensions | true | view | |
| UI.headerInfo.typeName | Datasource | view | |
| UI.headerInfo.typeNamePlural | Datasources | view | |
| UI.headerInfo.title.label | Datasource | view | |
| UI.headerInfo.title.value | DataSourceAlias | view | |
| UI.headerInfo.description.value | Type | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EntityName | entity_name | Table Name | |
| KEY | DataSourceUUID | data_source_uuid | UUID | |
| DataSourceAlias | data_source_alias | Data Source Alias | ||
| Counter | counter | Version | ||
| DataSourceName | data_source_name | Name | ||
| Type | type | Worklist Type | ||
| Cardinality | cardinality | Cardinality | ||
| JoinCondComparisonOperator | join_cond_comparison_operator | Operator | ||
| _Cardinality | _Cardinality | |||
| _LogicalLinkOperator | _LogicalLinkOperator | |||
| _Root | _Root | |||
| Scenario | _Root | Scenario | VAT Scenario | |
| _Scenario | _Root | _Scenario | ||
| _JoinCondition | _JoinCondition | |||
| _ParameterValue | _ParameterValue | |||
| _DatasourceType | _DatasourceType | |||
| _DataSource | _DataSource | |||
| SourceOrigin | _DataSource | SourceOrigin | ||
| _SourceOrigin | _DataSource | _SourceOrigin | ||
| AccessProtection | _DataSource | AccessProtection | ||
| _AccessProtection | _DataSource | _AccessProtection | ||
| AnalyticsDataCategory | _DataSource | AnalyticsDataCategory | ||
| _AnaDataCategory | _DataSource | _AnaDataCategory | ||
| TextViewIndicator | _DataSource | TextViewIndicator | ||
| MasterdataViewIndicator | _DataSource | MasterdataViewIndicator | ||
| TaskPriorityId | _Rework | HighestPriority | ||
| TaskPriority | _Rework | HighestPriorityText | ||
| TaskPrioritySortOrder | _Rework | HighestPrioritySortOrder | ||
| ReworkIndicator | ||||
| ReworkCategoryText | _Rework | CategoryText | ||
| ReworkItemId | _Rework | ItemId | Russia Statutory Reporting Report Land Tax, Run Item ID | |
| ReworkItemType | _Rework | ItemType | Object Type | |
| _TaskPriority | _Rework | _TaskPriority | ||
| AtoItemId | _AtoBomDataSource | ItemId | Russia Statutory Reporting Report Land Tax, Run Item ID | |
| AtoItemType | _AtoBomDataSource | ItemType | Object Type | |
| ObjectStatusText | ||||
| ObjectStatus | ||||
| CDBStatusCode | ||||
| JoinCondition_fc | ||||
| ParameterValue_fc |
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 C_CustomCDSViewDataSource.
-- 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: APS_CCV_C_DSRC_V
CREATE VIEW C_CustomCDSViewDataSource AS
SELECT
entity_name AS EntityName,
data_source_uuid AS DataSourceUUID,
data_source_alias AS DataSourceAlias,
Counter,
data_source_name AS DataSourceName,
Type,
Cardinality,
join_cond_comparison_operator AS JoinCondComparisonOperator,
_Root.Scenario AS Scenario,
_Root._Scenario AS _Scenario,
_DataSource.SourceOrigin AS SourceOrigin,
_DataSource._SourceOrigin AS _SourceOrigin,
_DataSource.AccessProtection AS AccessProtection,
_DataSource._AccessProtection AS _AccessProtection,
_DataSource.AnalyticsDataCategory AS AnalyticsDataCategory,
_DataSource._AnaDataCategory AS _AnaDataCategory,
_DataSource.TextViewIndicator AS TextViewIndicator,
_DataSource.MasterdataViewIndicator AS MasterdataViewIndicator,
_Rework.HighestPriority AS TaskPriorityId,
_Rework.HighestPriorityText AS TaskPriority,
_Rework.HighestPrioritySortOrder AS TaskPrioritySortOrder,
cast( _Rework.ReworkIndicator as aps_ccv_rework_ind preserving type ) AS ReworkIndicator,
_Rework.CategoryText AS ReworkCategoryText,
_Rework.ItemId AS ReworkItemId,
_Rework.ItemType AS ReworkItemType,
_Rework._TaskPriority AS _TaskPriority,
_AtoBomDataSource.ItemId AS AtoItemId,
_AtoBomDataSource.ItemType AS AtoItemType,
cast( ' ' as abap.sstring( 100 ) ) AS ObjectStatusText,
cast( ' ' as abap.sstring( 10 ) ) AS ObjectStatus,
' ' AS CDBStatusCode,
cast( ' ' as boolean preserving type ) AS JoinCondition_fc,
cast( ' ' as boolean preserving type ) AS ParameterValue_fc
FROM I_CustomCDSViewDataSource
LEFT OUTER JOIN C_CustomCDSViewRoot AS _Root ON _Root.EntityName = I_CustomCDSViewDataSource.entity_name -- association [1..1]
LEFT OUTER JOIN C_CustomCDSViewDSJoinCondition AS _JoinCondition ON _JoinCondition.EntityName = I_CustomCDSViewDataSource.entity_name AND _JoinCondition.DataSourceUUID = I_CustomCDSViewDataSource.data_source_uuid -- association [0..*]
LEFT OUTER JOIN C_CustomCDSViewParameterValue AS _ParameterValue ON _ParameterValue.EntityName = I_CustomCDSViewDataSource.entity_name AND _ParameterValue.DataSourceUUID = I_CustomCDSViewDataSource.data_source_uuid -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewDatasourceType AS _DatasourceType ON _DatasourceType.DataSourceType = I_CustomCDSViewDataSource.type -- association [0..1]
LEFT OUTER JOIN I_CCV_DATASOURCE_HELPER AS _DataSource ON _DataSource.DataSourceName = I_CustomCDSViewDataSource.data_source_name -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewRework AS _Rework ON _Rework.EntityName = I_CustomCDSViewDataSource.data_source_name -- association [0..1]
LEFT OUTER JOIN I_CCV_ATO_BOM_DS AS _AtoBomDataSource ON _AtoBomDataSource.EntityName = I_CustomCDSViewDataSource.data_source_name -- 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