P_DstctSubAsSubLiChkRstrcnList

DDL: P_DSTCTSUBASSUBLICHKRSTRCNLIST Type: view CONSUMPTION Package: EHPMA_CRPAT_SLC

Subst List Assmnt: Black List

P_DstctSubAsSubLiChkRstrcnList is a Consumption CDS View that provides data about "Subst List Assmnt: Black List" in SAP S/4HANA. It reads from 2 data sources (I_CmplRqVersRgtyListItmEnhcd, I_CmplRqVersSubstanceList) and exposes 8 fields with key fields CmplRqRsltSubstUUID, SubstanceListItmUUID. Part of development package EHPMA_CRPAT_SLC.

Data Sources (2)

SourceAliasJoin Type
I_CmplRqVersRgtyListItmEnhcd CmplRqVersRgtyListItmEnhcd inner
I_CmplRqVersSubstanceList CmplRqVersSubstanceList inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PDSTSASLCSUBRSL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltSubstUUID SubstanceAssessment CmplRqRsltSubstUUID Compliance Assessment UUID of the Subst
KEY SubstanceListItmUUID I_CmplRqVersRgtyListItmEnhcd SubstanceListItmUUID
SubstanceListUUID
ListedSubstance
SubstanceListItmAddlInfo I_CmplRqVersRgtyListItmEnhcd SubstanceListItmAddlInfo
ListedSubstanceCndn I_CmplRqVersRgtyListItmEnhcd ListedSubstanceCndn
ListedSubstanceCndnName I_CmplRqVersRgtyListItmEnhcd ListedSubstanceCndnName
CASNumber I_CmplRqVersRgtyListItmEnhcd CASNumber CAS Number

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_DstctSubAsSubLiChkRstrcnList.
-- 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_DstctSubAsSubLiChkRstrcnList AS
SELECT
  SubstanceAssessment.CmplRqRsltSubstUUID AS CmplRqRsltSubstUUID,
  CmplRqVersRgtyListItmEnhcd.SubstanceListItmUUID AS SubstanceListItmUUID,
  CmplRqVersRgtyListItmEnhcd.SubstanceListItmAddlInfo AS SubstanceListItmAddlInfo,
  CmplRqVersRgtyListItmEnhcd.ListedSubstanceCndn AS ListedSubstanceCndn,
  CmplRqVersRgtyListItmEnhcd.ListedSubstanceCndnName AS ListedSubstanceCndnName,
  CmplRqVersRgtyListItmEnhcd.CASNumber AS CASNumber
INNER JOIN I_CmplRqVersRgtyListItmEnhcd AS CmplRqVersRgtyListItmEnhcd ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmplRqVersSubstanceList AS CmplRqVersSubstanceList ON /* join condition not captured in parsed metadata */
;