I_ChmlCompType
Type of Chemical Component
I_ChmlCompType is a Basic CDS View that provides data about "Type of Chemical Component" in SAP S/4HANA. It reads from 1 data source (ehfndc_comptype) and exposes 2 fields. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehfndc_comptype | ChemComponentType | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ChmlCompTypeText | _Text | $projection.ChmlCompType = _Text.ChmlCompType |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Type of Chemical Component | view | |
| AbapCatalog.sqlViewName | ICCOMPTYPE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | ChmlCompType | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ChmlCompTypeName | ||||
| _Text | _Text |
--Label of view
-- e.g. display as filter name in the consumption
@EndUserText.label: 'Type of Chemical Component'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'ICCOMPTYPE',
--If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
// no authorization check required because view only reads customizing for which a check is not needed
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #BASIC
@ObjectModel:
{
--Performance Annotations
usageType:
{
dataClass: #CUSTOMIZING,
sizeCategory: #S,
serviceQuality: #B
},
representativeKey: 'ChmlCompType'
}
define view I_ChmlCompType
--Select data from customizing table 'Type of Chemical component'
as select from ehfndc_comptype as ChemComponentType
--Text association
association [0..*] to I_ChmlCompTypeText as _Text on $projection.ChmlCompType = _Text.ChmlCompType
{
--Type of Chemical Component
@ObjectModel.text.association: '_Text'
key cast(ChemComponentType.type as ehfnd_cci_ccomp_type_nce preserving type ) as ChmlCompType,
@Semantics.text: true
_Text[1: Language = $session.system_language ].ChmlCompTypeName,
/*Association*/
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHMLCOMPTYPETEXT",
"EHFNDC_COMPTYPE"
],
"ASSOCIATED":
[
"I_CHMLCOMPTYPETEXT"
],
"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