I_ActiveRisk

DDL: I_ACTIVERISK SQL: IACTIVERISK Type: view BASIC

Count of Active Risk

I_ActiveRisk is a Basic CDS View that provides data about "Count of Active Risk" in SAP S/4HANA. It reads from 2 data sources (/cpd/c_rm_stat, P_RootNode) and exposes 6 fields.

Data Sources (2)

SourceAliasJoin Type
/cpd/c_rm_stat /cpd/c_rm_stat inner
P_RootNode P_RootNode from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IACTIVERISK view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Count of Active Risk view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MIXED view

Fields (6)

KeyFieldSource TableSource FieldDescription
MasterProjectUUID P_RootNode id WorklistID
MstrProjActiveRiskCount
MasterProjectType _MasterProject MasterProjectType
MasterProject _MasterProject MasterProject Project ID
MasterProjectOrganization _MasterProject MasterProjectOrganization
MasterProjectIsConfidential _MasterProject MasterProjectIsConfidential

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 I_ActiveRisk.
-- 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: IACTIVERISK

CREATE VIEW I_ActiveRisk AS
SELECT
  P_RootNode.id AS MasterProjectUUID,
  count(*) AS MstrProjActiveRiskCount,
  _MasterProject.MasterProjectType AS MasterProjectType,
  _MasterProject.MasterProject AS MasterProject,
  _MasterProject.MasterProjectOrganization AS MasterProjectOrganization,
  _MasterProject.MasterProjectIsConfidential AS MasterProjectIsConfidential
FROM P_RootNode
INNER JOIN /cpd/c_rm_stat ON /* join condition not captured in parsed metadata */
;