ddcds_entity_elements_extended
Metadata of CDS Entities: ext. Elements
ddcds_entity_elements_extended is a CDS View that provides data about "Metadata of CDS Entities: ext. Elements" in SAP S/4HANA. It reads from 1 data source (dd03nd) and exposes 2 fields with key fields entity_name, element_name.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd03nd | elements | from |
Annotations (2)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| EndUserText.label | Metadata of CDS Entities: ext. Elements | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | entity_name | Entity Name Upper Case | ||
| KEY | element_name | Entity State |
@AccessControl.authorizationCheck: #NOT_ALLOWED
@EndUserText.label: 'Metadata of CDS Entities: ext. Elements'
// **********************************************************************************************************************************************************//
// This view provides extended elements metadata of CDS Entities. //
// //
// it is only for internal purpose //
// and hence only included in internal package interface //
// //
// **********************************************************************************************************************************************************//
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] }*/
define view entity ddcds_entity_elements_extended
as select from dd03nd as elements
{
@EndUserText.label: 'Entity Name Upper Case'
key cast(elements.strucobjn as abap.char(30)) as entity_name,
@EndUserText.label: 'Entity State'
key cast(elements.fieldname as abap.char(30)) as element_name,
// in case of extends of classical cds view the sqlviewappendname is returned
// extends of view entities the ddl name of the extend is returned
@EndUserText.label: 'Defined in Object'
cast( case when elements.appendstruname is not initial then elements.appendstruname
when elements.extendname is not initial then elements.extendname
else ''
end as abap.char(30) ) as extend_object_name
}
where
elements.as4local = 'A'
and(
elements.appendstruname is not initial
or elements.extendname is not initial
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD03ND"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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