R_SubstanceBasedCompositionTP
Substance Based Composition - TP
R_SubstanceBasedCompositionTP is a Transactional CDS View that provides data about "Substance Based Composition - TP" in SAP S/4HANA. It reads from 1 data source (I_ChmlComposition) and exposes 16 fields. It has 1 association to related views. Part of development package EHFND_RAP_CMPS_SUBSTANCE_BASED.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlComposition | I_ChmlComposition | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_SubstanceBasedComponentTP | _Component | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Substance Based Composition - TP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.sapObjectNodeType.name | SubstanceBasedComposition | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| UUIDofcompositionkeyChmlCompositionUUID | ||||
| ChangedbyuserLastChangedByUser | ||||
| ChmlSuplrMatlUUID | ChmlSuplrMatlUUID | |||
| SubstanceUUID | SubstanceUUID | |||
| LegalAreaProdCmplncLegalArea | ||||
| ReleaseStatusChmlCompositionStatus | ||||
| ValidtoDateValidityEndDateTime | ||||
| PolymerCompositionName | PolymerCompositionName | |||
| _Component | _Component | |||
| _ChmlCmplncInfo | _ChmlCmplncInfo | |||
| _Substance | _Substance | |||
| _CompositionStatus | _CompositionStatus | |||
| _CompositionType | _CompositionType | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _ChmlCmplncProdCatztnPhrs | _ChmlCmplncProdCatztnPhrs |
@AccessControl:
{
authorizationCheck: #MANDATORY,
privilegedAssociations: ['_CreatedByUser','_LastChangedByUser']
}
@EndUserText.label: 'Substance Based Composition - TP'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel:
{
sapObjectNodeType.name: 'SubstanceBasedComposition',
usageType:
{
dataClass: #MIXED,
sizeCategory: #L,
serviceQuality: #C
}
}
@VDM.viewType: #TRANSACTIONAL
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
define root view entity R_SubstanceBasedCompositionTP
as select from I_ChmlComposition
composition [0..*] of R_SubstanceBasedComponentTP as _Component
{
--UUID of composition
key ChmlCompositionUUID,
--Create date/time of composition
CreationUTCDateTime,
--Created by user
CreatedByUser,
--Change date/time of composition
LastChangeUTCDateTime,
--Changed by user
LastChangedByUser,
--UUID of chemical compliance info
ChmlCmplncInfoUUID,
ChmlSuplrMatlUUID,
SubstanceUUID,
--Composition Type
cast( ChmlCompositionType as ehfnd_cci_ccmps_type_or_lgl_ar preserving type ) as ChmlCompositionType,
-- Legal Area
ProdCmplncLegalArea,
--Release Status
ChmlCompositionStatus,
--Release date/time
ReleaseDateTime,
--Released by user
//ReleasedByUser,
-- Valid from date
ValidityStartDateTime,
-- Valid to Date
ValidityEndDateTime,
--Product Categorization
ChmlCmplncProdCatztnPhrsUUID,
--Trade Secret Calculation Setting
PCTrdScrtCalculationSetting,
--Product Compliance Legal Area Reference
ProdCmplncLegalAreaRef,
PolymerCompositionName,
/* Associations */
_Component,
_ChmlCmplncInfo,
_Substance,
_CompositionStatus,
_CompositionType,
_CreatedByUser,
_LastChangedByUser,
_ChmlCmplncProdCatztnPhrs
//,_ReleasedByUser
}
where
ChmlCompositionType <> 'MATLBSD2' // NOT Material Based
and ChmlCompositionType <> 'MCPC'
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