I_ChemicalNameText
Chemical Name
I_ChemicalNameText is a Basic CDS View that provides data about "Chemical Name" in SAP S/4HANA. It reads from 2 data sources (ehfndd_chm_binfo, ehfndd_chm_name) and exposes 11 fields with key fields ChemicalUUID, RevisionEndDate, Language, ChemicalRevisionUUID. It has 4 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| ehfndd_chm_binfo | BasicInfo | inner |
| ehfndd_chm_name | ChemicalNameText | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ChemicalBasicInfo | _ChemicalBasicInfo | $projection.ChemicalBasicInfoUUID = _ChemicalBasicInfo.ChemicalBasicInfoUUID |
| [1..1] | I_ChemicalRoot | _ChemicalRoot | $projection.ChemicalUUID = _ChemicalRoot.ChemicalUUID |
| [1..1] | I_ChemicalRevision | _ChemicalRevision | $projection.ChemicalUUID = _ChemicalRevision.ChemicalUUID and $projection.ChemicalRevisionUUID = _ChemicalRevision.ChemicalRevisionUUID |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Chemical Name | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | ICHMNAMET | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChemicalUUID | |||
| _ChemicalRoot | _ChemicalRoot | |||
| KEY | RevisionEndDate | _ChemicalRevision | RevisionEndDate | |
| KEY | Language | |||
| KEY | ChemicalRevisionUUID | ehfndd_chm_binfo | parent_key | |
| _ChemicalRevision | _ChemicalRevision | |||
| ChemicalBasicInfoUUID | ehfndd_chm_name | parent_key | ||
| _ChemicalBasicInfo | _ChemicalBasicInfo | |||
| RevisionStartDate | _ChemicalRevision | RevisionStartDate | ||
| NameOfChemical | ehfndd_chm_name | text | ||
| _Language | _Language |
@EndUserText.label: 'Chemical Name'
@Analytics.dataExtraction.enabled:true
@VDM.viewType: #BASIC
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: [ 'ChemicalUUID', 'ChemicalRevisionUUID' ]
@AccessControl.authorizationCheck: #CHECK
@AbapCatalog.sqlViewName: 'ICHMNAMET'
@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: #L, // < 10.000.000
dataClass: #MASTER }
define view I_ChemicalNameText as select from ehfndd_chm_name as ChemicalNameText
// begin correction 2900350
inner join ehfndd_chm_binfo as BasicInfo on ChemicalNameText.parent_key = BasicInfo.db_key
// end correction 2900350
association [1..1] to I_ChemicalBasicInfo as _ChemicalBasicInfo on $projection.ChemicalBasicInfoUUID = _ChemicalBasicInfo.ChemicalBasicInfoUUID
association [1..1] to I_ChemicalRoot as _ChemicalRoot on $projection.ChemicalUUID = _ChemicalRoot.ChemicalUUID
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] }*/
association [1..1] to I_ChemicalRevision as _ChemicalRevision on $projection.ChemicalUUID = _ChemicalRevision.ChemicalUUID
and $projection.ChemicalRevisionUUID = _ChemicalRevision.ChemicalRevisionUUID
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_ChemicalRoot'
@Consumption.valueHelpDefinition: [{ entity: { name: 'I_ChemicalStdVH', element: 'ChemicalUUID' }}]
key cast( ChemicalNameText.root_key as ehfnd_chm_uuid_ref preserving type ) as ChemicalUUID,
_ChemicalRoot,
@Semantics.businessDate.to
// begin correction 2900350
key _ChemicalRevision.RevisionEndDate,
// end correction 2900350
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key cast( ChemicalNameText.language as sylangu preserving type ) as Language,
// begin correction 2900350
key BasicInfo.parent_key as ChemicalRevisionUUID,
// end correction 2900350
_ChemicalRevision,
// begin correction 2900350
// @ObjectModel.foreignKey.association: '_ChemicalBasicInfo'
ChemicalNameText.parent_key as ChemicalBasicInfoUUID,
// end correction 2900350
_ChemicalBasicInfo,
@Semantics.businessDate.from
// begin correction 2900350
_ChemicalRevision.RevisionStartDate,
// end correction 2900350
@Semantics.text:true
ChemicalNameText.text as NameOfChemical,
_Language
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHEMICALREVISION",
"EHFNDD_CHM_BINFO",
"EHFNDD_CHM_NAME"
],
"ASSOCIATED":
[
"I_CHEMICALBASICINFO",
"I_CHEMICALREVISION",
"I_CHEMICALROOT",
"I_LANGUAGE"
],
"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