C_CustomCDSViewFilter

DDL: C_CUSTOMCDSVIEWFILTER SQL: APS_CCV_C_FILT_V Type: view

Custom CDS View Filter

C_CustomCDSViewFilter is a CDS View that provides data about "Custom CDS View Filter" in SAP S/4HANA. It reads from 1 data source (I_CustomCDSViewFilter) and exposes 27 fields with key fields EntityName, FilterUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustomCDSViewFilter I_CustomCDSViewFilter from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_CustomCDSViewRoot _Root _Root.EntityName = $projection.EntityName
[1..1] C_CustomCDSViewDataSource _DataSource _DataSource.EntityName = $projection.EntityName and _DataSource.DataSourceUUID = $projection.ViewFieldDatasourceUUID
[0..1] C_CustomCDSViewDataSource _FieldValueDataSource _FieldValueDataSource.EntityName = $projection.EntityName and _FieldValueDataSource.DataSourceUUID = $projection.FieldValuePathDatasourceUUID
[0..*] C_CustomCDSViewParameter _Parameters _Parameters.EntityName = $projection.EntityName
[0..1] C_CustomCDSViewParameter _FieldValueParameter _FieldValueParameter.EntityName = $projection.EntityName and _FieldValueParameter.ParameterUUID = $projection.FieldValueParameterUUID

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName APS_CCV_C_FILT_V view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Custom CDS View Filter view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
Metadata.allowExtensions true view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY EntityName entity_name Table Name
KEY FilterUUID filter_uuid UUID
Counter counter Version
ViewFieldDatasourceUUID data_source_uuid UUID
ViewFieldDatasourceName _DataSource DataSourceName
ViewFieldDatasourceAlias _DataSource DataSourceAlias
ViewField view_field Path
ViewFieldDisplay
Operator operator Type of OPTION component in row type of a Ranges type
FieldValueType value_type Value Type
FieldValueConstant field_value_constant Value
FieldValuePath field_value_path Value
FieldValuePathDatasourceUUID field_value_path_ds_uuid UUID
FieldValueParameterUUID field_value_param_uuid UUID
FieldValueSessionVariable field_value_session_var Session Variable
FieldValuePathDisplay
DataType
FieldValueDatasourceAlias _FieldValueDataSource DataSourceAlias
FieldValueParameterName _FieldValueParameter ParameterName Rule Parameter
_Root _Root
_ComparisonOperator _ComparisonOperator
_ValueType _ValueType
_DataSource _DataSource
_FieldValueDataSource _FieldValueDataSource
_FieldValueParameter _FieldValueParameter
_SessionVariable _SessionVariable
_Parameters _Parameters

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_CustomCDSViewFilter.
-- 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_FILT_V

CREATE VIEW C_CustomCDSViewFilter AS
SELECT
  entity_name AS EntityName,
  filter_uuid AS FilterUUID,
  Counter,
  data_source_uuid AS ViewFieldDatasourceUUID,
  _DataSource.DataSourceName AS ViewFieldDatasourceName,
  _DataSource.DataSourceAlias AS ViewFieldDatasourceAlias,
  view_field AS ViewField,
  cast('' as abap.sstring(1000) ) AS ViewFieldDisplay,
  Operator,
  value_type AS FieldValueType,
  field_value_constant AS FieldValueConstant,
  field_value_path AS FieldValuePath,
  field_value_path_ds_uuid AS FieldValuePathDatasourceUUID,
  field_value_param_uuid AS FieldValueParameterUUID,
  field_value_session_var AS FieldValueSessionVariable,
  cast('' as abap.sstring(1000) ) AS FieldValuePathDisplay,
  cast('' as abap.sstring(15) ) AS DataType,
  _FieldValueDataSource.DataSourceAlias AS FieldValueDatasourceAlias,
  _FieldValueParameter.ParameterName AS FieldValueParameterName
FROM I_CustomCDSViewFilter
LEFT OUTER JOIN C_CustomCDSViewRoot AS _Root ON _Root.EntityName = EntityName  -- association [1..1]
LEFT OUTER JOIN C_CustomCDSViewDataSource AS _DataSource ON _DataSource.EntityName = EntityName AND _DataSource.DataSourceUUID = ViewFieldDatasourceUUID  -- association [1..1]
LEFT OUTER JOIN C_CustomCDSViewDataSource AS _FieldValueDataSource ON _FieldValueDataSource.EntityName = EntityName AND _FieldValueDataSource.DataSourceUUID = FieldValuePathDatasourceUUID  -- association [0..1]
LEFT OUTER JOIN C_CustomCDSViewParameter AS _Parameters ON _Parameters.EntityName = EntityName  -- association [0..*]
LEFT OUTER JOIN C_CustomCDSViewParameter AS _FieldValueParameter ON _FieldValueParameter.EntityName = EntityName AND _FieldValueParameter.ParameterUUID = FieldValueParameterUUID  -- association [0..1]
;