I_IncidentDamageCaseCube
Incident Damage Case Cube
I_IncidentDamageCaseCube is a Composite CDS View (Cube) that provides data about "Incident Damage Case Cube" in SAP S/4HANA. It reads from 2 data sources (I_IncidentInvolvedAsset, I_IncidentWithTime) and exposes 58 fields with key field InvolvedAssetUUID. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_IncidentInvolvedAsset | asset | inner |
| I_IncidentWithTime | incwithtime | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_EHSLocation | _EHSLocation | $projection.EHSLocationUUID = _EHSLocation.EHSLocationUUID |
| [0..1] | I_Equipment | _Equipment | $projection.Equipment = _Equipment.Equipment |
| [0..1] | I_FunctionalLocation | _FunctionalLocation | $projection.FunctionalLocation = _FunctionalLocation.FunctionalLocation |
| [0..1] | I_InvolvedEquipmentType | _InvolvedEquipmentType | $projection.InvolvedEquipmentType = _InvolvedEquipmentType.InvolvedEquipmentType |
| [0..1] | I_InvolvedVehicleType | _InvolvedVehicleType | $projection.InvolvedVehicleType = _InvolvedVehicleType.InvolvedVehicleType |
| [0..1] | I_InvolvedPropertyType | _InvolvedPropertyType | $projection.InvolvedPropertyType = _InvolvedPropertyType.InvolvedPropertyType |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Incident Damage Case Cube | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AbapCatalog.sqlViewName | IINCDMGCUBE | view | |
| Analytics.internalName | #LOCAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InvolvedAssetUUID | I_IncidentInvolvedAsset | InvolvedAssetUUID | UUID |
| IncidentUUID | I_IncidentWithTime | IncidentUUID | Incident UUID | |
| IncidentID | I_IncidentWithTime | IncidentID | ||
| IncidentTitle | I_IncidentWithTime | IncidentTitle | ||
| IncidentStatus | I_IncidentWithTime | IncidentStatus | ||
| _IncidentStatus | I_IncidentWithTime | _IncidentStatus | ||
| IncidentCategory | I_IncidentWithTime | IncidentCategory | ||
| _IncidentCategory | I_IncidentWithTime | _IncidentCategory | ||
| IncidentMajorRootCause | I_IncidentWithTime | IncidentMajorRootCause | ||
| _IncidentMajorRootCause | I_IncidentWithTime | _IncidentMajorRootCause | ||
| Country | I_IncidentWithTime | Country | Venue: Ctry/Reg | |
| _Country | I_IncidentWithTime | _Country | ||
| Region | I_IncidentWithTime | Region | Venue Region | |
| _Region | I_IncidentWithTime | _Region | ||
| Plant | I_IncidentWithTime | Plant | Valuation Area | |
| _Plant | I_IncidentWithTime | _Plant | ||
| OrganizationalUnit | I_IncidentWithTime | OrganizationalUnit | Org. Unit ID | |
| _OrgUnit | I_IncidentWithTime | _OrgUnit | ||
| EHSLocationUUID | I_IncidentWithTime | EHSLocationUUID | NodeID | |
| _EHSLocation | _EHSLocation | |||
| EHSLocationID | I_IncidentWithTime | EHSLocationID | ||
| _CurrentEHSParentLocationID | I_IncidentWithTime | _CurrentEHSParentLocationID | ||
| IncidentDate | I_IncidentWithTime | IncidentDate | ||
| _CalendarDate | I_IncidentWithTime | _CalendarDate | ||
| IncidentMonth | I_IncidentWithTime | IncidentMonth | ||
| _CalendarMonth | I_IncidentWithTime | _CalendarMonth | ||
| IncidentYear | I_IncidentWithTime | IncidentYear | ||
| _CalendarYear | I_IncidentWithTime | _CalendarYear | ||
| IncidentWeekDay | I_IncidentWithTime | IncidentWeekDay | ||
| _WeekDay | I_IncidentWithTime | _WeekDay | ||
| IncidentTimeIsUnknown | I_IncidentWithTime | IncidentTimeIsUnknown | ||
| _IncidentTimeIsUnknown | I_IncidentWithTime | _IncidentTimeIsUnknown | ||
| IncidentTime | I_IncidentWithTime | IncidentTime | ||
| IncidentHour | I_IncidentWithTime | IncidentHour | ||
| _IncidentHour | I_IncidentWithTime | _IncidentHour | ||
| IncidentHasAccessRestriction | I_IncidentWithTime | IncidentHasAccessRestriction | Restricted | |
| _IncidentHasAccessRestriction | I_IncidentWithTime | _IncidentHasAccessRestriction | ||
| InvolvedAssetType | I_IncidentInvolvedAsset | InvolvedAssetType | Worklist Type | |
| _InvolvedAssetType | I_IncidentInvolvedAsset | _InvolvedAssetType | ||
| InvolvedAssetName | detail | InvolvedAssetName | ||
| Equipment | detail | Equipment | Equipment check | |
| _Equipment | _Equipment | |||
| FunctionalLocation | detail | FunctionalLocation | Object ID | |
| _FunctionalLocation | _FunctionalLocation | |||
| InvolvedEquipmentType | detail | InvolvedEquipmentType | ||
| _InvolvedEquipmentType | _InvolvedEquipmentType | |||
| InvolvedVehicleType | detail | InvolvedVehicleType | ||
| _InvolvedVehicleType | _InvolvedVehicleType | |||
| InvolvedPropertyType | detail | InvolvedPropertyType | ||
| _InvolvedPropertyType | _InvolvedPropertyType | |||
| InvolvedAssetDamageType | ||||
| _InvolvedAssetDamageType | ||||
| InvolvedEquipmentUUID | ||||
| InvolvedPropertyUUID | ||||
| InvolvedVehicleUUID | ||||
| NumberOfAssetCases | ||||
| _IncidentInvolvedAssetDamage | I_IncidentInvolvedAsset | _IncidentInvolvedAssetDamage | ||
| _IncidentBasicInfo | I_IncidentWithTime | _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_IncidentDamageCaseCube.
-- 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: IINCDMGCUBE
CREATE VIEW I_IncidentDamageCaseCube AS
SELECT
asset.InvolvedAssetUUID AS InvolvedAssetUUID,
incwithtime.IncidentUUID AS IncidentUUID,
incwithtime.IncidentID AS IncidentID,
incwithtime.IncidentTitle AS IncidentTitle,
incwithtime.IncidentStatus AS IncidentStatus,
incwithtime._IncidentStatus AS _IncidentStatus,
incwithtime.IncidentCategory AS IncidentCategory,
incwithtime._IncidentCategory AS _IncidentCategory,
incwithtime.IncidentMajorRootCause AS IncidentMajorRootCause,
incwithtime._IncidentMajorRootCause AS _IncidentMajorRootCause,
incwithtime.Country AS Country,
incwithtime._Country AS _Country,
incwithtime.Region AS Region,
incwithtime._Region AS _Region,
incwithtime.Plant AS Plant,
incwithtime._Plant AS _Plant,
incwithtime.OrganizationalUnit AS OrganizationalUnit,
incwithtime._OrgUnit AS _OrgUnit,
incwithtime.EHSLocationUUID AS EHSLocationUUID,
incwithtime.EHSLocationID AS EHSLocationID,
incwithtime._CurrentEHSParentLocationID AS _CurrentEHSParentLocationID,
incwithtime.IncidentDate AS IncidentDate,
incwithtime._CalendarDate AS _CalendarDate,
incwithtime.IncidentMonth AS IncidentMonth,
incwithtime._CalendarMonth AS _CalendarMonth,
incwithtime.IncidentYear AS IncidentYear,
incwithtime._CalendarYear AS _CalendarYear,
incwithtime.IncidentWeekDay AS IncidentWeekDay,
incwithtime._WeekDay AS _WeekDay,
incwithtime.IncidentTimeIsUnknown AS IncidentTimeIsUnknown,
incwithtime._IncidentTimeIsUnknown AS _IncidentTimeIsUnknown,
incwithtime.IncidentTime AS IncidentTime,
incwithtime.IncidentHour AS IncidentHour,
incwithtime._IncidentHour AS _IncidentHour,
incwithtime.IncidentHasAccessRestriction AS IncidentHasAccessRestriction,
incwithtime._IncidentHasAccessRestriction AS _IncidentHasAccessRestriction,
asset.InvolvedAssetType AS InvolvedAssetType,
asset._InvolvedAssetType AS _InvolvedAssetType,
detail.InvolvedAssetName AS InvolvedAssetName,
detail.Equipment AS Equipment,
detail.FunctionalLocation AS FunctionalLocation,
detail.InvolvedEquipmentType AS InvolvedEquipmentType,
detail.InvolvedVehicleType AS InvolvedVehicleType,
detail.InvolvedPropertyType AS InvolvedPropertyType,
asset._IncidentInvolvedAssetDamage.InvolvedAssetDamageType AS InvolvedAssetDamageType,
asset._IncidentInvolvedAssetDamage._InvolvedAssetDamageType AS _InvolvedAssetDamageType,
asset._IncidentInvolvedEquipment.InvolvedEquipmentUUID AS InvolvedEquipmentUUID,
asset._IncidentInvolvedProperty.InvolvedPropertyUUID AS InvolvedPropertyUUID,
asset._IncidentInvolvedVehicle.InvolvedVehicleUUID AS InvolvedVehicleUUID,
cast(1 as ehhss_number_asset_cases) AS NumberOfAssetCases,
asset._IncidentInvolvedAssetDamage AS _IncidentInvolvedAssetDamage,
incwithtime._IncidentBasicInfo AS _IncidentBasicInfo
FROM I_IncidentWithTime AS incwithtime
INNER JOIN I_IncidentInvolvedAsset AS asset ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_EHSLocation AS _EHSLocation ON EHSLocationUUID = _EHSLocation.EHSLocationUUID -- association [0..*]
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocation ON FunctionalLocation = _FunctionalLocation.FunctionalLocation -- association [0..1]
LEFT OUTER JOIN I_InvolvedEquipmentType AS _InvolvedEquipmentType ON InvolvedEquipmentType = _InvolvedEquipmentType.InvolvedEquipmentType -- association [0..1]
LEFT OUTER JOIN I_InvolvedVehicleType AS _InvolvedVehicleType ON InvolvedVehicleType = _InvolvedVehicleType.InvolvedVehicleType -- association [0..1]
LEFT OUTER JOIN I_InvolvedPropertyType AS _InvolvedPropertyType ON InvolvedPropertyType = _InvolvedPropertyType.InvolvedPropertyType -- association [0..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