I_IncidentGroupCube
Incident Group Cube
Incident Group - Cube
I_IncidentGroupCube (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Cross Applications
I_IncidentGroupCube is a Composite CDS View (Cube) that provides data about "Incident Group Cube" in SAP S/4HANA. It reads from 1 data source (I_IncidentWithTime) and exposes 48 fields with key fields IncidentUUID, IncidentGroupUUID. It has 2 associations to related views.
SAP Help Documentation
| Category | All Incident Groups - Query |
|---|---|
| Data Category | Cube |
| Status | Status |
Purpose
This CDS view provides access to data on incidents of all categories, such as the total number of records per incident group and the status, date, time, and location of each incident. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: EHHSS_INC6 (Incidents) EHFND_LOC (Locations)
Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute NumberOfIncidentRecords Incident Records Measure NumberOfNearMissRecords Near Miss Records Measure NumberOfSftyObservationRecords Safety Observation Records Measure NumberOfInjryIllnLogRecords Injury/Illness Log Entries Measure IncidentUUID Incident UUID Attribute IncidentGroupUUID NodeID Attribute IncidentGroupCode Incident Group Attribute NearMissGroupCode Near Miss Group Attribute SafetyObservationGroupCode Safety Observation Group Attribute IncidentID Incident ID Attribute IncidentTitle Title Attribute IncidentCategory Category Attribute IncidentStatus Status Attribute IncidentMajorRootCause Major Root Cause Attribute IncidentDate Start Date Attribute IncidentYear Calendar Year Attribute IncidentMonth Calendar Month Attribute IncidentYearMonth Year Month Attribute IncidentYearQuarter Calendar Quarter Attribute IncidentWeekDay Week Day Attribute IncidentTimeIsUnknown Time Unknown Attribute IncidentTime Field of type TIMS Attribute IncidentHour Hour Attribute IncidentInjuryIllnLogType Type Attribute IncidentHasAccessRestriction Restricted Attribute EHSLocationID Location ID Attribute EHSLocationUUID Location Attribute OrganizationalUnit Organizational Unit Attribute Plant Plant ID Attribute Country Country/Region Attribute Region Region Attribute EHSIncidentGroupSeverity Severity Level Attribute
This CDS view provides access to data on incidents of all categories, such as the total number of records per incident group and the status, date, time, and location of each incident. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: EHHSS_INC6 (Incidents) EHFND_LOC (Locations)
Structure
Important Fields Important fields in this view include the following: Field Name Description Measure or Attribute NumberOfIncidentRecords Incident Records Measure NumberOfNearMissRecords Near Miss Records Measure NumberOfSftyObservationRecords Safety Observation Records Measure NumberOfInjryIllnLogRecords Injury/Illness Log Entries Measure IncidentUUID Incident UUID Attribute IncidentGroupUUID NodeID Attribute IncidentGroupCode Incident Group Attribute NearMissGroupCode Near Miss Group Attribute SafetyObservationGroupCode Safety Observation Group Attribute IncidentID Incident ID Attribute IncidentTitle Title Attribute IncidentCategory Category Attribute IncidentStatus Status Attribute IncidentMajorRootCause Major Root Cause Attribute IncidentDate Start Date Attribute IncidentYear Calendar Year Attribute IncidentMonth Calendar Month Attribute IncidentYearMonth Year Month Attribute IncidentYearQuarter Calendar Quarter Attribute IncidentWeekDay Week Day Attribute IncidentTimeIsUnknown Time Unknown Attribute IncidentTime Field of type TIMS Attribute IncidentHour Hour Attribute IncidentInjuryIllnLogType Type Attribute IncidentHasAccessRestriction Restricted Attribute EHSLocationID Location ID Attribute EHSLocationUUID Location Attribute OrganizationalUnit Organizational Unit Attribute Plant Plant ID Attribute Country Country/Region Attribute Region Region Attribute EHSIncidentGroupSeverity Severity Level Attribute
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | EHS-SUS-IM |
| Capabilities | Data Provider for Analytical Queries |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
| Description | <p>This CDS view provides access to data on incidents of all categories, such as the total number of records per incident group and the status, date, time, and location of each incident.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_IncidentWithTime | I_IncidentWithTime | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_EHSLocation | _EHSLocation | $projection.EHSLocationUUID = _EHSLocation.EHSLocationUUID |
| [0..*] | I_IncidentGroup | _IncidentGroup | $projection.IncidentUUID = _IncidentGroup.IncidentUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Incident Group Cube | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | IINCGROUPCUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | IncidentUUID | I_IncidentWithTime | IncidentUUID | Incident UUID |
| KEY | IncidentGroupUUID | _IncidentGroup | IncidentGroupUUID | NodeID |
| IncidentGroupCode | _IncidentGroup | IncidentGroupCode | Incident Group | |
| _IncidentGroupCode | _IncidentGroup | _IncidentGroupCode | ||
| NearMissGroupCode | _IncidentGroup | NearMissGroupCode | Near Miss Group | |
| _NearMissGroupCode | _IncidentGroup | _NearMissGroupCode | ||
| SafetyObservationGroupCode | _IncidentGroup | SafetyObservationGroupCode | Safety Observation Group | |
| _SafetyObservationGroupCode | _IncidentGroup | _SafetyObservationGroupCode | ||
| IncidentID | IncidentID | Incident ID | ||
| IncidentTitle | IncidentTitle | Incident Title | ||
| IncidentStatus | IncidentStatus | Incident Status | ||
| _IncidentStatus | _IncidentStatus | |||
| IncidentCategory | IncidentCategory | Incident Category | ||
| _IncidentCategory | _IncidentCategory | |||
| IncidentMajorRootCause | IncidentMajorRootCause | Major Root Cause | ||
| _IncidentMajorRootCause | _IncidentMajorRootCause | |||
| Country | Country | Country/Region of Incident | ||
| _Country | _Country | |||
| Region | Region | Region of Incident | ||
| _Region | _Region | |||
| Plant | Plant | Valuation Area | ||
| _Plant | _Plant | |||
| OrganizationalUnit | OrganizationalUnit | Organizational Unit ID | ||
| _OrgUnit | _OrgUnit | |||
| EHSLocationUUID | EHSLocationUUID | Location | ||
| EHSLocationID | EHSLocationID | Location ID | ||
| _EHSLocation | _EHSLocation | |||
| _CurrentEHSParentLocationID | _CurrentEHSParentLocationID | |||
| IncidentDate | IncidentDate | Incident Start Date | ||
| _CalendarDate | _CalendarDate | |||
| IncidentMonth | IncidentMonth | Calendar Month | ||
| _CalendarMonth | _CalendarMonth | |||
| IncidentYear | IncidentYear | Calendar Year | ||
| _CalendarYear | _CalendarYear | |||
| IncidentWeekDay | IncidentWeekDay | Week Day | ||
| _WeekDay | _WeekDay | |||
| IncidentTimeIsUnknown | IncidentTimeIsUnknown | Time Unknown for Incident Start | ||
| _IncidentTimeIsUnknown | _IncidentTimeIsUnknown | |||
| IncidentTime | IncidentTime | Field of type TIMS | ||
| EHSIncidentGroupSeverity | _IncidentGroup | EHSIncidentGroupSeverity | Severity Level Code | |
| _IncidentGroupSeverityText | _IncidentGroup | _IncidentGroupSeverityText | ||
| IncidentHour | IncidentHour | Hour | ||
| _IncidentHour | _IncidentHour | |||
| IncidentInjuryIllnLogType | IncidentInjuryIllnLogType | Injury/Illness Log Entry Type | ||
| _IncidentInjryIllnLogType | _IncidentInjryIllnLogType | |||
| IncidentHasAccessRestriction | IncidentHasAccessRestriction | Restricted Access to Incident Record | ||
| _IncidentHasAccessRestriction | _IncidentHasAccessRestriction | |||
| _IncidentBasicInfo | _IncidentBasicInfo |
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_IncidentGroupCube.
-- 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: IINCGROUPCUBE
CREATE VIEW I_IncidentGroupCube AS
SELECT
I_IncidentWithTime.IncidentUUID AS IncidentUUID,
_IncidentGroup.IncidentGroupUUID AS IncidentGroupUUID,
_IncidentGroup.IncidentGroupCode AS IncidentGroupCode,
_IncidentGroup._IncidentGroupCode AS _IncidentGroupCode,
_IncidentGroup.NearMissGroupCode AS NearMissGroupCode,
_IncidentGroup._NearMissGroupCode AS _NearMissGroupCode,
_IncidentGroup.SafetyObservationGroupCode AS SafetyObservationGroupCode,
_IncidentGroup._SafetyObservationGroupCode AS _SafetyObservationGroupCode,
IncidentID,
IncidentTitle,
IncidentStatus,
IncidentCategory,
IncidentMajorRootCause,
Country,
Region,
Plant,
OrganizationalUnit,
EHSLocationUUID,
EHSLocationID,
IncidentDate,
IncidentMonth,
IncidentYear,
IncidentWeekDay,
IncidentTimeIsUnknown,
IncidentTime,
_IncidentGroup.EHSIncidentGroupSeverity AS EHSIncidentGroupSeverity,
_IncidentGroup._IncidentGroupSeverityText AS _IncidentGroupSeverityText,
IncidentHour,
IncidentInjuryIllnLogType,
IncidentHasAccessRestriction
FROM I_IncidentWithTime
LEFT OUTER JOIN I_EHSLocation AS _EHSLocation ON EHSLocationUUID = _EHSLocation.EHSLocationUUID -- association [0..*]
LEFT OUTER JOIN I_IncidentGroup AS _IncidentGroup ON IncidentUUID = _IncidentGroup.IncidentUUID -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA