P_ImplmtdRiskCtrlCountByType
P_ImplmtdRiskCtrlCountByType is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_EHSRiskControl) and exposes 3 fields with key fields EHSRiskRevisionUUID, EHSControlType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSRiskControl | I_EHSRiskControl | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PIRSKCTRLCNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSRiskRevisionUUID | I_EHSRiskControl | EHSRiskRevisionUUID | |
| KEY | EHSControlType | |||
| NumberOfEHSControls |
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'PIRSKCTRLCNT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
// Client handling by session
@ClientHandling.algorithm: #SESSION_VARIABLE
// used for BOBF Master Data Object
@ObjectModel.usageType:{ serviceQuality: #C, // < 15 msec
sizeCategory: #M, // < 100.000
dataClass: #MASTER }
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view P_ImplmtdRiskCtrlCountByType as select from I_EHSRiskControl {
key I_EHSRiskControl.EHSRiskRevisionUUID,
key I_EHSRiskControl._EHSControl._EHSCatalog.EHSControlType,
count(distinct EHSControlInstanceUUID) as NumberOfEHSControls
} where I_EHSRiskControl.EHSControlImplStatus = '03'
group by I_EHSRiskControl.EHSRiskRevisionUUID, I_EHSRiskControl._EHSControl._EHSCatalog.EHSControlType, I_EHSRiskControl.EHSControlImplStatus
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA