I_IncidentCaseCube
Incident Case Cube
I_IncidentCaseCube is a Composite CDS View (Cube) that provides data about "Incident Case Cube" in SAP S/4HANA. It reads from 2 data sources (P_IncidentCaseWithType, I_IncidentWithTime) and exposes 44 fields with key fields IncidentUUID, IncidentCaseType, PersonInfoHasAccRestriction. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_IncidentCaseWithType | _IncidentCaseWithType | inner |
| I_IncidentWithTime | _IncidentWithTime | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_IncidentCaseType | _IncidentCaseType | $projection.IncidentCaseType = _IncidentCaseType.IncidentCaseType |
| [0..*] | I_EHSLocation | _EHSLocation | $projection.EHSLocationUUID = _EHSLocation.EHSLocationUUID |
| [1..1] | I_TernaryLogicalState | _PersonInfoHasAccRestriction | $projection.PersonInfoHasAccRestriction = _PersonInfoHasAccRestriction.TernaryLogicalState |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Incident Case Cube | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | IINCCASECUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.allowExtensions | true | view |
Fields (44)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | IncidentUUID | I_IncidentWithTime | IncidentUUID | Incident UUID |
| KEY | IncidentCaseType | P_IncidentCaseWithType | IncidentCaseType | |
| _IncidentCaseType | _IncidentCaseType | |||
| KEY | PersonInfoHasAccRestriction | P_IncidentCaseWithType | PersonInfoHasAccRestriction | |
| _PersonInfoHasAccRestriction | _PersonInfoHasAccRestriction | |||
| IncidentID | IncidentID | |||
| IncidentTitle | IncidentTitle | |||
| IncidentStatus | IncidentStatus | |||
| _IncidentStatus | _IncidentStatus | |||
| IncidentCategory | IncidentCategory | |||
| _IncidentCategory | _IncidentCategory | |||
| IncidentMajorRootCause | IncidentMajorRootCause | |||
| _IncidentMajorRootCause | _IncidentMajorRootCause | |||
| Country | Country | Venue: Ctry/Reg | ||
| _Country | _Country | |||
| Region | Region | Venue Region | ||
| _Region | _Region | |||
| Plant | Plant | Valuation Area | ||
| _Plant | _Plant | |||
| OrganizationalUnit | OrganizationalUnit | Org. Unit ID | ||
| _OrgUnit | _OrgUnit | |||
| EHSLocationUUID | EHSLocationUUID | NodeID | ||
| EHSLocationID | EHSLocationID | |||
| _EHSLocation | _EHSLocation | |||
| _CurrentEHSParentLocationID | _CurrentEHSParentLocationID | |||
| IncidentDate | IncidentDate | |||
| _CalendarDate | _CalendarDate | |||
| IncidentMonth | IncidentMonth | |||
| _CalendarMonth | _CalendarMonth | |||
| IncidentYear | IncidentYear | |||
| _CalendarYear | _CalendarYear | |||
| IncidentWeekDay | IncidentWeekDay | |||
| _WeekDay | _WeekDay | |||
| IncidentTimeIsUnknown | IncidentTimeIsUnknown | |||
| _IncidentTimeIsUnknown | _IncidentTimeIsUnknown | |||
| IncidentTime | IncidentTime | |||
| IncidentHour | IncidentHour | |||
| _IncidentHour | _IncidentHour | |||
| IncidentHasAccessRestriction | IncidentHasAccessRestriction | Restricted | ||
| _IncidentHasAccessRestriction | _IncidentHasAccessRestriction | |||
| NumberOfInjuryIllnessCases | P_IncidentCaseWithType | NumberOfInjuryIllnessCases | ||
| NumberOfAssetCases | P_IncidentCaseWithType | NumberOfAssetCases | ||
| NumberOfReleaseCases | P_IncidentCaseWithType | NumberOfReleaseCases | ||
| NumberOfNoticeOfViolationCases | P_IncidentCaseWithType | NumberOfNoticeOfViolationCases |
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_IncidentCaseCube.
-- 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: IINCCASECUBE
CREATE VIEW I_IncidentCaseCube AS
SELECT
_IncidentWithTime.IncidentUUID AS IncidentUUID,
_IncidentCaseWithType.IncidentCaseType AS IncidentCaseType,
_IncidentCaseWithType.PersonInfoHasAccRestriction AS PersonInfoHasAccRestriction,
IncidentID,
IncidentTitle,
IncidentStatus,
IncidentCategory,
IncidentMajorRootCause,
Country,
Region,
Plant,
OrganizationalUnit,
EHSLocationUUID,
EHSLocationID,
IncidentDate,
IncidentMonth,
IncidentYear,
IncidentWeekDay,
IncidentTimeIsUnknown,
IncidentTime,
IncidentHour,
IncidentHasAccessRestriction,
_IncidentCaseWithType.NumberOfInjuryIllnessCases AS NumberOfInjuryIllnessCases,
_IncidentCaseWithType.NumberOfAssetCases AS NumberOfAssetCases,
_IncidentCaseWithType.NumberOfReleaseCases AS NumberOfReleaseCases,
_IncidentCaseWithType.NumberOfNoticeOfViolationCases AS NumberOfNoticeOfViolationCases
FROM I_IncidentWithTime AS _IncidentWithTime
INNER JOIN P_IncidentCaseWithType AS _IncidentCaseWithType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_IncidentCaseType AS _IncidentCaseType ON IncidentCaseType = _IncidentCaseType.IncidentCaseType -- association [1..1]
LEFT OUTER JOIN I_EHSLocation AS _EHSLocation ON EHSLocationUUID = _EHSLocation.EHSLocationUUID -- association [0..*]
LEFT OUTER JOIN I_TernaryLogicalState AS _PersonInfoHasAccRestriction ON PersonInfoHasAccRestriction = _PersonInfoHasAccRestriction.TernaryLogicalState -- association [1..1]
;
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