I_CustomCDSViewDataSource

DDL: I_CUSTOMCDSVIEWDATASOURCE SQL: APS_CCV_I_DSRC_V Type: view

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)

SourceAliasJoin Type
aps_ccv_d_datsrc aps_ccv_d_datsrc from

Associations (7)

CardinalityTargetAliasCondition
[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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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..*]
;