In this chapter, we will try to listen to the events created in the S/4 HANA On-Premise system, when we change an already created sales order from the previous exercise.
There is no need for the participants to do the backend setup as it is a one time activity that we already done in the setup.
Please find the details on the configuration in the following video.
Please find the reference blogs that we used for the setup
Configure SAP Event Mesh for SAP S4HANA on premise via service key
Publishing events from S4HANA to Event Mesh for Cloud Integration for external systems
Enable SAP Cloud Integration to consume messages from Event Mesh
Go to Message Clients
Select Message client named ems

Click Queues => Create Queue

In Queue Name: and select Create button to create queue.

Click on the action button and select Queue Subscriptions

Enter Topic : sap/vr/A/s4/ta//*

Select Close

We will test our created queue by changing the order quantity which was created in previous exercises (Chapter 3 exercise 3). Queue will listen to changes made to your sales order details.
Click on: Lobby to open the SAP Fiori Launch Pad
Login to System using

Select tile Change Sales Order (VA02)

Enter the Sales Order number which you got in the Process Integration exercise (Unit 3, Lesson 3) using the Postman tool and select Continue.

Match your order reference number and change the quantity and then do save.

Open Event Mesh and select your Queue by searching your userid. You can see now 2 messages in your Queue. One message is notification of change and other contains changed quantity data.

Go to Test tab to see the data.

Select your Queue in Consume Message part. Now select Consume Message

First notification message.

10.Again click on Consume Message to see Data.
