I_CmplRqVersRgtyListItmEnhcd

DDL: I_CMPLRQVERSRGTYLISTITMENHCD Type: view COMPOSITE

Enhanced composite view for the items of a regulatory list

I_CmplRqVersRgtyListItmEnhcd is a Composite CDS View that provides data about "Enhanced composite view for the items of a regulatory list" in SAP S/4HANA. It reads from 1 data source (I_CmplRqVersRgtyListItmName) and exposes 11 fields with key fields ListedSubstance, SubstanceListUUID, SubstanceListItmUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqVersRgtyListItmName SubstanceNameOnList from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_LstdSubstWthVarAndGrp _ListedSubstanceHead $projection.ListedSubstance = _ListedSubstanceHead.ListedSubstance

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICRVRLITMENH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Enhanced composite view for the items of a regulatory list view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey ListedSubstance view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ListedSubstance I_CmplRqVersRgtyListItmName ListedSubstance Listed Substance
KEY SubstanceListUUID I_CmplRqVersRgtyListItmName SubstanceListUUID Substance List
KEY SubstanceListItmUUID I_CmplRqVersRgtyListItmName SubstanceListItmUUID
ListedSubstanceName I_CmplRqVersRgtyListItmName ListedSubstanceName Listed Subst. Name
CASNumber
ECNumber _ListedSubstanceHead ECNumber EC Number
ListedSubstanceIsGroup _ListedSubstanceHead ListedSubstanceIsGroup
MolecularFormula _ListedSubstanceHead MolecularFormula
ListedSubstanceCndn _ListedSubstanceHead ListedSubstanceCndn
ListedSubstanceCndnName
SubstanceListItmAddlInfo I_CmplRqVersRgtyListItmName SubstanceListItmAddlInfo

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_CmplRqVersRgtyListItmEnhcd.
-- 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 I_CmplRqVersRgtyListItmEnhcd AS
SELECT
  SubstanceNameOnList.ListedSubstance AS ListedSubstance,
  SubstanceNameOnList.SubstanceListUUID AS SubstanceListUUID,
  SubstanceNameOnList.SubstanceListItmUUID AS SubstanceListItmUUID,
  SubstanceNameOnList.ListedSubstanceName AS ListedSubstanceName,
  cast( _ListedSubstanceHead.CASNumber as ehfnd_chm_cas_no preserving type ) AS CASNumber,
  _ListedSubstanceHead.ECNumber AS ECNumber,
  _ListedSubstanceHead.ListedSubstanceIsGroup AS ListedSubstanceIsGroup,
  _ListedSubstanceHead.MolecularFormula AS MolecularFormula,
  _ListedSubstanceHead.ListedSubstanceCndn AS ListedSubstanceCndn,
  _ListedSubstanceHead._SubstanceCndnText.ListedSubstanceCndnName AS ListedSubstanceCndnName,
  SubstanceNameOnList.SubstanceListItmAddlInfo AS SubstanceListItmAddlInfo
FROM I_CmplRqVersRgtyListItmName AS SubstanceNameOnList
LEFT OUTER JOIN I_LstdSubstWthVarAndGrp AS _ListedSubstanceHead ON ListedSubstance = _ListedSubstanceHead.ListedSubstance  -- association [1..1]
;