Resource Changes for Event Situations
Use Case
You want to forward SAP Cloud ALM Event Situations to an external incidents system. The Resource Changes service offers built-in support for external incidents systems by delivering built-in mappings for selected systems.
This chapter provides information on the event situations payload and events.
Prerequisites
You have an external system account offering a REST API for incidents creation.
Supported Events
-
Status Events
-
Allow to react on cloud service events (disruption, degradation, maintenance, communication), which are communicated by SAP in the Cloud Availability Center
or your own events on cloud services and technical systems including on-premise systems not covered by SAP in the Cloud Availability Center. -
Status events are by the business service management applications. Check the SAP support portal for more information.
-
-
Monitoring Events
-
Allow to react on events triggered from the different monitoring use-cases sources. (ex: Health Monitoring monitors the availability of a HANA Cloud Database). Check the SAP Support Portal
for more information.
-
Events for Event Situation
Monitoring Events
-
Raised automatically whenever a new event situation has been created.
-
Raised automatically when one of the following situations occurs:
-
The corresponding alert has been "Confirmed" from the alert inbox.
-
The event is “auto-closed”: The corresponding metrics reports expected values and the rating of the corresponding alert is changed to "Green".
-
The event situation is closed from an external third-party component via the event situations API:
-
If an alert/event had multiple tickets attached to it, and if one of these ticket closes and call the Event Situation Close API, the event situation is closed and the other tickets are also closed.
-
-
-
Raised automatically when an existing event situation is changed in SAP Cloud ALM. (Ex: The rating is changing from red to yellow or vice versa).
-
Raised automatically from the SAP Cloud ALM Alert Inbox to display the status of the incidents in the alert inbox.
Status Events
-
Raised automatically when a new status events has been created based on the following rules:
-
For disruption and degradation event the event situation is created when an issue is detected.
-
For maintenance events the event situation is created when the maintenance event is announced.
-
For disruption and degradation events that have been already resolved, the event situation is created.
-
-
Raised automatically when one of the following situations occurs:
-
The event is “auto-closed”: The corresponding metrics reports expected values and the rating of the corresponding alert is changed to "Green".
-
The event situation is closed from an external third-party component via the event situations API:
-
If an alert/event had multiple tickets attached to it, and if one of these ticket closes and call the Event Situation Close API, event situation is closed and the other tickets are also closed.
-
-
-
Raised automatically when one of the following situations occurs:
-
An existing status events is changed in SAP Cloud ALM.
-
SAP Cloud ALM receives a status update from SAP for Me.
-
-
Raised automatically to communicate the result of the root cause analysis completed after the resolution of a degradation or a disruption event.
Status Events occurring in the past
For status events, such as Disruption and Degradation events, that have occurred in the past (both start time and end time in the past), you can now trigger event actions such as tickets and chat notifications. In such a case, the status event contains the boolean property isRetrospective (under tags) with the value true. The event type EVENT-SITUATION.CREATED is automatically triggered.
Using the mapping capabilities, those status events can be ignored with the property sentIf. More details can be found in the Mapping.
Event Situation Events and Response Payload
This documentation describes the payload format for status and monitoring events. For monitoring events, only the standard fields are described. To get a complete view of the event situation resource, the Event Payload trace needs to be used in Intelligent Event Processing application. You can also refer to SAP Business Accelerator Hub where SAP Cloud ALM Event Situations API is provided.
The tables below describes the main fields of the Event Situation resource as well as the expected response payload.
Monitoring Event Resource Format
|
Attribute |
Description |
Example |
EVENT-SITUATION.CREATED |
EVENT-SITUATION.UPDATED |
EVENT-SITUATION.CLOSED |
EVENT-SITUATION.PING |
|---|---|---|---|---|---|---|
|
id |
Event ID or event situation ID |
"cd0cb7ea-c4ed-43f5-aaf7-e12259483184" |
X |
X |
X |
X |
|
eventType |
Type of the Event Situation |
"CALM.HM" |
X |
X |
||
|
eventSubType |
Subtype of the Event Situation |
"ABAP.License" |
X |
X |
||
|
serviceId |
Impacted components |
"cfd0a8bd-5edd-4556-a975-ef2086cc50fa" |
X |
X |
||
|
serviceName |
Name of the service |
"ABC100" |
X |
X |
||
|
serviceType |
Type of the service |
"SAP Focused Run" |
X |
X |
||
|
startTime |
Event situation creation timestamp |
"2025-07-09 20:05:00Z" (tickets) "2025-07-09 20:05:00 (UTC+02:00)" (chats) |
X |
X |
||
|
updateTime |
Event situation timestamp update |
"2025-07-09 20:05:00Z" (tickets) "2025-07-09 20:05:00 (UTC+02:00)" (chats) |
X |
X |
||
|
timestamp |
Timestamp of event provided by any usecase |
"2025-07-09 20:05:00Z" (tickets) "2025-07-09 20:05:00 (UTC+02:00)" (chats) |
X |
X |
X |
X |
|
subject |
Event Situation subject |
"[ERROR] ABC100 (Expired ABAP License)" |
X |
X |
||
|
body |
Event-Situation body |
"One or more ABAP licenses have expired" |
X |
X |
||
|
htmlBody |
Event-Situation body with HTML format |
"<BODY> <table border='0' cellspacing='0' cellpadding='0' align='center' width='600'> <tbody>..." |
X |
X |
||
|
rating |
Rating of the Event-Situation. Possible values: FATAL, ERROR, WARNING, INFO |
"ERROR" |
X |
X |
X |
|
|
tags |
Tags associated to the event |
|
X |
X |
||
|
workNotes |
Additional information |
"Timestamp : 2025-07-09 20:05:00 (UTC+02:00)\n\nStart Time : 2025-07-09 20:05:00 (UTC+02:00)\n\nUpdate Time : 2025-07-09 20:05:00 (UTC+02:00)" |
X |
X |
||
|
externalId |
External resource ID in case of updates / closures |
"071065d6072e01100088f6fd7c1ed004" |
X |
X |
X |
Status Event Resource Format
|
Attribute |
Description |
Example |
EVENT-SITUATION.CREATED |
EVENT-SITUATION.UPDATED |
EVENT-SITUATION.CLOSED |
EVENT-SITUATION.PING |
|---|---|---|---|---|---|---|
|
id |
Event ID or event situation ID |
"cd0cb7ea-c4ed-43f5-aaf7-e12259483184" |
X |
X |
X |
X |
|
eventType |
Type of the event |
"CALM.BSM" |
X |
X |
X |
X |
|
eventSubType |
Sub-type of the status event. Possible values: "Communication", "Degradation", "Maintenance", "Disruption". |
"Communication" |
X |
X |
X |
X |
|
eventName |
The name of the status event. For events created by SAP it usually starts with EV followed by some numbers. For events created in Business Service Management it is the name entered when creating the event. |
"EV123456789" |
X |
X |
X |
X |
|
eventState |
The event state is either Update (also for the first event notification) or Close |
"UPDATE" |
X |
X |
X |
X |
|
serviceId |
Impacted components |
"8933920c-448c-4c1d-85c7-cc0dcd95c87a" |
X |
X |
X |
X |
|
serviceName |
Name of the service |
"ABC100" |
X |
X |
X |
X |
|
serviceType |
Type of the service |
"Business service" |
X |
X |
X |
X |
|
timestamp |
When the event notification was sent from Business Service Management to Intelligent Event Processing. |
2025-05-09T11:00:30.253761Z |
X |
X |
X |
X |
|
startTime |
Creation time of the status event |
"2025-05-23T14:09:54.279998Z" |
X |
X |
X |
X |
|
updateTime |
Time of last event updates |
"2023-05-23T14:09:54.279998Z" |
X |
X |
X |
X |
|
subject |
Concatenation of event type and event name |
"Maintenance (EV1234567)" |
X |
X |
X |
X |
|
body |
Event Situation body |
X |
X |
|||
|
htmlBody |
The html body contains all descriptions and subsequent update texts formatted using the same html template as the email notification send by Business Service Management. |
X |
X |
X |
X |
|
|
workNotes |
Additional information |
Timestamp : 2025-03-16T18:18:25.437809Z Start Time : 2025-03-16T07:18:25.437809Z Update Time : 2025-03-16T07:18:25.437809Z Link to alert : https://.... |
X |
X |
||
|
externalId |
External resource ID in case of updates / closures |
071065d6072e01100088f6fd7c1ed004 |
X |
X |
X |
|
|
tags |
Tags associated to the event. They are described more precisely in the following rows. |
{ "type":"httpPing", "status":"DOWN"} |
X |
X |
X |
X |
|
tags.startTimeUTC |
The start time of the event in UTC |
"04-May-2023 00:00:00 (UTC)" |
X |
X |
X |
X |
|
tags.endTime |
The end time of the event in UTC. For ongoing disruptions or degradations the end time could be unknown ("Unknown") |
"04-May-2025 00:00:00 (UTC)" |
X |
X |
X |
X |
|
tags.event.phase |
Indicates the phase in which the event is. The following phases are possible: 1 Detection, 2 Status Update, 3 Resolution, 4 Root-cause analysis, 5 Announcement, 6 Reminder, 7 Start, 8 Completed, 9 Intermediate Root-cause analysis, 10 Canceled. |
"2" |
X |
X |
X |
X |
|
tags.eventPhaseString |
Indicates the phase in which the event is |
"Status Update" |
X |
X |
X |
X |
|
tags.statusId |
Indicates the event status. The following status ids are possible: 2 In Process 3 Closed 6 Scheduled 5 Canceled |
"2" |
X |
X |
X |
X |
|
tags.statusString |
The status of the event |
"In Process" |
X |
X |
X |
X |
|
tags.eventSource |
Whether the event was created by SAP or by customer in SAP Cloud ALM Business Service Management. Possible values: "SAP" or "Customer" |
"SAP" |
X |
X |
X |
X |
|
tags.description |
The textual description of the status event. For status events created by SAP the description contains also status updates, additional details, root cause anaylsis information where applicable |
"A technical issue has been identified in the landscape X" |
X |
X |
X |
X |
|
tags.businessService |
The name of the business services for which the event was raised |
"Lead to Cash" |
X |
X |
X |
X |
|
tags.serviceType |
The service type is a business service for status events. The value "BusinessService" is always used |
"BusinessService" |
X |
X |
X |
X |
|
tags.subject |
Concatenation of event type, event phase and business service name |
"Disruption [Detection]: Lead to Cash" |
X |
X |
X |
X |
|
tags.affectedServicesList |
List of services or systems for which the event was created in JSON array format |
|
X |
X |
X |
X |
|
tags.isSlaRelevant |
Whether the status event is service level relevant or not. Possible values: "true", "false" |
"true" |
X |
X |
X |
X |
|
tags.affectedServicesHTML |
List of services or systems for which the event was created in HTML table format |
X |
X |
X |
X |
|
|
tags.header |
A textual description containing status event type and business service |
"A Disruption has been detected for the business service Lead to Cash" |
X |
X |
X |
X |
|
tags.CSSIncidentID |
If the event was reported by SAP for Me it could contain a link to a CSS incident |
"1234567" |
X |
X |
X |
X |
|
tags.monUILink |
Callback URL to event calendar in SAP Cloud ALM |
"https://myHost.com/shell/run?sap-ui-app-id=sap.crun.bsmapp.ui#/Calendar/display?serviceId=8933920c-448c-4c1d-85c7-cc0dcd95c87a" |
X |
X |
X |
X |
|
tags.serviceName |
The name of the business service for which the event was raised |
"Lead to Cash" |
X |
X |
X |
X |
|
tags.serviceTypeLabel |
Always BusinessService for status events |
"BusinessService" |
X |
X |
X |
X |
|
tags.isRetrospective |
To indicate if the status event (disruption or degradation) is already resolved (i.e. with start time and end time in the past). Possible values: true, false (by default) |
false |
X |
X |
X |
X |
Response payload for event types CREATED, UPDATED, and CLOSED
|
Attribute |
Description |
Example |
|---|---|---|
|
externalId |
Unique identifier of the external resource |
"cd0cb7ea-c4ed-43f5-aaf7-e12259483184" |
|
externalNumber |
Number or name of the external resource |
"INC0012407" |
|
externalStatus |
Status of the external resource |
"New" |
|
displayUrl |
Web link to the external resource |
"https://..." |
Response payload for event type PING
|
Attribute |
Description |
Example |
Remarks |
|---|---|---|---|
|
externalId |
Unique identifier of the external resource |
"cd0cb7ea-c4ed-43f5-aaf7-e12259483184" |
|
|
externalNumber |
Number or name of the external resource |
"INC0012407" |
|
|
externalStatus |
Status of the external resource |
"New" |
|
|
displayUrl |
Web link to the external resource |
"https://..." |
|
|
createdAt |
Creation time of the external resource |
||
|
lastUpdatedAt |
Last update time of the external resource |
||
|
assignedTo |
Who is assigned to the external resource |
This field is considered as personal data and if a value is provided by the external system, it will be processed by SAP Cloud ALM. You can refer to DPP documentation. |