I_ChemicalDetailsC

DDL: I_CHEMICALDETAILSC SQL: ICHMDETAILSC Type: view COMPOSITE

DEPRECATED: Chemcial Details Cube

I_ChemicalDetailsC is a Composite CDS View (Cube) that provides data about "DEPRECATED: Chemcial Details Cube" in SAP S/4HANA. It reads from 1 data source (I_ChemicalRoot) and exposes 10 fields with key field ChemicalUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChemicalRoot I_ChemicalRoot from

Parameters (2)

NameTypeDefault
P_Language sylangu
P_KeyDate sydatum

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_Chemical _Chemical $projection.ChemicalUUID = _Chemical.ChemicalUUID
[1..1] I_OTRText _OTRText _OTRText.Language = $parameters.P_Language and _OTRText.OnlnTxtRpstryConceptID = '42F2E9AFC3DF1EE7B49F08CD946FC920'

Annotations (12)

NameValueLevelField
EndUserText.label DEPRECATED: Chemcial Details Cube view
Analytics.dataCategory #CUBE view
Analytics.dataExtraction.enabled true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
AbapCatalog.sqlViewName ICHMDETAILSC view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ChemicalUUID I_ChemicalRoot ChemicalUUID NodeID
_Chemical _Chemical
ChemicalType I_ChemicalRoot ChemicalType Chemical Type
_ChemicalType I_ChemicalRoot _ChemicalType
ChemicalRevisionUUID
ChemicalHzdsIngredientList _OTRText Text User Group
ECDangerCategoryNameList _OTRText Text User Group
ECRiskPhraseNameList _OTRText Text User Group
GHSHazardClassCategoryNames _OTRText Text User Group
GHSHazardStatementNames _OTRText Text User Group

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 I_ChemicalDetailsC.
-- 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.
-- SQL view name: ICHMDETAILSC
-- Parameters: P_Language : sylangu, P_KeyDate : sydatum

CREATE VIEW I_ChemicalDetailsC AS
SELECT
  I_ChemicalRoot.ChemicalUUID AS ChemicalUUID,
  I_ChemicalRoot.ChemicalType AS ChemicalType,
  I_ChemicalRoot._ChemicalType AS _ChemicalType,
  _Chemical[1: RevisionStartDate <= $parameters.P_KeyDate and RevisionEndDate >= $parameters.P_KeyDate].ChemicalRevisionUUID AS ChemicalRevisionUUID,
  _OTRText.Text AS ChemicalHzdsIngredientList,
  _OTRText.Text AS ECDangerCategoryNameList,
  _OTRText.Text AS ECRiskPhraseNameList,
  _OTRText.Text AS GHSHazardClassCategoryNames,
  _OTRText.Text AS GHSHazardStatementNames
FROM I_ChemicalRoot
LEFT OUTER JOIN I_Chemical AS _Chemical ON ChemicalUUID = _Chemical.ChemicalUUID  -- association [0..*]
LEFT OUTER JOIN I_OTRText AS _OTRText ON _OTRText.Language = $parameters.P_Language AND _OTRText.OnlnTxtRpstryConceptID = '42F2E9AFC3DF1EE7B49F08CD946FC920'  -- association [1..1]
;