I_CmplRqVersSubstListGrp

DDL: I_CMPLRQVERSSUBSTLISTGRP SQL: ICRVLSTGRP Type: view BASIC Package: EHFND_BO_COMPLIANCE_REQ

Substance Group per Substance List

I_CmplRqVersSubstListGrp is a Basic CDS View that provides data about "Substance Group per Substance List" in SAP S/4HANA. It reads from 1 data source (ehfndv_req_grsub) and exposes 13 fields with key field ListedSubstanceGroupUUID. It has 3 associations to related views. Part of development package EHFND_BO_COMPLIANCE_REQ.

Data Sources (1)

SourceAliasJoin Type
ehfndv_req_grsub SubstanceListGrp from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CmplRqVers _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID --
[0..1] I_CmplRqVersSubstanceList _SubstList $projection.SubstanceListUUID = _SubstList.SubstanceListUUID --
[0..*] I_CmplRqVersRgtyListItmName _NameOnList $projection.ListedSubstanceGroup = _NameOnList.ListedSubstance and $projection.SubstanceListUUID = _NameOnList.SubstanceListUUID

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ICRVLSTGRP 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 #B view
ObjectModel.representativeKey ListedSubstanceGroupUUID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY ListedSubstanceGroupUUID ehfndv_req_grsub listedsubstancegroupuuid NodeID
ListedSubstanceGroupCharUUID
CmplRqVers
CmplRqVersUUID
SubstanceListUUID ehfndv_req_grsub substancelistuuid Substance List
ListedSubstanceGroup ehfndv_req_grsub listedsubstancegroup Group of Substances
CreatedByUser ehfndv_req_grsub createdbyuser User Name
CreationDateTime
LastChangedByUser ehfndv_req_grsub lastchangedbyuser User Name
LastChangeDateTime
_CmplRqVers _CmplRqVers
_SubstList _SubstList
_NameOnList _NameOnList

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_CmplRqVersSubstListGrp.
-- 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: ICRVLSTGRP

CREATE VIEW I_CmplRqVersSubstListGrp AS
SELECT
  SubstanceListGrp.listedsubstancegroupuuid AS ListedSubstanceGroupUUID,
  cast ( SubstanceListGrp.bcokey as sysuuid_c32 preserving type ) AS ListedSubstanceGroupCharUUID,
  cast ( SubstanceListGrp.cmplrqvers as ehfnd_crv_id preserving type ) AS CmplRqVers,
  cast ( SubstanceListGrp.cmplrqversuuid as ehfnd_crv_uuid preserving type ) AS CmplRqVersUUID,
  SubstanceListGrp.substancelistuuid AS SubstanceListUUID,
  SubstanceListGrp.listedsubstancegroup AS ListedSubstanceGroup,
  SubstanceListGrp.createdbyuser AS CreatedByUser,
  cast(SubstanceListGrp.creationdatetime as ehfnd_datetime_cr preserving type) AS CreationDateTime,
  SubstanceListGrp.lastchangedbyuser AS LastChangedByUser,
  cast(SubstanceListGrp.lastchangedatetime as ehfnd_datetime_ch preserving type) AS LastChangeDateTime
FROM ehfndv_req_grsub AS SubstanceListGrp
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_CmplRqVersRgtyListItmName AS _NameOnList ON ListedSubstanceGroup = _NameOnList.ListedSubstance AND SubstanceListUUID = _NameOnList.SubstanceListUUID  -- association [0..*]
;