I_CmplRqVersSubstListGrpSubst

DDL: I_CMPLRQVERSSUBSTLISTGRPSUBST SQL: ICRVLSTGRPSUB Type: view BASIC

Substance Group per Substance List

I_CmplRqVersSubstListGrpSubst is a Basic CDS View that provides data about "Substance Group per Substance List" in SAP S/4HANA. It reads from 3 data sources (ehfndv_req_grsub, I_LstdSubstWthVarAndGrp, I_CmplRqVersThldListItm) and exposes 13 fields with key fields CmplRqVersUUID, SubstanceListUUID, ListedSubstanceGroup, SubstanceListUUID, ListedSubstanceGroup. It has 3 associations to related views.

Data Sources (3)

SourceAliasJoin Type
ehfndv_req_grsub GroupSubstance union
I_LstdSubstWthVarAndGrp ListedSubstance inner
I_CmplRqVersThldListItm ThresholdList from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CmplRqVers _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID --
[0..1] I_CmplRqVersSubstanceList _SubstList $projection.SubstanceListUUID = _SubstList.SubstanceListUUID --
[0..1] I_ListedSubstanceDefaultName _DefaultName $projection.ListedSubstanceGroup = _DefaultName.ListedSubstance

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ICRVLSTGRPSUB view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Substance Group per Substance List view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CmplRqVersUUID I_CmplRqVersThldListItm CmplRqVersUUID NodeID
KEY SubstanceListUUID I_CmplRqVersThldListItm SubstanceListUUID Substance List
KEY ListedSubstanceGroup I_CmplRqVersThldListItm ListedSubstance Group of Substances
CmplRqVers
_CmplRqVers _CmplRqVers
_SubstList _SubstList
cmplrqversuuidasCmplRqVersUUID
KEY SubstanceListUUID ehfndv_req_grsub substancelistuuid Substance List
KEY ListedSubstanceGroup ehfndv_req_grsub listedsubstancegroup Group of Substances
CmplRqVers
_CmplRqVers _CmplRqVers
_SubstList _SubstList
_DefaultName _DefaultName

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_CmplRqVersSubstListGrpSubst.
-- 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: ICRVLSTGRPSUB

CREATE VIEW I_CmplRqVersSubstListGrpSubst AS
SELECT
  ThresholdList.CmplRqVersUUID AS CmplRqVersUUID,
  ThresholdList.SubstanceListUUID AS SubstanceListUUID,
  ThresholdList.ListedSubstance AS ListedSubstanceGroup,
  cast(ThresholdList.CmplRqVers as ehfnd_crv_id) AS CmplRqVers
FROM I_CmplRqVersThldListItm AS ThresholdList
INNER JOIN I_LstdSubstWthVarAndGrp AS ListedSubstance ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmplRqVers AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [0..1]
LEFT OUTER JOIN I_CmplRqVersSubstanceList AS _SubstList ON SubstanceListUUID = _SubstList.SubstanceListUUID  -- association [0..1]
LEFT OUTER JOIN I_ListedSubstanceDefaultName AS _DefaultName ON ListedSubstanceGroup = _DefaultName.ListedSubstance  -- association [0..1]
-- UNION with additional select branch(es): ehfndv_req_grsub
;