I_CustomCDSViewRoot
Custom CDS View Root
I_CustomCDSViewRoot is a CDS View that provides data about "Custom CDS View Root" in SAP S/4HANA. It reads from 1 data source (aps_ccv_d_root) and exposes 18 fields with key field entity_name. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| aps_ccv_d_root | aps_ccv_d_root | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_CustomCDSViewDataSource | _Datasource | _Datasource.entity_name = $projection.entity_name |
| [0..*] | I_CustomCDSViewFilter | _Filter | _Filter.entity_name = $projection.entity_name |
| [0..1] | I_CustomCDSViewScenario | _Scenario | _Scenario.scenario = $projection.scenario |
| [0..1] | I_CustomCDSViewAuthCheck | _AuthorizationCheck | _AuthorizationCheck.AuthorizationCheck = $projection.authorization_check |
| [0..1] | I_CustomCDSViewLogicalLinkOp | _LogicalLinkOperator | _LogicalLinkOperator.LogicalLinkOperator = $projection.filter_comparison_operator |
| [0..*] | I_CustomCDSViewParameter | _Parameter | _Parameter.entity_name = $projection.entity_name |
| [0..*] | I_CustomCDSViewParameterValue | _ParameterValue | _ParameterValue.entity_name = $projection.entity_name |
| [0..*] | I_CustomCDSViewViewAnnotation | _ViewAnnotation | _ViewAnnotation.entity_name = $projection.entity_name |
| [0..*] | I_CustomCDSViewElement | _Element | _Element.entity_name = $projection.entity_name |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | APS_CCV_I_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.transactionalProcessingEnabled | true | view | |
| ObjectModel.draftEnabled | true | view | |
| ObjectModel.draft.concurrentEditing | true | view | |
| ObjectModel.draft.sharing | #PUBLIC | view | |
| ObjectModel.writeDraftPersistence | APS_CCV_D_ROOT_D | view | |
| ObjectModel.writeActivePersistence | APS_CCV_D_ROOT | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.entityChangeStateId | lchg_date_time | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | entity_name | entity_name | Table Name | |
| scenario | scenario | VAT Scenario | ||
| view_name | view_name | View Name | ||
| type | type | Worklist Type | ||
| entity_label | entity_label | Label | ||
| filter | filter | Filter | ||
| migrated_ind | migrated_ind | Boolean Variable (X = True, - = False, Space = Unknown) | ||
| crea_uname | crea_uname | User Name | ||
| lchg_uname | lchg_uname | User Name | ||
| _Datasource | _Datasource | |||
| _Filter | _Filter | |||
| _Scenario | _Scenario | |||
| _AuthorizationCheck | _AuthorizationCheck | |||
| _LogicalLinkOperator | _LogicalLinkOperator | |||
| _Parameter | _Parameter | |||
| _ParameterValue | _ParameterValue | |||
| _ViewAnnotation | _ViewAnnotation | |||
| _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 I_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_I_ROOT_V
CREATE VIEW I_CustomCDSViewRoot AS
SELECT
entity_name,
scenario,
view_name,
type,
entity_label,
filter,
migrated_ind,
crea_uname,
lchg_uname
FROM aps_ccv_d_root
LEFT OUTER JOIN I_CustomCDSViewDataSource AS _Datasource ON _Datasource.entity_name = entity_name -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewFilter AS _Filter ON _Filter.entity_name = entity_name -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewScenario AS _Scenario ON _Scenario.scenario = scenario -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewAuthCheck AS _AuthorizationCheck ON _AuthorizationCheck.AuthorizationCheck = authorization_check -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewLogicalLinkOp AS _LogicalLinkOperator ON _LogicalLinkOperator.LogicalLinkOperator = filter_comparison_operator -- association [0..1]
LEFT OUTER JOIN I_CustomCDSViewParameter AS _Parameter ON _Parameter.entity_name = entity_name -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewParameterValue AS _ParameterValue ON _ParameterValue.entity_name = entity_name -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewViewAnnotation AS _ViewAnnotation ON _ViewAnnotation.entity_name = entity_name -- association [0..*]
LEFT OUTER JOIN I_CustomCDSViewElement AS _Element ON _Element.entity_name = entity_name -- 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