I_ChmlCompositionCategory
Chemical Composition Category
I_ChmlCompositionCategory is a Basic CDS View that provides data about "Chemical Composition Category" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | CompositionCategory | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ChmlCompositionCategoryT | _Text | $projection.ChmlCompositionCategory = _Text.ChmlCompositionCategory |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Chemical Composition Category | view | |
| AbapCatalog.sqlViewName | ICCMPSCATEGORY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.representativeKey | ChmlCompositionCategory | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| domvalue_l11asChmlCompositionCategory | ||||
| _Text | _Text |
--Label of view
@EndUserText.label: 'Chemical Composition Category'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'ICCMPSCATEGORY',
--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:
{
// authorization check not required as view only reads domain values
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #BASIC
@ObjectModel:
{
resultSet.sizeCategory: #XS,
--Performance Annotations
usageType:
{
dataClass: #META,
sizeCategory: #S,
serviceQuality: #B
},
representativeKey: 'ChmlCompositionCategory'
}
define view I_ChmlCompositionCategory
--Select data from domain value
as select from dd07l as CompositionCategory
--Text association
association [0..*] to I_ChmlCompositionCategoryT as _Text on $projection.ChmlCompositionCategory = _Text.ChmlCompositionCategory
{
--Domain Value of Composition Category
@ObjectModel.text.association: '_Text'
key substring( CompositionCategory.domvalue_l, 1, 1 ) as ChmlCompositionCategory,
/*Association*/
_Text
}
where
CompositionCategory.domname = 'EHFND_CCI_CCMPS_CATEGORY'
and CompositionCategory.as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_CHMLCOMPOSITIONCATEGORYT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/
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