I_CustomCDSViewDataSource
Custom CDS View Data Source
I_CustomCDSViewDataSource is a CDS View that provides data about "Custom CDS View Data Source" in SAP S/4HANA. It reads from 1 data source (aps_ccv_d_datsrc) and exposes 11 fields with key field entity_name. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| aps_ccv_d_datsrc | aps_ccv_d_datsrc | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CustomCDSViewRoot | _Root | _Root.entity_name = $projection.entity_name |
| [0..1] | I_CustomCDSViewLogicalLinkOp | _LogicalLinkOperator | _LogicalLinkOperator.LogicalLinkOperator = $projection.join_cond_comparison_operator |
| [0..*] | I_CustomCDSViewDSJoinCondition | _JoinCondition | _JoinCondition.entity_name = $projection.entity_name and _JoinCondition.data_source_uuid = $projection.data_source_uuid |
| [0..1] | I_CustomCDSViewDatasourceType | _DataSourceType | _DataSourceType.DataSourceType = $projection.type |
| [0..1] | I_CustomCDSViewCardinality | _Cardinality | _Cardinality.Cardinality = $projection.cardinality |
| [0..*] | I_CustomCDSViewParameterValue | _ParameterValue | _ParameterValue.entity_name = $projection.entity_name and _ParameterValue.data_source_uuid = $projection.data_source_uuid |
| [0..*] | I_CustomCDSViewElementPathComp | _ElementPathComponent | _ElementPathComponent.data_source_uuid = $projection.data_source_uuid and _ElementPathComponent.entity_name = $projection.entity_name |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | APS_CCV_I_DSRC_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Custom CDS View Data Source | view | |
| ObjectModel.writeDraftPersistence | APS_CCV_D_DSRC_D | view | |
| ObjectModel.writeActivePersistence | APS_CCV_D_DATSRC | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.transactionalProcessingEnabled | true | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | entity_name | entity_name | Table Name | |
| counter | counter | Version | ||
| type | type | Worklist Type | ||
| cardinality | cardinality | Cardinality | ||
| _Root | _Root | |||
| _JoinCondition | _JoinCondition | |||
| _ParameterValue | _ParameterValue | |||
| _DataSourceType | _DataSourceType | |||
| _Cardinality | _Cardinality | |||
| _LogicalLinkOperator | _LogicalLinkOperator | |||
| _ElementPathComponent | _ElementPathComponent |
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.
-- 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_I_DSRC_V
CREATE VIEW I_CustomCDSViewDataSource AS
SELECT
entity_name,
counter,
type,
cardinality
FROM aps_ccv_d_datsrc
LEFT OUTER JOIN I_CustomCDSViewRoot AS _Root ON _Root.entity_name = entity_name -- association [1..1]
LEFT OUTER JOIN I_CustomCDSViewLogicalLinkOp AS _LogicalLinkOperator ON _LogicalLinkOperator.LogicalLinkOperator = join_cond_comparison_operator -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewDSJoinCondition AS _JoinCondition ON _JoinCondition.entity_name = entity_name AND _JoinCondition.data_source_uuid = data_source_uuid -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewDatasourceType AS _DataSourceType ON _DataSourceType.DataSourceType = type -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewCardinality AS _Cardinality ON _Cardinality.Cardinality = cardinality -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewParameterValue AS _ParameterValue ON _ParameterValue.entity_name = entity_name AND _ParameterValue.data_source_uuid = data_source_uuid -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewElementPathComp AS _ElementPathComponent ON _ElementPathComponent.data_source_uuid = data_source_uuid AND _ElementPathComponent.entity_name = entity_name -- association [0..*]
;
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