P_US_RptQtyListSubstGrpMember

DDL: P_US_RPTQTYLISTSUBSTGRPMEMBER Type: view_entity COMPOSITE Package: EHFND_BO_COMPLIANCE_REQ

CRV Group which contains Substance

P_US_RptQtyListSubstGrpMember is a Composite CDS View that provides data about "CRV Group which contains Substance" in SAP S/4HANA. It reads from 2 data sources (P_CmplRqVersListGrpAssgmtUnion, P_CmplRqVersETablThresholdList) and exposes 8 fields with key fields ListedSubstanceGroupUUID, CmplRqVersUUID, SubstanceGrpAssgmtUUID. Part of development package EHFND_BO_COMPLIANCE_REQ.

Data Sources (2)

SourceAliasJoin Type
P_CmplRqVersListGrpAssgmtUnion Subst_grp_member from
P_CmplRqVersETablThresholdList thrl_grp inner

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CRV Group which contains Substance view
VDM.private true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY ListedSubstanceGroupUUID P_CmplRqVersListGrpAssgmtUnion ListedSubstanceGroupUUID NodeID
KEY CmplRqVersUUID P_CmplRqVersListGrpAssgmtUnion CmplRqVersUUID NodeID
KEY SubstanceGrpAssgmtUUID P_CmplRqVersListGrpAssgmtUnion SubstanceGrpAssgmtUUID Substance Group Assignment
SubstanceListUUID P_CmplRqVersListGrpAssgmtUnion SubstanceListUUID Substance List
ListedSubstanceID P_CmplRqVersListGrpAssgmtUnion ListedSubstance Listed Substance
ListedSubstanceGroupID P_CmplRqVersListGrpAssgmtUnion ListedSubstanceGroup Group of Substances
SubstanceListType reg_list SubstanceListType Regulatory List Type
listsub_id Thresholdlist2 listsub_id Pollutant Container

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_US_RptQtyListSubstGrpMember.
-- 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 P_US_RptQtyListSubstGrpMember AS
SELECT
  Subst_grp_member.ListedSubstanceGroupUUID AS ListedSubstanceGroupUUID,
  Subst_grp_member.CmplRqVersUUID AS CmplRqVersUUID,
  Subst_grp_member.SubstanceGrpAssgmtUUID AS SubstanceGrpAssgmtUUID,
  Subst_grp_member.SubstanceListUUID AS SubstanceListUUID,
  Subst_grp_member.ListedSubstance AS ListedSubstanceID,
  Subst_grp_member.ListedSubstanceGroup AS ListedSubstanceGroupID,
  reg_list.SubstanceListType AS SubstanceListType,
  Thresholdlist2.listsub_id AS listsub_id
FROM P_CmplRqVersListGrpAssgmtUnion AS Subst_grp_member
INNER JOIN P_CmplRqVersETablThresholdList AS thrl_grp ON /* join condition not captured in parsed metadata */
;