C_CCV_EIT_Element

DDL: C_CCV_EIT_ELEMENT SQL: APS_CCVEIT_ELEM Type: view

Consumption View Export/Import - Element

C_CCV_EIT_Element is a CDS View that provides data about "Consumption View Export/Import - Element" in SAP S/4HANA. It reads from 1 data source (I_CustomCDSViewElement) and exposes 21 fields with key fields EntityName, DataSourceAlias, ElementAlias, Counter. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustomCDSViewElement _Element from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_CCV_EIT_Root _Root _Root.EntityName = $projection.EntityName
[0..*] C_CCV_EIT_ElementPathComp _ElementPathComp _ElementPathComp.EntityName = $projection.EntityName and _ElementPathComp.DataSourceAlias = $projection.DataSourceAlias and _ElementPathComp.ElementAlias = $projection.ElementAlias
[0..1] C_CCV_EIT_ElementProperties _ElementProperties _ElementProperties.EntityName = $projection.EntityName and _ElementProperties.DataSourceAlias = $projection.DataSourceAlias and _ElementProperties.ElementAlias = $projection.ElementAlias and _ElementProperties.Counter = $projection.Counter
[0..1] I_CustomCDSViewDataSource _DataSourceHelper _DataSourceHelper.entity_name = $projection.EntityName and _DataSourceHelper.data_source_uuid = $projection.data_source_uuid
[0..*] C_CCV_EIT_ElemAnnotation _ElemAnnotations _ElemAnnotations.EntityName = $projection.EntityName and _ElemAnnotations.elem_uuid = $projection.elem_uuid

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName APS_CCVEIT_ELEM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Consumption View Export/Import - Element view
ObjectModel.transactionalProcessingDelegated false view
Metadata.allowExtensions true view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY EntityName entity_name Table Name
KEY DataSourceAlias _DataSourceHelper data_source_alias Data Source Alias
KEY ElementAlias elem_alias Alias
KEY Counter counter Version
ElementLabel elem_label Label
SourceEntityName source_entity_name DD: Name of a structured object (e.g. entity, context)
DatasourceElement data_source_elem Alias
OriginCode origin_code Origin
ExpressionIndicator expression_ind Calculated field
Expression expression Expression
AssociationIndicator assoc_ind Association
PrivilegedAssociationIndicator privileged_assoc_ind Custom CDS View Privileged Association Indicator
KeyIndicator key_ind Key
PathEdit path Path rule
ParameterName _Parameter parameter_name Support Parameter
elem_uuid elem_uuid UUID
param_uuid param_uuid UUID
_Root _Root
_ElementPathComp _ElementPathComp
_ElementProperties _ElementProperties
_ElemAnnotations _ElemAnnotations

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_CCV_EIT_Element.
-- 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_CCVEIT_ELEM

CREATE VIEW C_CCV_EIT_Element AS
SELECT
  entity_name AS EntityName,
  _DataSourceHelper.data_source_alias AS DataSourceAlias,
  elem_alias AS ElementAlias,
  Counter,
  elem_label AS ElementLabel,
  source_entity_name AS SourceEntityName,
  data_source_elem AS DatasourceElement,
  origin_code AS OriginCode,
  expression_ind AS ExpressionIndicator,
  Expression,
  assoc_ind AS AssociationIndicator,
  privileged_assoc_ind AS PrivilegedAssociationIndicator,
  key_ind AS KeyIndicator,
  path AS PathEdit,
  _Parameter.parameter_name AS ParameterName,
  elem_uuid,
  param_uuid
FROM I_CustomCDSViewElement AS _Element
LEFT OUTER JOIN C_CCV_EIT_Root AS _Root ON _Root.EntityName = EntityName  -- association [1..1]
LEFT OUTER JOIN C_CCV_EIT_ElementPathComp AS _ElementPathComp ON _ElementPathComp.EntityName = EntityName AND _ElementPathComp.DataSourceAlias = DataSourceAlias AND _ElementPathComp.ElementAlias = ElementAlias  -- association [0..*]
LEFT OUTER JOIN C_CCV_EIT_ElementProperties AS _ElementProperties ON _ElementProperties.EntityName = EntityName AND _ElementProperties.DataSourceAlias = DataSourceAlias AND _ElementProperties.ElementAlias = ElementAlias AND _ElementProperties.Counter = Counter  -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewDataSource AS _DataSourceHelper ON _DataSourceHelper.entity_name = EntityName AND _DataSourceHelper.data_source_uuid = data_source_uuid  -- association [0..1]
LEFT OUTER JOIN C_CCV_EIT_ElemAnnotation AS _ElemAnnotations ON _ElemAnnotations.EntityName = EntityName AND _ElemAnnotations.elem_uuid = elem_uuid  -- association [0..*]
;