I_ChemicalRoot
Chemical Root
I_ChemicalRoot is a Basic CDS View (Dimension) that provides data about "Chemical Root" in SAP S/4HANA. It reads from 1 data source (ehfndd_chm_root) and exposes 11 fields with key field ChemicalUUID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehfndd_chm_root | ehfndd_chm_root | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..*] | I_ChemicalRevision | _ChemicalRevision | $projection.ChemicalUUID = _ChemicalRevision.ChemicalUUID |
| [1..1] | I_ChemicalType | _ChemicalType | $projection.ChemicalType = _ChemicalType.ChemicalType |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Chemical Root | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | ChemicalUUID | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ICHMROOT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChemicalUUID | |||
| _ChemicalRevision | _ChemicalRevision | |||
| ChemicalID | id | |||
| ChemicalType | chm_nature | |||
| _ChemicalType | _ChemicalType | |||
| CreationDateTime | datetime_cr | |||
| CreatedByUser | user_id_cr | |||
| _CreatedByUser | _CreatedByUser | |||
| LastChangeDateTime | datetime_ch | |||
| LastChangedByUser | user_id_ch | |||
| _LastChangedByUser | _LastChangedByUser |
@EndUserText.label: 'Chemical Root'
@Analytics: { dataCategory:#DIMENSION , dataExtraction.enabled:true }
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'ChemicalUUID'
@Metadata.allowExtensions:true
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.sqlViewName: 'ICHMROOT'
@AbapCatalog.compiler.compareFilter: true
// Client handling by session
@ClientHandling.algorithm: #SESSION_VARIABLE
// used for BOBF Master Data Object
@ObjectModel.usageType:{ serviceQuality: #C, // < 15 msec
sizeCategory: #M, // < 100.000
dataClass: #MASTER }
define view I_ChemicalRoot
as select from ehfndd_chm_root
association [0..1] to I_User as _CreatedByUser on $projection.CreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
association [0..*] to I_ChemicalRevision as _ChemicalRevision on $projection.ChemicalUUID = _ChemicalRevision.ChemicalUUID
association [1..1] to I_ChemicalType as _ChemicalType on $projection.ChemicalType = _ChemicalType.ChemicalType
{
key cast( db_key as ehfnd_chm_uuid_ref preserving type ) as ChemicalUUID,
_ChemicalRevision,
id as ChemicalID,
@ObjectModel.foreignKey.association: '_ChemicalType'
chm_nature as ChemicalType,
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
_ChemicalType,
// Admin data
datetime_cr as CreationDateTime,
user_id_cr as CreatedByUser,
_CreatedByUser,
datetime_ch as LastChangeDateTime,
user_id_ch as LastChangedByUser,
_LastChangedByUser
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EHFNDD_CHM_ROOT"
],
"ASSOCIATED":
[
"I_CHEMICALREVISION",
"I_CHEMICALTYPE",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"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