C_CCV_EIT_Element
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomCDSViewElement | _Element | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
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