P_CmplRqVersActionCount

DDL: P_CMPLRQVERSACTIONCOUNT SQL: PCRVACTNCOUNT Type: view CONSUMPTION

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

Data Sources (2)

SourceAliasJoin Type
I_ProdCmplncPhrs _ProdCmplncPhrs from
I_ProdCmplncPhrsEnabledField _ProdCmplncPhrsEnabledField inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PCRVACTNCOUNT 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
Feature FTGL_PSSPROD_11696 view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CmplRqVersUUID I_ProdCmplncPhrsEnabledField CmplRqVersUUID NodeID
ProdCmplncPhrsEnabledFldUUID I_ProdCmplncPhrs ProdCmplncPhrsEnabledFldUUID Phrase-Enabled Field UUID
ProdCmplncPhrsEnabledField I_ProdCmplncPhrsEnabledField ProdCmplncPhrsEnabledField Phrase-Enabled Field
CmplRqVersNmbrOfActions

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_CmplRqVersActionCount.
-- 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: PCRVACTNCOUNT

CREATE VIEW P_CmplRqVersActionCount AS
SELECT
  _ProdCmplncPhrsEnabledField.CmplRqVersUUID AS CmplRqVersUUID,
  _ProdCmplncPhrs.ProdCmplncPhrsEnabledFldUUID AS ProdCmplncPhrsEnabledFldUUID,
  _ProdCmplncPhrsEnabledField.ProdCmplncPhrsEnabledField AS ProdCmplncPhrsEnabledField,
  count( * ) AS CmplRqVersNmbrOfActions
FROM I_ProdCmplncPhrs AS _ProdCmplncPhrs
INNER JOIN I_ProdCmplncPhrsEnabledField AS _ProdCmplncPhrsEnabledField ON /* join condition not captured in parsed metadata */
;