I_IncidentTaskCube
Incident/Investigation step tasks cube.
I_IncidentTaskCube is a Composite CDS View (Cube) that provides data about "Incident/Investigation step tasks cube." in SAP S/4HANA. It has 6 associations to related views.
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_EHSLocation | _EHSLocation | $projection.EHSLocationUUID = _EHSLocation.EHSLocationUUID |
| [1..1] | I_IncidentCombAuthFields | _EHSIncident | $projection.EHSTaskHostObjectInstanceUUID = _EHSIncident.EHSTaskHostObjectInstanceUUID |
| [0..1] | I_CalendarDate | _CalendarDate | $projection.EHSTaskDueDate = _CalendarDate.CalendarDate |
| [0..*] | I_IncidentCategoryText | _IncidentCategoryText | $projection.IncidentCategory = _IncidentCategoryText.IncidentCategory |
| [0..*] | I_EHSTaskDefinitionTypeText | _TaskDefinitionTypeText | $projection.EHSTaskDefinitionType = _TaskDefinitionTypeText.EHSTaskDefinitionType |
| [0..1] | I_EHSLearning | _LearningDescr | $projection.EHSLearningUUID = _LearningDescr.EHSLearningUUID |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Incident/Investigation step tasks cube. | view | |
| AbapCatalog.sqlViewName | IEHSCALIT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.allowExtensions | true | view |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkflowTaskInternalID | WorkflowTaskInternalID | Work Item ID | |
| KEY | EHSTaskDefinitionUUID | EHSTaskDefinitionUUID | Task Definition | |
| EHSTaskHostObjectInstance | EHSTaskHostObjectInstance | Instance ID | ||
| EHSTaskHostObjectInstanceUUID | EHSTaskHostObjectInstanceUUID | Host Obj. UUID | ||
| EHSTaskStatusValueForSorting | ||||
| EHSTaskDefinitionType | EHSTaskDefinitionType | Task Type | ||
| EHSTaskDueDate | EHSTaskDueDate | Due Date | ||
| EHSTaskStartDate | EHSTaskStartDate | Start Date | ||
| EHSPlannedTaskID | EHSPlannedTaskID | ID | ||
| EHSTaskTitle | EHSTaskTitle | Title | ||
| EHSTaskAssignedBP | EHSTaskAssignedBP | Assignee | ||
| EHSTaskAssignedUserName | EHSTaskAssignedUserName | |||
| EHSLocationUUID | EHSLocationUUID | NodeID | ||
| EHSLocationUUIDHex | ||||
| _EHSLocation | _EHSLocation | |||
| EHSLocationNameendasEHSLocationName | ||||
| EHSNumberOfTasks | ||||
| EHSTaskHostSemanticObject | EHSTaskHostSemanticObject | |||
| IncidentCategory | _EHSIncident | IncidentCategory | ||
| _IncidentCategory | _EHSIncident | _IncidentCategory | ||
| IncidentStatus | _EHSIncident | IncidentStatus | ||
| _IncidentStatus | _EHSIncident | _IncidentStatus | ||
| IncidentID | _EHSIncident | IncidentID | ||
| _IncidentCategoryText | _IncidentCategoryText | |||
| _TaskDefinitionTypeText | _TaskDefinitionTypeText | |||
| EHSLearningUUID | EHSLearningUUID | |||
| EHSLearningDescriptionText | _LearningDescr | EHSLearningDescriptionText | ||
| EHSTaskMonth | _CalendarDate | CalendarMonth | Calendar Month | |
| _CalendarMonth | _CalendarDate | _CalendarMonth | ||
| EHSTaskYear | _CalendarDate | CalendarYear | Year | |
| _CalendarYear | _CalendarDate | _CalendarYear | ||
| _EHSIncident | _EHSIncident | |||
| EHSTaskHostObjectAdapterClass | I_EHSCombinedTaskDefAndInstce | EHSTaskHostObjectAdapterClass | Class Name | |
| EHSTaskOwnerBP | I_EHSCombinedTaskDefAndInstce | EHSTaskOwnerBP | Owner | |
| _CmplncRqmtAuthznFields | _CmplncRqmtAuthznFields | |||
| _EHSCmplncScenAuthznFields | _EHSCmplncScenAuthznFields | |||
| _EHSCtrlImplmtnAuthznFields | _EHSCtrlImplmtnAuthznFields | |||
| _EHSRskAssessmentAuthznFields | _EHSRskAssessmentAuthznFields | |||
| _EHSTaskAdapterClass | _EHSTaskAdapterClass | |||
| _EHSTaskOwnerUser | _EHSTaskOwnerUser | |||
| _IncidentAuthorizationFields | _IncidentAuthorizationFields | |||
| IncidentHasAccessRestriction | IncidentHasAccessRestriction | Restricted |
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_IncidentTaskCube.
-- 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: IEHSCALIT
CREATE VIEW I_IncidentTaskCube AS
SELECT
WorkflowTaskInternalID,
EHSTaskDefinitionUUID,
EHSTaskHostObjectInstance,
EHSTaskHostObjectInstanceUUID,
cast( EHSTaskStatusValueForSorting as ehfnd_task_calendar_status preserving type ) AS EHSTaskStatusValueForSorting,
EHSTaskDefinitionType,
EHSTaskDueDate,
EHSTaskStartDate,
EHSPlannedTaskID,
EHSTaskTitle,
EHSTaskAssignedBP,
EHSTaskAssignedUserName,
EHSLocationUUID,
bintohex(EHSLocationUUID) AS EHSLocationUUIDHex,
case when _EHSLocation[RevisionStartDate <= $session.system_date and RevisionEndDate >= $session.system_date]._EHSLocationRevisionName[1: Language = $session.system_language].EHSLocationName is null then bintohex( I_EHSCombinedTaskDefAndInstce.EHSLocationUUID ) else _EHSLocation[RevisionStartDate <= $session.system_date and RevisionEndDate >= $session.system_date]._EHSLocationRevisionName[1: Language = $session.system_language].EHSLocationName end as EHSLocationName AS EHSLocationNameendasEHSLocationName,
cast( 1 as ehfnd_integer ) AS EHSNumberOfTasks,
EHSTaskHostSemanticObject,
_EHSIncident.IncidentCategory AS IncidentCategory,
_EHSIncident._IncidentCategory AS _IncidentCategory,
_EHSIncident.IncidentStatus AS IncidentStatus,
_EHSIncident._IncidentStatus AS _IncidentStatus,
_EHSIncident.IncidentID AS IncidentID,
EHSLearningUUID,
_LearningDescr.EHSLearningDescriptionText AS EHSLearningDescriptionText,
_CalendarDate.CalendarMonth AS EHSTaskMonth,
_CalendarDate._CalendarMonth AS _CalendarMonth,
_CalendarDate.CalendarYear AS EHSTaskYear,
_CalendarDate._CalendarYear AS _CalendarYear,
I_EHSCombinedTaskDefAndInstce.EHSTaskHostObjectAdapterClass AS EHSTaskHostObjectAdapterClass,
I_EHSCombinedTaskDefAndInstce.EHSTaskOwnerBP AS EHSTaskOwnerBP,
IncidentHasAccessRestriction
LEFT OUTER JOIN I_EHSLocation AS _EHSLocation ON EHSLocationUUID = _EHSLocation.EHSLocationUUID -- association [0..*]
LEFT OUTER JOIN I_IncidentCombAuthFields AS _EHSIncident ON EHSTaskHostObjectInstanceUUID = _EHSIncident.EHSTaskHostObjectInstanceUUID -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _CalendarDate ON EHSTaskDueDate = _CalendarDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_IncidentCategoryText AS _IncidentCategoryText ON IncidentCategory = _IncidentCategoryText.IncidentCategory -- association [0..*]
LEFT OUTER JOIN I_EHSTaskDefinitionTypeText AS _TaskDefinitionTypeText ON EHSTaskDefinitionType = _TaskDefinitionTypeText.EHSTaskDefinitionType -- association [0..*]
LEFT OUTER JOIN I_EHSLearning AS _LearningDescr ON EHSLearningUUID = _LearningDescr.EHSLearningUUID -- 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