Event Notifications in SAP Cloud For Customer
Event Notifications in SAP Cloud For Customer
2021-03-09
1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
With Event Notifications, you can subscribe to changes to business objects in SAP Cloud for Customer.
Notifications are available for create, update, and delete at both root and node levels.
Consumer Types
Authentication
See how to configure an event notification for the following consumer types:
1. In SAP Cloud for Customer, navigate to Administrator General Settings System Administration
Event Notification .
2. Go to All Consumers, click Add.
3. Select type External Consumer, and then enter a Name and the Endpoint and then click Save.
4. Select the consumer and click Edit Credentials to enter authentication details.
5. Go to Subscriptions Add .
6. Select a Business Object and Node and then select at least one of Create, Update, or Delete.
7. Enable Field changed to receive notifications based on change in the status of a business object.
For root nodes of a business object, you can receive a notification when there's a status change in the
business object. For example, you can use this feature to configure the system to generate a notification
when an opportunity is created, updated, or deleted.
8. Enable Enhanced Payload to enhance the event notification payload to include changes to business
objects.
Enable this feature if, in addition to receiving a notification of change in a business object, you also want to
see the changes in the payload. Here's a summary of the changes available in the payload:
9. Click Save.
10. Select the consumer and then go to Actions Activate .
To configure an event notification for SAP Cloud Platform Extensions, follow these instructions:
Step 1: Register your SAP Cloud for Customer system to connect with an SAP Cloud
Platform global account.
For instructions, see Register an SAP Customer Experience System.
1. In SAP Cloud for Customer, navigate to Administrator General Settings System Administration
Event Notification .
2. Go to All Consumers, click Add.
3. Select type SAP Cloud Platform Extensions, and then enter the following information:
○ Name: Give a name to the consumer.
○ Remote Environment URL: Paste the token that you copied from SAP Cloud Platform cockpit.
○ Callback User: Enter your SAP Cloud for Customer user ID
○ Callback Password: Enter your SAP Cloud for Customer password
and then click Save.
4. Go to Subscriptions Add .
5. Select a Business Object and Node and then select at least one of Create, Update, or Delete.
6. Enable Field changed to receive notifications based on change in the status of a business object.
For root nodes of a business object, you can receive a notification when there's a status change in the
business object. For example, you can use this feature to configure the system to generate a notification
when an opportunity is created, updated, or deleted.
7. Enable Enhanced Payload to enhance the event notification payload to include changes to business
objects.
Enable this feature if, in addition to receiving a notification of change in a business object, you also want to
see the changes in the payload. Here's a summary of the changes available in the payload:
8. Click Save.
9. Select the consumer and then go to Actions Activate .
See how to use monitor the events you have subscribed to.
You can see successful and failed notifications here. Details on events such as status, endpoint, and payload is
available.
Event Notification Monitoring also allows you to resend event notifications. Select one or more events and click
Resend and refresh the list to see the latest notifications.
We've introduced an OData API that allows you to configure event notifications. Details are as follows:
Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:
● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:
● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.
● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such
links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.
Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.
Gender-Related Language
We try not to use gender-specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.
SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.