C_ChmlCompositionComponentVH
Composition Component
C_ChmlCompositionComponentVH is a Consumption CDS View that provides data about "Composition Component" in SAP S/4HANA. It reads from 1 data source (I_ChmlComponent) and exposes 1 field.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlComponent | Component | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCCMPCOMPVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Composition Component | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.representativeKey | SubstanceUUID | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SubstanceNameasSubstanceName |
@AbapCatalog: {
sqlViewName: 'CCCMPCOMPVH',
compiler.compareFilter: true }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Composition Component'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
usageType: {
serviceQuality: #C, // < 2 msec
sizeCategory: #L, // < 1.000
dataClass: #MASTER },
dataCategory: #VALUE_HELP,
resultSet.sizeCategory: #XS,
representativeKey: 'SubstanceUUID' }
@VDM.viewType: #CONSUMPTION
define view C_ChmlCompositionComponentVH
--Select data from basic view 'Chemical Component'
as select from I_ChmlComponent as Component
{
@Consumption.filter.hidden: true -- hide that field as input field in the generated VH
@Consumption.hidden: false -- must be not true otherwise wouldn't the VH annotation binding work
@ObjectModel.text.element: ['SubstanceName']
key SubstanceUUID,
key ChmlCompositionUUID,
@UI.hidden: true
key Component._ChemicalComposition.ChmlCompositionType,
ChmlCmplncInfoUUID,
ChmlSuplrMatlUUID,
HostSubstanceUUID,
@Semantics.text: true
Component._Substance.SubstanceName as SubstanceName
}
where
Component._ChemicalComposition.ChmlCompositionStatus = 'RE'
and Component._ChemicalComposition.ChmlCompositionType <> 'MATLBSD1'
and Component._ChemicalComposition.ChmlCompositionType <> 'MATLBSD2'
and Component._ChemicalComposition.ChmlCompositionType <> 'TS'
and Component._ChemicalComposition.ChmlCompositionType <> 'POLYMER'
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