A_ProdCmplncMlticmpProdComp
Multicomponent Product Component
A_ProdCmplncMlticmpProdComp is a Consumption CDS View that provides data about "Multicomponent Product Component" in SAP S/4HANA. It reads from 1 data source (I_MatlBasedCmpstnComponent) and exposes 10 fields with key field ChmlCompUUID. It has 1 association to related views. It is exposed through 1 OData service (API_MULTICOMPONENTPRODUCT). Part of development package EHFND_API_ODATA_MCP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MatlBasedCmpstnComponent | Component | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | A_ProdCmplncMlticmpProdCmpstn | _MultiComponentComposition | _MultiComponentComposition.ChmlCompositionUUID = $projection.ChmlCompositionUUID and _MultiComponentComposition.ChmlCompositionStatus = 'RE' |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Multicomponent Product Component | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| VDM.viewType | #CONSUMPTION | view | |
| OData.entityType.name | ProdCmplncMlticmpProdComp_Type | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_MULTICOMPONENTPRODUCT | API_MULTICOMPONENTPRODUCT | V4 | C2 | C1 |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCompUUID | I_MatlBasedCmpstnComponent | MatlBsdCompUUID | |
| ChmlCompositionUUID | I_MatlBasedCmpstnComponent | ChmlCompositionUUID | ||
| ChemicalComplianceInfo | ||||
| ChmlCompQty | I_MatlBasedCmpstnComponent | ChmlCompQty | ||
| ChmlCompQtyAsText | I_MatlBasedCmpstnComponent | ChmlCompQtyAsText | ||
| ChmlCompQtySAPUnit | ||||
| ChmlCompQtyISOUnit | ||||
| ChmlCmplncInfoUUID | I_MatlBasedCmpstnComponent | ChmlCmplncInfoUUID | ||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _MultiComponentComposition | _MultiComponentComposition |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Multicomponent Product Component'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: { serviceQuality: #C, sizeCategory: #L, dataClass: #TRANSACTIONAL }
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.viewType: #CONSUMPTION
@VDM.usage.type: [#TRANSACTIONAL_PROCESSING_SERVICE]
@OData.entityType.name: 'ProdCmplncMlticmpProdComp_Type'
define view entity A_ProdCmplncMlticmpProdComp
as select from I_MatlBasedCmpstnComponent as Component
association [0..1] to A_ProdCmplncMlticmpProdCmpstn as _MultiComponentComposition
on _MultiComponentComposition.ChmlCompositionUUID = $projection.ChmlCompositionUUID
and _MultiComponentComposition.ChmlCompositionStatus = 'RE'
{
key Component.MatlBsdCompUUID as ChmlCompUUID,
Component.ChmlCompositionUUID,
cast(_ChmlCmplncInfo.Specification as ehfnd_vdm_cci_internal_nr preserving type) as ChemicalComplianceInfo,
@Semantics.quantity.unitOfMeasure: 'ChmlCompQtySAPUnit'
Component.ChmlCompQty,
Component.ChmlCompQtyAsText,
cast(ChmlCompQtyUnit as ehfnd_vdm_component_unit_sap preserving type) as ChmlCompQtySAPUnit,
cast(_UnitOfMeasure.UnitOfMeasureISOCode as ehfnd_vdm_component_unit_iso preserving type) as ChmlCompQtyISOUnit,
@Consumption.hidden: true
Component.ChmlCmplncInfoUUID,
/* Associations */
@Consumption.hidden: true
_ChmlCmplncInfo,
_MultiComponentComposition
}
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