C_CustomCDSViewRoot
Custom CDS View Root
C_CustomCDSViewRoot is a CDS View that provides data about "Custom CDS View Root" in SAP S/4HANA. It reads from 1 data source (I_CustomCDSViewRoot) and exposes 49 fields with key field EntityName. It has 15 associations to related views. Part of development package SAPS_CCV_UX_ODATA.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CustomCDSViewRoot | I_CustomCDSViewRoot | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_CustomCDSViewDataSource | _Datasource | _Datasource.EntityName = $projection.EntityName |
| [0..*] | C_CustomCDSViewFilter | _Filter | _Filter.EntityName = $projection.EntityName |
| [0..*] | C_CustomCDSViewParameter | _Parameter | _Parameter.EntityName = $projection.EntityName |
| [0..*] | C_CustomCDSViewParameterValue | _ParameterValue | _ParameterValue.EntityName = $projection.EntityName |
| [0..*] | C_CustomCDSViewElement | _Element | _Element.EntityName = $projection.EntityName |
| [0..*] | C_CustomCDSViewElemProperties | _ElementProperties | _ElementProperties.EntityName = $projection.EntityName |
| [1..1] | C_CustomCDSViewATOSettings | _Ato | _Ato.dummy = $projection.EntityName |
| [0..1] | I_CustomCDSViewElement | _RepresentativeKeyElement | _RepresentativeKeyElement.entity_name = $projection.EntityName and _RepresentativeKeyElement.elem_uuid = $projection.RepresentativeKeyElementUUID |
| [0..*] | C_CustomCDSViewDependents | _DependentObjects | _DependentObjects.EntityName = $projection.EntityName |
| [0..1] | I_CustomCDSViewUser | _CreatedByUser | _CreatedByUser.name = $projection.CreationUserName |
| [0..1] | I_CustomCDSViewUser | _LastChangedByUser | _LastChangedByUser.name = $projection.LastChangedUserName |
| [0..1] | C_CCV_EIT_Migration | _MigrationList | _MigrationList.EntityName = $projection.EntityName |
| [0..1] | C_CustomCDSViewRework | _Rework | _Rework.EntityName = $projection.EntityName |
| [0..1] | I_CCV_ATO_ITEMS_EXPORTED | _AtoItemExported | _AtoItemExported.EntityName = $projection.EntityName |
| [0..*] | C_CustomCDSViewReworkTask | _ReworkTask | _ReworkTask.Item_Id = $projection.EntityName |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | APS_CCV_C_ROOT_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Custom CDS View Root | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.semanticKey | EntityName | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.draft.sharing | #PUBLIC | view | |
| ObjectModel.draft.concurrentEditing | true | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Custom CDS View | view | |
| UI.headerInfo.typeNamePlural | Custom CDS Views | view | |
| UI.headerInfo.title.label | Custom CDS View | view | |
| UI.headerInfo.title.value | CamelCaseEntityName | view | |
| UI.headerInfo.description.value | EntityLabel | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EntityName | entity_name | Table Name | |
| DraftEntityName | draft_entity_name | Name | ||
| CamelCaseEntityName | camel_case_entity_name | Entity Name | ||
| AuthorizationCheck | authorization_check | Custom CDS View Authorization Check | ||
| ViewName | view_name | View Name | ||
| Scenario | scenario | VAT Scenario | ||
| Type | type | Worklist Type | ||
| EntityLabel | entity_label | Entity Label | ||
| RepresentativeKeyElementUUID | representative_key_uuid | UUID | ||
| RepresentativeKeyElementAlias | _RepresentativeKeyElement | elem_alias | Alias | |
| DBHints | db_hints | |||
| UseHEXPlanIndicator | ||||
| CreationDateTime | crea_date_time | Time Stamp | ||
| CreationUserName | crea_uname | User Name | ||
| CreationUserDescription | _CreatedByUser | description | Well Code Des. | |
| LastChangedDateTime | lchg_date_time | Time Stamp | ||
| LastChangedUserName | lchg_uname | User Name | ||
| LastChangedUserDescription | _LastChangedByUser | description | Well Code Des. | |
| FilterComparisonOperator | filter_comparison_operator | Operator | ||
| FilterManuallyChangedIndicator | filter_manual_changed_ind | Boolean Variable (X = True, - = False, Space = Unknown) | ||
| Filter | filter | KPI Filter | ||
| GenerationState | generation_state | Generation state | ||
| GenerationLogHandle | Handle | |||
| NumberOfDependentObjects | 0 | |||
| CDBStatusCode | ||||
| ReworkIndicator | _Rework | ReworkIndicator | ||
| TaskPriorityId | _Rework | HighestPriority | ||
| TaskPriority | _Rework | HighestPriorityText | ||
| TaskPrioritySortOrder | _Rework | HighestPrioritySortOrder | ||
| TaskCategoryId | _Rework | Category | Violation Category | |
| TaskCategory | _Rework | CategoryText | ||
| _IsExported | _AtoItemExported | _IsExported | ||
| ExportedState | _AtoItemExported | ExportedState | ||
| _Datasource | _Datasource | |||
| _Filter | _Filter | |||
| _Scenario | _Scenario | |||
| _AuthorizationCheck | _AuthorizationCheck | |||
| _LogicalLinkOperator | _LogicalLinkOperator | |||
| _Parameter | _Parameter | |||
| _ParameterValue | _ParameterValue | |||
| _Element | _Element | |||
| _ElementProperties | _ElementProperties | |||
| _Ato | _Ato | |||
| _DependentObjects | _DependentObjects | |||
| _MigrationList | _MigrationList | |||
| _ReworkTask | _ReworkTask | |||
| _Rework | _Rework | |||
| _TaskPriority | _Rework | _TaskPriority | ||
| _AtoItemExported | _AtoItemExported |
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_CustomCDSViewRoot.
-- 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_ROOT_V
CREATE VIEW C_CustomCDSViewRoot AS
SELECT
entity_name AS EntityName,
draft_entity_name AS DraftEntityName,
camel_case_entity_name AS CamelCaseEntityName,
authorization_check AS AuthorizationCheck,
view_name AS ViewName,
Scenario,
Type,
entity_label AS EntityLabel,
representative_key_uuid AS RepresentativeKeyElementUUID,
_RepresentativeKeyElement.elem_alias AS RepresentativeKeyElementAlias,
db_hints AS DBHints,
' ' AS UseHEXPlanIndicator,
crea_date_time AS CreationDateTime,
crea_uname AS CreationUserName,
_CreatedByUser.description AS CreationUserDescription,
lchg_date_time AS LastChangedDateTime,
lchg_uname AS LastChangedUserName,
_LastChangedByUser.description AS LastChangedUserDescription,
filter_comparison_operator AS FilterComparisonOperator,
filter_manual_changed_ind AS FilterManuallyChangedIndicator,
Filter,
generation_state AS GenerationState,
cast( generation_log_handle as abap.sstring(22) ) AS GenerationLogHandle,
0 AS NumberOfDependentObjects,
' ' AS CDBStatusCode,
_Rework.ReworkIndicator AS ReworkIndicator,
_Rework.HighestPriority AS TaskPriorityId,
_Rework.HighestPriorityText AS TaskPriority,
_Rework.HighestPrioritySortOrder AS TaskPrioritySortOrder,
_Rework.Category AS TaskCategoryId,
_Rework.CategoryText AS TaskCategory,
_AtoItemExported._IsExported AS _IsExported,
_AtoItemExported.ExportedState AS ExportedState,
_Rework._TaskPriority AS _TaskPriority
FROM I_CustomCDSViewRoot
LEFT OUTER JOIN C_CustomCDSViewDataSource AS _Datasource ON _Datasource.EntityName = EntityName -- association [0..*]
LEFT OUTER JOIN C_CustomCDSViewFilter AS _Filter ON _Filter.EntityName = EntityName -- association [0..*]
LEFT OUTER JOIN C_CustomCDSViewParameter AS _Parameter ON _Parameter.EntityName = EntityName -- association [0..*]
LEFT OUTER JOIN C_CustomCDSViewParameterValue AS _ParameterValue ON _ParameterValue.EntityName = EntityName -- association [0..*]
LEFT OUTER JOIN C_CustomCDSViewElement AS _Element ON _Element.EntityName = EntityName -- association [0..*]
LEFT OUTER JOIN C_CustomCDSViewElemProperties AS _ElementProperties ON _ElementProperties.EntityName = EntityName -- association [0..*]
LEFT OUTER JOIN C_CustomCDSViewATOSettings AS _Ato ON _Ato.dummy = EntityName -- association [1..1]
LEFT OUTER JOIN I_CustomCDSViewElement AS _RepresentativeKeyElement ON _RepresentativeKeyElement.entity_name = EntityName AND _RepresentativeKeyElement.elem_uuid = RepresentativeKeyElementUUID -- association [0..1]
LEFT OUTER JOIN C_CustomCDSViewDependents AS _DependentObjects ON _DependentObjects.EntityName = EntityName -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewUser AS _CreatedByUser ON _CreatedByUser.name = CreationUserName -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewUser AS _LastChangedByUser ON _LastChangedByUser.name = LastChangedUserName -- association [0..1]
LEFT OUTER JOIN C_CCV_EIT_Migration AS _MigrationList ON _MigrationList.EntityName = EntityName -- association [0..1]
LEFT OUTER JOIN C_CustomCDSViewRework AS _Rework ON _Rework.EntityName = EntityName -- association [0..1]
LEFT OUTER JOIN I_CCV_ATO_ITEMS_EXPORTED AS _AtoItemExported ON _AtoItemExported.EntityName = EntityName -- association [0..1]
LEFT OUTER JOIN C_CustomCDSViewReworkTask AS _ReworkTask ON _ReworkTask.Item_Id = EntityName -- 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