C_RawChmlCompositionTP

DDL: C_RAWCHMLCOMPOSITIONTP Type: view CONSUMPTION Package: EHFND_CNS_CCI

Raw Material Analytical Composition - ... (obsolete)

C_RawChmlCompositionTP is a Consumption CDS View that provides data about "Raw Material Analytical Composition - ... (obsolete)" in SAP S/4HANA. It reads from 1 data source (I_ChmlCompositionTP) and exposes 36 fields. It has 8 associations to related views. Part of development package EHFND_CNS_CCI.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCompositionTP Composition from

Associations (8)

CardinalityTargetAliasCondition
[0..*] C_RawChmlComponentTP _ChemicalComponent $projection.ChmlCompositionUUID = _ChemicalComponent.ChmlCompositionUUID --Additional sections -- Compliance Requirement Results
[0..*] C_RawChmlCmplncCmplRqRslt _CmplRqRslt _CmplRqRslt.RawChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID --Supplier Material Assignments
[0..*] C_RawChmlCmplncSuplrMatlTP _SuplrMatlAssignment _SuplrMatlAssignment.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID -------------------------------------------------------------------------------------------------------------------- --Additional Information -------------------------------------------------------------------------------------------------------------------- -- Material Data for Primary Material
[0..1] C_ChmlCmplncPrimMatl _MaterialDataPrimary _MaterialDataPrimary.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID --Criticality of Status
[1..1] P_ChmlCompositionCriticality _StatusCriticality $projection.ActiveChmlCompositionUUID = _StatusCriticality.ChmlCompositionUUID -- Status values for raw material
[0..1] P_RawChmlCmplncStatus _Status _Status.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID ----------------------------------------------------------------------------------------------------------- --Information for Navigation to associated compositions ----------------------------------------------------------------------------------------------------------- --Associated analytical
[0..1] P_AssociatedAnlytlCmpstnRawMat _AssociatedAnlytlCmpstnNavgn $projection.ChmlCmplncInfoUUID = _AssociatedAnlytlCmpstnNavgn.ChmlCmplncInfoUUID --
[0..1] P_AssociatedMatlCmpstnProdVw _MatlBasedComposition _MatlBasedComposition.ChmlCmplncInfoUUID = $projection.ChmlCmplncInfoUUID

Annotations (17)

NameValueLevelField
EndUserText.label Raw Material Analytical Composition - ... (obsolete) view
AbapCatalog.sqlViewName CCRCOMPOSITION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.draftEnabled true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (36)

KeyFieldSource TableSource FieldDescription
ChmlCompositionUUID
ActiveChmlCompositionUUID
ChmlCompositionType
ChmlCompositionTypeName
ChmlCompositionStatus
ChmlCompositionStatusName
ChmlCompositionStatusNameLong
ChmlCompositionStsCriticality
ChmlCmplncInfoUUID
ChmlCmplncInternalName
ChmlCmplncInfoCombinedName
ResponsibleUnitName
DngrsGdsRespUnit
Material
ProductGroupasMaterialGroup
ProductGroupNameasMaterialGroupName
MaterialName
Specification
ChmlCmplncRawMatlProcgStsName
ChmlCmplncRawMatlProcgStsCritl
ChmlCmplncRawMatlCmpstnStsName
ChmlCmplncCmplRqRsltStatus
ChmlCmplncCmplRqRsltStatusName
ChmlCmplncInfoType
MaterialIsTransported
MaterialIsSold
MaterialIsProduced
MaterialIsSourced
ChmlCmplncProdIsResearched
LastChangeUTCDateTime LastChangeUTCDateTime Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangedByUserName
BOPFDetaildata_ChemicalComponent
_ChmlCmplncInfo
Additionalsections_CmplRqRslt
_SuplrMatlAssignment _SuplrMatlAssignment

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_RawChmlCompositionTP.
-- 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_RawChmlCompositionTP AS
SELECT
  _ChmlCmplncInfo._RespUnitForProductStewardship._Text[1: Language = $session.system_language ].ResponsibleUnitName AS ResponsibleUnitName,
  _Status._CmplRawMatlCmpstnSts._Text[1: Language = $session.system_language ].ChmlCmplncRawMatlCmpstnStsName AS ChmlCmplncRawMatlCmpstnStsName,
  cast(_Status.ChmlCmplncCmplRqRsltStatus as ehfnd_cci_crr_status preserving type ) AS ChmlCmplncCmplRqRsltStatus,
  _Status._CmplRqRsltStatus._Text[1: Language = $session.system_language ].ChmlCmplncCmplRqRsltStatusName AS ChmlCmplncCmplRqRsltStatusName,
  LastChangeUTCDateTime,
  LastChangedByUser,
  cast( _LastChangedByUser.UserDescription as ehfnd_bo_lchg_uname_enhanced preserving type ) AS LastChangedByUserName
FROM I_ChmlCompositionTP AS Composition
LEFT OUTER JOIN C_RawChmlComponentTP AS _ChemicalComponent ON ChmlCompositionUUID = _ChemicalComponent.ChmlCompositionUUID  -- association [0..*]
LEFT OUTER JOIN C_RawChmlCmplncCmplRqRslt AS _CmplRqRslt ON _CmplRqRslt.RawChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_RawChmlCmplncSuplrMatlTP AS _SuplrMatlAssignment ON _SuplrMatlAssignment.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON _MaterialDataPrimary.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN P_ChmlCompositionCriticality AS _StatusCriticality ON ActiveChmlCompositionUUID = _StatusCriticality.ChmlCompositionUUID  -- association [1..1]
LEFT OUTER JOIN P_RawChmlCmplncStatus AS _Status ON _Status.ChmlCmplncInfoUUID = Composition.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN P_AssociatedAnlytlCmpstnRawMat AS _AssociatedAnlytlCmpstnNavgn ON ChmlCmplncInfoUUID = _AssociatedAnlytlCmpstnNavgn.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN P_AssociatedMatlCmpstnProdVw AS _MatlBasedComposition ON _MatlBasedComposition.ChmlCmplncInfoUUID = ChmlCmplncInfoUUID  -- association [0..1]
;