cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise Event Enablement: is there a monitor for events?

Dimi
Explorer
5,855

Hi,

I am building connection between S/4HANA on-prem and SAP SCP Enterprise Messaging service.

I've completed all related customizing on both ends (up till creating a queue subscription) and able to see S/4 events from SCP.

However, there is no messages come to SCP after I change related objects in S/4.

Error log SAPLSHI01 is empty. Application log SLG1 also has no related records.

What would be the best way to find the reason?

Thank you.

D.

View Entire Topic
Tobias_Griebe
Product and Topic Expert
Product and Topic Expert

Hi gregorw,
trust me, there are already many people making use of the Business Events out of the S/4 system. If the demo events triggered via /IWXBE/EVENT_DEMO are arriving in Enterprise Messagin this means that the general configuration from S/4 to Cloud is working properly. Now we just need to find the missing pieces in one of the underlying frameworks.

Did you check in TA /n/IWXBE/ERROR_LOG if there are any errors listed?

What I've seen in many other S/4 on-prem system is an incomplete Workflow configuration. How to detect and fix that:

First let's try to simulate and trace how such Business Events are raised:

Start TA /n/SWUE:

  1. Switch on the trace for Events
  2. Select Object Category = BOR Object Typ
  3. Select Object Type = BUS1006 (this is the Business Partner Object, that must also been assigned to your Channel)
  4. Select Event = CHANGED (again this Event needs to be assigned to your Channel)
  5. Select an Object key
  6. Click on Create Event, this should finish with the following message:

  7. Display the trace for the Events that have just been created

For each event there should be an entry in the table, ideally marked with a green status. Double-click the entry to display the details:

If everything is working as expected, the log should look similar to the screenshot. Important part is the final line and should state "Receiver started correctly", if this is the case you should also be able to see the new event on the SCP in Enterprise Messaging.

Also notice the RFC Destination that is shown in the log. That's what might be wrong/not-existing in some of the S/4 on-prem systems, due to missing Workflow configuration. To verify this we need to have a look in TA /n/SWU3 for automatic Wokrflow Customizing:

Please double-check if the second entry "Configure RFC Destination" is showing a green check mark as this creates the needed RFC destinations needed for the Business Eventing to work.

I hope this helps getting your system to finally raise the events to SCP.

Best regards, Tobias

gregorw
SAP Mentor
SAP Mentor
0 Kudos

Hi Tobias,

thank you for your quick response. The RFC configuration via Transaction SWU3 was the missing piece. Now the changes that I do directly in transaction BP are reaching the Enterprise Messaging. Thank you so much for your help.

Best regards
Gregor

SBLSVRamana
Explorer
0 Kudos

Hi Tobias,

I'm trying to send from s/4hana 1909 OP system to Event Mesh in BTP Trial account.

All the configurations are done and the messages you mentioned above are coming as it is while triggering events from SWUE or /IWXBE/EVENT_DEMO as no error I could see in none of the logs.

Kindly suggest me how to check the issue and solve it.

Regards,

Ramana.

Tobias_Griebe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ramanasaps4hana,

not sure if I have understood your request:

So you can send events from SWUE or /IWXBE/EVENT_DEMO and you don't see any errors? Still you don't see any of the events in Event Mesh on BTP trial?

How do you check if the events are arriving in Event Mesh on BTP? Did you create a queue to attract all the events? If yes: which topics did you subscribe to this queue? We would also need to know the "topic space" that you have defined for your channel.

On the S/4 side, please make sure that the channel is active, that the daemons are up and running in TA /nSMDAEMON and there are no errors in TA /n/IWXBE/ERROR_LOG.

Have you also checked my other blog: enterprise-event-enablement-troubleshooting?

Best regards,
Tobias

SBLSVRamana
Explorer
0 Kudos

Hi tobias.griebe ,

As mentioned in my previous comment, all settings done in SAP S/4HANA 1909 OP and SAP BTP Trail account and all status are coming as explained in the blog but not able to see the messages in Queue in SAP BTP Trail account.

Kindly guide me to send the messages to the queue from S/4HANA 1909 OP to SAP BTP Trial account also let me know how to troubleshoot issues.

Regards,

Ramana.

Tobias_Griebe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi ramanasaps4hana,

if there are no errors on the S/4 side at all, that means you need to review the configuration on the Event Mesh side.

Have a look at the blog I have meantioned earlier and especially look into the section "Is your Enterprise Messaging queue subscribed to the correct topic?"

Best regards,
Tobias

sudhiryesu
Explorer
0 Kudos

Hi Tobias,

I could create an event via tcode: SWUE but got the action as "Event put in queue" instead of "Receiver Started correctly". So, I have manually delivered the event to queue via tcode: SWEQBROWSER. Could you please provide me a solution to deliver the event to the queue immediately once the event is generated.

Thanks,

Sudhir Yesu

Tobias_Griebe
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi sudhiryesu,

I'm not the S/4 expert if we are going that deep down in the stack. For me it sounds like the generic workflow configuration might not be correct. Have you checked the following two tasks:

  • can you trigger a demo events using transaction tcode /n/IWXBE/EVENT_DEMO. This will verify that configuration of component IWXBE is correct
  • Check if the automatic workflow configuration has been done in the system (tcode: /nSWU3).

For more options you can also have a look here: https://blogs.sap.com/2020/08/27/enterprise-event-enablement-troubleshooting/

Best regards,
Tobias