P_CmplRqVersListGrpAssgmtUnion

DDL: P_CMPLRQVERSLISTGRPASSGMTUNION SQL: ICRVLSTGRPASSU Type: view COMPOSITE Package: EHFND_BO_COMPLIANCE_REQ

Listed Substance Group Assignment

P_CmplRqVersListGrpAssgmtUnion is a Composite CDS View that provides data about "Listed Substance Group Assignment" in SAP S/4HANA. It reads from 2 data sources (I_CmplRqVersGrpAssgmt, I_CmplRqVersGrpAssgmtCust) and exposes 12 fields with key field SubstanceGrpAssgmtUUID. Part of development package EHFND_BO_COMPLIANCE_REQ.

Data Sources (2)

SourceAliasJoin Type
I_CmplRqVersGrpAssgmt GroupAssgmt from
I_CmplRqVersGrpAssgmtCust GroupAssgmtChange union_all

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ICRVLSTGRPASSU view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY SubstanceGrpAssgmtUUID I_CmplRqVersGrpAssgmt SubstanceGrpAssgmtUUID Substance Group Assignment
CmplRqVersUUID I_CmplRqVersGrpAssgmt CmplRqVersUUID NodeID
SubstanceListUUID GroupSub SubstanceListUUID Substance List
ListedSubstanceGroupUUID I_CmplRqVersGrpAssgmt ListedSubstanceGroupUUID NodeID
ListedSubstanceGroup GroupSub ListedSubstanceGroup Group of Substances
ListedSubstance I_CmplRqVersGrpAssgmt ListedSubstance Listed Substance
CmplRqVersUUID I_CmplRqVersGrpAssgmtCust CmplRqVersUUID NodeID
SubstanceListUUID I_CmplRqVersGrpAssgmtCust SubstanceListUUID Substance List
ListedSubstanceGroupUUID I_CmplRqVersGrpAssgmtCust ListedSubstanceGroupUUID NodeID
ListedSubstanceGroup I_CmplRqVersGrpAssgmtCust ListedSubstanceGroup Group of Substances
ListedSubstance I_CmplRqVersGrpAssgmtCust ListedSubstance Listed Substance
SubstanceGroupAssignment

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 P_CmplRqVersListGrpAssgmtUnion.
-- 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: ICRVLSTGRPASSU

CREATE VIEW P_CmplRqVersListGrpAssgmtUnion AS
SELECT
  GroupAssgmt.SubstanceGrpAssgmtUUID AS SubstanceGrpAssgmtUUID,
  GroupAssgmt.CmplRqVersUUID AS CmplRqVersUUID,
  GroupSub.SubstanceListUUID AS SubstanceListUUID,
  GroupAssgmt.ListedSubstanceGroupUUID AS ListedSubstanceGroupUUID,
  GroupSub.ListedSubstanceGroup AS ListedSubstanceGroup,
  GroupAssgmt.ListedSubstance AS ListedSubstance,
  cast( 'I' as ehfnd_sub_group_assignment preserving type ) AS SubstanceGroupAssignment
FROM I_CmplRqVersGrpAssgmt AS GroupAssgmt
-- UNION ALL with additional select branch(es): I_CmplRqVersGrpAssgmtCust
;