P_CmplRqVersPredecessorCount

DDL: P_CMPLRQVERSPREDECESSORCOUNT Type: view CONSUMPTION

P_CmplRqVersPredecessorCount is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_CmplRqVers, I_CmplRqVers) and exposes 2 fields with key field CmplRqVersUUID.

Data Sources (2)

SourceAliasJoin Type
I_CmplRqVers CmplRqVers from
I_CmplRqVers PredecessorCRV inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PCRVPREDCRV 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
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CmplRqVersUUID I_CmplRqVers CmplRqVersUUID NodeID
CmplRqVersPredecessorCount

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_CmplRqVersPredecessorCount.
-- 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_CmplRqVersPredecessorCount AS
SELECT
  CmplRqVers.CmplRqVersUUID AS CmplRqVersUUID,
  count(*) AS CmplRqVersPredecessorCount
FROM I_CmplRqVers AS CmplRqVers
INNER JOIN I_CmplRqVers AS PredecessorCRV ON /* join condition not captured in parsed metadata */
;