C_CCV_EIT_Root

DDL: C_CCV_EIT_ROOT SQL: APS_CCVEIT_ROOT Type: view Package: SAPS_CCV_EIT

Consumption View Export/Import - Root

C_CCV_EIT_Root is a CDS View that provides data about "Consumption View Export/Import - Root" in SAP S/4HANA. It reads from 1 data source (I_CustomCDSViewRoot) and exposes 24 fields with key field EntityName. It has 6 associations to related views. Part of development package SAPS_CCV_EIT.

Data Sources (1)

SourceAliasJoin Type
I_CustomCDSViewRoot I_CustomCDSViewRoot from

Associations (6)

CardinalityTargetAliasCondition
[0..*] C_CCV_EIT_DataSource _Datasource _Datasource.EntityName = $projection.EntityName
[0..*] C_CCV_EIT_Filter _Filter _Filter.EntityName = $projection.EntityName
[0..*] C_CCV_EIT_Parameter _Parameter _Parameter.EntityName = $projection.EntityName
[0..*] C_CCV_EIT_Element _Element _Element.EntityName = $projection.EntityName
[0..*] C_CCV_EIT_ViewAnnotation _ViewAnnotation _ViewAnnotation.EntityName = $projection.EntityName
[0..1] I_CustomCDSViewElement _RepKeyElement _RepKeyElement.entity_name = $projection.EntityName and _RepKeyElement.elem_uuid = $projection.representative_key_uuid

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName APS_CCVEIT_ROOT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Consumption View Export/Import - Root view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated false view
ObjectModel.semanticKey EntityName view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY EntityName entity_name Table Name
CamelCaseEntityName camel_case_entity_name Entity Name
DraftEntityName draft_entity_name Name
AuthorizationCheck authorization_check Custom CDS View Authorization Check
Scenario scenario VAT Scenario
Type type Worklist Type
DDLImplementationVersion ddl_impl_vers DDL version
EntityLabel entity_label Entity Label
RepresentativeKeyElementAlias _RepKeyElement elem_alias Alias
DBHints db_hints
FilterComparisonOperator filter_comparison_operator Operator
FilterManuallyChangedIndicator filter_manual_changed_ind Boolean Variable (X = True, - = False, Space = Unknown)
Filter filter KPI Filter
TransportOrganizerItemName entity_name Table Name
LastChangedAt
LastChangedBy
OriginalLanguage
ViewName view_name View Name
Migrated migrated_ind Boolean Variable (X = True, - = False, Space = Unknown)
_Datasource _Datasource
_Filter _Filter
_Parameter _Parameter
_Element _Element
_ViewAnnotation _ViewAnnotation

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_Root.
-- 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_ROOT

CREATE VIEW C_CCV_EIT_Root AS
SELECT
  entity_name AS EntityName,
  camel_case_entity_name AS CamelCaseEntityName,
  draft_entity_name AS DraftEntityName,
  authorization_check AS AuthorizationCheck,
  Scenario,
  Type,
  ddl_impl_vers AS DDLImplementationVersion,
  entity_label AS EntityLabel,
  _RepKeyElement.elem_alias AS RepresentativeKeyElementAlias,
  db_hints AS DBHints,
  filter_comparison_operator AS FilterComparisonOperator,
  filter_manual_changed_ind AS FilterManuallyChangedIndicator,
  Filter,
  entity_name AS TransportOrganizerItemName,
  cast(tstmp_current_utctimestamp() as timestamp) AS LastChangedAt,
  $session.user AS LastChangedBy,
  $session.system_language AS OriginalLanguage,
  view_name AS ViewName,
  migrated_ind AS Migrated
FROM I_CustomCDSViewRoot
LEFT OUTER JOIN C_CCV_EIT_DataSource AS _Datasource ON _Datasource.EntityName = EntityName  -- association [0..*]
LEFT OUTER JOIN C_CCV_EIT_Filter AS _Filter ON _Filter.EntityName = EntityName  -- association [0..*]
LEFT OUTER JOIN C_CCV_EIT_Parameter AS _Parameter ON _Parameter.EntityName = EntityName  -- association [0..*]
LEFT OUTER JOIN C_CCV_EIT_Element AS _Element ON _Element.EntityName = EntityName  -- association [0..*]
LEFT OUTER JOIN C_CCV_EIT_ViewAnnotation AS _ViewAnnotation ON _ViewAnnotation.EntityName = EntityName  -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewElement AS _RepKeyElement ON _RepKeyElement.entity_name = EntityName AND _RepKeyElement.elem_uuid = representative_key_uuid  -- association [0..1]
;