I_ListedSubstanceGroupRelation

DDL: I_LISTEDSUBSTANCEGROUPRELATION Type: view_entity BASIC

Listed Substances and Groups Relation

I_ListedSubstanceGroupRelation is a Basic CDS View that provides data about "Listed Substances and Groups Relation" in SAP S/4HANA. It reads from 1 data source (ehfndd_lisu_grpr) and exposes 10 fields with key field ListedSubstanceGroupRltnUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndd_lisu_grpr ehfndd_lisu_grpr from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_LstdSubstWthVarAndGrp _ListedSubstanceGroup $projection.ListedSubstanceGroupUUID = _ListedSubstanceGroup.ListedSubstanceUUID
[1..1] I_LstdSubstWthVarAndGrp _ListedSubstance $projection.ListedSubstanceUUID = _ListedSubstance.ListedSubstanceUUID

Annotations (9)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Listed Substances and Groups Relation view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ListedSubstanceGroupRltnUUID view
Analytics.technicalName IListedSubstanceGroupRltn view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY ListedSubstanceGroupRltnUUID UUID
ListedSubstanceGroup Pollutant Container
ListedSubstanceGroupUUID UUID
ListedSubstanceUUID NodeID
LastChangeDateTime Changed On/At
CreationDateTime Created On/At
LastChangedByUser user_id_ch Changed By
CreatedByUser user_id_cr Created By
_ListedSubstanceGroup _ListedSubstanceGroup
_ListedSubstance _ListedSubstance

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_ListedSubstanceGroupRelation.
-- 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_ListedSubstanceGroupRelation AS
SELECT
  cast(db_key as ehfnd_lisu_group_relation_uuid preserving type) AS ListedSubstanceGroupRltnUUID,
  cast(listsub_id as ehfnd_group_substance_id preserving type) AS ListedSubstanceGroup,
  cast(parent_key as ehfnd_lisu_group_uuid preserving type) AS ListedSubstanceGroupUUID,
  cast(listsub_ref as ehfnd_lisu_uuid_ref preserving type) AS ListedSubstanceUUID,
  cast(datetime_ch as timestamp preserving type) AS LastChangeDateTime,
  cast(datetime_cr as timestamp preserving type) AS CreationDateTime,
  user_id_ch AS LastChangedByUser,
  user_id_cr AS CreatedByUser
FROM ehfndd_lisu_grpr
LEFT OUTER JOIN I_LstdSubstWthVarAndGrp AS _ListedSubstanceGroup ON ListedSubstanceGroupUUID = _ListedSubstanceGroup.ListedSubstanceUUID  -- association [1..1]
LEFT OUTER JOIN I_LstdSubstWthVarAndGrp AS _ListedSubstance ON ListedSubstanceUUID = _ListedSubstance.ListedSubstanceUUID  -- association [1..1]
;