C_CCV_EIT_ElemAnnotation

DDL: C_CCV_EIT_ELEMANNOTATION SQL: APS_CCVEIT_EA Type: view

Consumption View Export / Import EA

C_CCV_EIT_ElemAnnotation is a CDS View that provides data about "Consumption View Export / Import EA" in SAP S/4HANA. It reads from 2 data sources (I_CustomCDSViewElemAnnotation, I_CustomCDSViewElement) and exposes 9 fields with key fields EntityName, DataSourceAlias, ElementAlias, Counter, Name. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_CustomCDSViewElemAnnotation _ElementAnnotations from
I_CustomCDSViewElement _ElementHelper inner

Associations (3)

CardinalityTargetAliasCondition
[1..1] C_CCV_EIT_Root _Root _Root.EntityName = $projection.EntityName
[1..1] C_CCV_EIT_Element _Element _Element.EntityName = $projection.EntityName and _Element.elem_uuid = $projection.elem_uuid
[1..1] I_CustomCDSViewDataSource _DataSource _DataSource.entity_name = _ElementAnnotations.entity_name and _DataSource.data_source_uuid = _ElementHelper.data_source_uuid

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName APS_CCVEIT_EA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption View Export / Import EA view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY EntityName I_CustomCDSViewElemAnnotation entity_name Table Name
KEY DataSourceAlias _DataSource data_source_alias Data Source Alias
KEY ElementAlias I_CustomCDSViewElement elem_alias Alias
KEY Counter I_CustomCDSViewElement counter Version
KEY Name name Zone name
Value value Value from table
elem_uuid I_CustomCDSViewElemAnnotation elem_uuid UUID
_Root _Root
_Element _Element

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_ElemAnnotation.
-- 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_EA

CREATE VIEW C_CCV_EIT_ElemAnnotation AS
SELECT
  _ElementAnnotations.entity_name AS EntityName,
  _DataSource.data_source_alias AS DataSourceAlias,
  _ElementHelper.elem_alias AS ElementAlias,
  _ElementHelper.counter AS Counter,
  Name,
  Value,
  _ElementAnnotations.elem_uuid AS elem_uuid
FROM I_CustomCDSViewElemAnnotation AS _ElementAnnotations
INNER JOIN I_CustomCDSViewElement AS _ElementHelper ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_CCV_EIT_Root AS _Root ON _Root.EntityName = EntityName  -- association [1..1]
LEFT OUTER JOIN C_CCV_EIT_Element AS _Element ON _Element.EntityName = EntityName AND _Element.elem_uuid = elem_uuid  -- association [1..1]
LEFT OUTER JOIN I_CustomCDSViewDataSource AS _DataSource ON _DataSource.entity_name = _ElementAnnotations.entity_name AND _DataSource.data_source_uuid = _ElementHelper.data_source_uuid  -- association [1..1]
;