Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
BramhaniG
Explorer
0 Kudos

Hi All,

This blog explains Outbound Configuration to send events from S/4 Hana on premise to Event Mesh and test the same.

You need to have below roles

1. SAP_IWXBE_RT_XBE_ADM

2. SAP_IWXBE_RT_XBE_BUSI

3. SAP_IWXBE_RT_XBE_MDT

In S/4 system, please follow below steps.

Create a Channel using T-code “/n/IWXBE/CONFIG”.

Click on “Via Service key”.

bramhani_0-1711475041180.png

Enter Channel name and Description. Get the Event mesh instance key from Basis team. Copy and paste the service key of event mesh as shown below.

 

bramhani_2-1711475317479.png

select the channel and activate it.

bramhani_3-1711475479532.png

Once it is activated, click on Check connection. You will get the below message if connection successfull.

bramhani_4-1711475533545.png

To Create Outbound binding, please select channel and click on outbound bindings.

bramhani_5-1711475580760.png

Click on create and then F4.

bramhani_6-1711475600642.png

Select the topic from F4 and save it. If you don't find topics in F4 help, you need to implement note "3346777".

bramhani_7-1711475621319.png

 

bramhani_8-1711475708928.png

 

Now, you need to create a Queue in Event Mesh and subscribe the topic.

Open Event Mesh and click on Create Queue.

 

bramhani_1-1711476609138.png

Provide some name and click on create

bramhani_3-1711476811030.png

bramhani_5-1711476924298.png

Once the Queue is created, click on highlighted button and select Queue Subscriptions.

bramhani_6-1711476985619.png

Enter Topic name along with the namespace and click on add button to subscribe to the topic.

bramhani_8-1711477345992.png

Configuration is done in S/4 Hana system and in the BTP Event Mesh.

To test the messages, 

Trigger Standard Business Partner Events by creating a business partner using T-Code BP.

Click on Person.

bramhani_9-1711477440402.png

Enter First name and last name and then save it.

bramhani_10-1711477470527.png

Message has been sent to Event Mesh.

bramhani_11-1711477705205.png

Check the payload after consuming the message in CPI by integration team.

bramhani_12-1711477855623.png

Message number decreased to zero in Event Mesh after consuming the message in CPI.

bramhani_13-1711477967113.png

Happy to hear the feedback 🙂