C_RawChmlComponentTP

DDL: C_RAWCHMLCOMPONENTTP Type: view CONSUMPTION Package: EHFND_CNS_CCI

Raw Material Component of Analytical Composition

C_RawChmlComponentTP is a Consumption CDS View that provides data about "Raw Material Component of Analytical Composition" in SAP S/4HANA. It reads from 1 data source (I_ChmlComponentTP) and exposes 25 fields. It has 5 associations to related views. Part of development package EHFND_CNS_CCI.

Data Sources (1)

SourceAliasJoin Type
I_ChmlComponentTP Component from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_RawChmlCompositionTP _ChemicalComposition $projection.ChmlCompositionUUID = _ChemicalComposition.ChmlCompositionUUID -------------------------------------------------------------------------------------------------------------------- --Additional Information -------------------------------------------------------------------------------------------------------------------- --Retrieve according component from released
[0..1] C_RawChmlCompOfReldCmpstn _ComponentReleased _ComponentReleased.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID and _ComponentReleased.SubstanceUUID = Component.SubstanceUUID and _ComponentReleased.ChmlCompType = Component.ChmlCompType
[0..*] C_RawChmlCompOfSuplrMatlCmpstn _CompOfSuplrMatlCmpstn _CompOfSuplrMatlCmpstn.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID and _CompOfSuplrMatlCmpstn.SubstanceUUID = Component.SubstanceUUID and _CompOfSuplrMatlCmpstn.ChmlCompType = Component.ChmlCompType -------------------------------------------------------------------------------------------------------------------- --ValueHelps -------------------------------------------------------------------------------------------------------------------- --substance
[0..1] C_SubstanceVH _SubstanceVH $projection.SubstanceUUID = _SubstanceVH.SubstanceUUID --Component Type
[0..1] I_ChmlCompTypeVH _ChemicalComponentTypeVH $projection.ChmlCompType = _ChemicalComponentTypeVH.ChmlCompType and _ChemicalComponentTypeVH.ChmlCompositionCategory = 'A'

Annotations (19)

NameValueLevelField
EndUserText.label Raw Material Component of Analytical Composition view
AbapCatalog.sqlViewName CCRCOMPONENT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
UI.headerInfo.typeName Component view
UI.headerInfo.typeNamePlural Components view
UI.headerInfo.title.label Component in Composition view
UI.headerInfo.title.value SubstanceName view
UI.headerInfo.description.value CASNumber view

Fields (25)

KeyFieldSource TableSource FieldDescription
ChmlCompUUID
ActiveChmlCompUUID
ChmlCompositionUUID
ChmlCmplncInfoUUID
SubstanceUUID
CompanySubstanceNavgnLink I_ChmlComponentTP SubstanceUUID Substance
SubstanceName
CASNumber
ChmlCompositionStatus _ChemicalComposition ChmlCompositionStatus Processing Status
ChmlCompType
ChmlCompTypeName
ChmlCompQtyasChmlCompQty
ChmlCompQtyUnit I_ChmlComponentTP ChmlCompQtyUnit Unit of Measurement
ChmlCompHasDiffCritlty 2
ChmlCompHasDiff
ChmlCompHasDiffName
NmbrOfSubstPrvddBySuplrWthTot
ChmlCompQtyasChmlCompReldQty
ChmlCompReldUpperLimitQty _ComponentReleased ChmlCompQtyUpperLimit Upper Limit Value
ChmlCompReldQtyUnit _ComponentReleased ChmlCompQtyUnit Unit of Measurement
BOPFDetaildata_ChemicalComposition
_ChmlCmplncInfo
_CompOfSuplrMatlCmpstn _CompOfSuplrMatlCmpstn
Valuehelps_ChemicalComponentTypeVH
_SubstanceVH _SubstanceVH

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_RawChmlComponentTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_RawChmlComponentTP AS
SELECT
  Component.SubstanceUUID AS CompanySubstanceNavgnLink,
  _ChemicalComposition.ChmlCompositionStatus AS ChmlCompositionStatus,
  Component.ChmlCompQtyUnit AS ChmlCompQtyUnit,
  2 AS ChmlCompHasDiffCritlty,
  cast( '' as ehfnd_cci_ccomp_comp_diff ) AS ChmlCompHasDiff,
  cast( '' as ehfnd_cci_ccomp_comp_diff_name ) AS ChmlCompHasDiffName,
  cast( '' as ehfnd_cci_subprovbysupl ) AS NmbrOfSubstPrvddBySuplrWthTot,
  _ComponentReleased.ChmlCompQtyUpperLimit AS ChmlCompReldUpperLimitQty,
  _ComponentReleased.ChmlCompQtyUnit AS ChmlCompReldQtyUnit
FROM I_ChmlComponentTP AS Component
LEFT OUTER JOIN C_RawChmlCompositionTP AS _ChemicalComposition ON ChmlCompositionUUID = _ChemicalComposition.ChmlCompositionUUID  -- association [1..1]
LEFT OUTER JOIN C_RawChmlCompOfReldCmpstn AS _ComponentReleased ON _ComponentReleased.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID AND _ComponentReleased.SubstanceUUID = Component.SubstanceUUID AND _ComponentReleased.ChmlCompType = Component.ChmlCompType  -- association [0..1]
LEFT OUTER JOIN C_RawChmlCompOfSuplrMatlCmpstn AS _CompOfSuplrMatlCmpstn ON _CompOfSuplrMatlCmpstn.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID AND _CompOfSuplrMatlCmpstn.SubstanceUUID = Component.SubstanceUUID AND _CompOfSuplrMatlCmpstn.ChmlCompType = Component.ChmlCompType  -- association [0..*]
LEFT OUTER JOIN C_SubstanceVH AS _SubstanceVH ON SubstanceUUID = _SubstanceVH.SubstanceUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlCompTypeVH AS _ChemicalComponentTypeVH ON ChmlCompType = _ChemicalComponentTypeVH.ChmlCompType AND _ChemicalComponentTypeVH.ChmlCompositionCategory = 'A'  -- association [0..1]
;