P_CmplRqRsltListTypeExisting

DDL: P_CMPLRQRSLTLISTTYPEEXISTING SQL: PCRRREGLTYEXST Type: view CONSUMPTION Package: EHPMA_CNS_CRR

Checks which list types exist in related CmplRqVers

P_CmplRqRsltListTypeExisting is a Consumption CDS View that provides data about "Checks which list types exist in related CmplRqVers" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 2 fields with key field CmplRqRsltUUID. It has 4 associations to related views. Part of development package EHPMA_CNS_CRR.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRslt I_CmplRqRslt from

Associations (4)

CardinalityTargetAliasCondition
[0..1] P_CmplRqVersListTypeCount _CmplRqVersInvtryListCount $projection.CmplRqVersUUID = _CmplRqVersInvtryListCount.CmplRqVersUUID and _CmplRqVersInvtryListCount.SubstanceListType = 'ISL'
[0..1] P_CmplRqVersListTypeCount _CmplRqVersRstrcnListCount $projection.CmplRqVersUUID = _CmplRqVersRstrcnListCount.CmplRqVersUUID and _CmplRqVersRstrcnListCount.SubstanceListType = 'RSL'
[0..1] P_CmplRqVersListTypeCount _CmplRqVersMntrgListCount $projection.CmplRqVersUUID = _CmplRqVersMntrgListCount.CmplRqVersUUID and _CmplRqVersMntrgListCount.SubstanceListType = 'MSL'
[0..1] P_CmplRqVersListTypeCount _CmplRqVersExmpListCount $projection.CmplRqVersUUID = _CmplRqVersExmpListCount.CmplRqVersUUID and _CmplRqVersExmpListCount.SubstanceListType = 'ESL'

Annotations (7)

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

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID CmplRqRsltUUID SDS Assessment
CmplRqVersUUID CmplRqVersUUID NodeID

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_CmplRqRsltListTypeExisting.
-- 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: PCRRREGLTYEXST

CREATE VIEW P_CmplRqRsltListTypeExisting AS
SELECT
  CmplRqRsltUUID,
  CmplRqVersUUID
FROM I_CmplRqRslt
LEFT OUTER JOIN P_CmplRqVersListTypeCount AS _CmplRqVersInvtryListCount ON CmplRqVersUUID = _CmplRqVersInvtryListCount.CmplRqVersUUID AND _CmplRqVersInvtryListCount.SubstanceListType = 'ISL'  -- association [0..1]
LEFT OUTER JOIN P_CmplRqVersListTypeCount AS _CmplRqVersRstrcnListCount ON CmplRqVersUUID = _CmplRqVersRstrcnListCount.CmplRqVersUUID AND _CmplRqVersRstrcnListCount.SubstanceListType = 'RSL'  -- association [0..1]
LEFT OUTER JOIN P_CmplRqVersListTypeCount AS _CmplRqVersMntrgListCount ON CmplRqVersUUID = _CmplRqVersMntrgListCount.CmplRqVersUUID AND _CmplRqVersMntrgListCount.SubstanceListType = 'MSL'  -- association [0..1]
LEFT OUTER JOIN P_CmplRqVersListTypeCount AS _CmplRqVersExmpListCount ON CmplRqVersUUID = _CmplRqVersExmpListCount.CmplRqVersUUID AND _CmplRqVersExmpListCount.SubstanceListType = 'ESL'  -- association [0..1]
;