P_NmbrOfSubstAssmtRstrcnList

DDL: P_NMBROFSUBSTASSMTRSTRCNLIST Type: view CONSUMPTION

P_NmbrOfSubstAssmtRstrcnList is a Consumption CDS View in SAP S/4HANA. It reads from 4 data sources (P_CmplRqRsltListTypeExisting, I_SubstListChkSubstAssmtSts, I_CmplRqVersSubstanceList, I_SubstListChkIssueAssmtStsVH) and exposes 2 fields with key fields CmplRqRsltUUID, CmplRqRsltCmplncStsCriticality. It has 1 association to related views.

Data Sources (4)

SourceAliasJoin Type
P_CmplRqRsltListTypeExisting CmplRqRsltListTypeExisting inner
I_SubstListChkSubstAssmtSts SubstanceAssessment from
I_CmplRqVersSubstanceList SubstanceList inner
I_SubstListChkIssueAssmtStsVH SubstListChkIssueAssmtStsVH inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_ChmlCmplConstants _Constants _Constants.Constant1 = _Constants.Constant1

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PNRSUBASRSL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID I_SubstListChkSubstAssmtSts CmplRqRsltUUID SDS Assessment
KEY CmplRqRsltCmplncStsCriticality I_SubstListChkIssueAssmtStsVH CmplRqRsltCmplncStsCriticality

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_NmbrOfSubstAssmtRstrcnList.
-- 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_NmbrOfSubstAssmtRstrcnList AS
SELECT
  SubstanceAssessment.CmplRqRsltUUID AS CmplRqRsltUUID,
  SubstListChkIssueAssmtStsVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltCmplncStsCriticality
FROM I_SubstListChkSubstAssmtSts AS SubstanceAssessment
INNER JOIN I_SubstListChkIssueAssmtStsVH AS SubstListChkIssueAssmtStsVH ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmplRqVersSubstanceList AS SubstanceList ON /* join condition not captured in parsed metadata */
INNER JOIN P_CmplRqRsltListTypeExisting AS CmplRqRsltListTypeExisting ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_ChmlCmplConstants AS _Constants ON _Constants.Constant1 = _Constants.Constant1  -- association [1..1]
;