cancel
Showing results for 
Search instead for 
Did you mean: 

Enterprise Event Enablement: is there a monitor for events?

dmitry_garkush
Explorer

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.

Tobias_Griebe
Advisor
Advisor
0 Kudos

Hi Dimi,

what S/4HANA on-prem release version are we talking about?
Also which business object are you looking for? Are you only missing the change-events for that object, so create-events are being sent?

I am assuming that you have assigned the event topics as documented to your channel (SAP Help).

Regards,
Tobias

dmitry_garkush
Explorer
0 Kudos

Hi tobias.griebe,

> what S/4HANA on-prem release version are we talking about?

It is 1809 fps0

> Also which business object are you looking for?

I tried 'BO/BusinessPartner/Changed' and also 'BO/*'. Haven't tried creating objects, only changing.

> I am assuming that you have assigned the event topics as documented to your channel (SAP Help).

Correct.

Kr, Dimi

dmitry_garkush
Explorer
0 Kudos

tobias.griebe could you please advise a way to monitor such issues as described above?

Tobias_Griebe
Advisor
Advisor
0 Kudos

Hi Dimi,
Sorry for the late reply. I had reached out to the colleagues of the business event handling framework, as they are way more expert than I am.
If you check transaction /iwxbe/config: your channel is marked as active here?
You can also run the report /IWXBE/R_TEST_TRIGGER_EVENT to trigger an test event.
KR, Tobias

Tobias_Griebe
Advisor
Advisor

Hi Dimi,

can you please check the following:

  • Got to transaction /nSPRO
  • Click SAP Reference IMG
  • Expand the tree "Cross Application Components" -> "Processes and Tools for Enterprise Applications" -> "Business Event Handling" -> Subscriber"
  • Run the activity "Create Subscriber ID"
  • If it is not existing, create the following entry: Subscriber ID = "XBE", Subscriber Name = "Cross Business Eventing"

After that go back to your Eventing Configuration -> "Maintain Event Topics" select your channel and remove all assigned topics. Save the channel. Add all the needed topics again to your channel and save once again.

Now please test again if events are being sent to the Enterprise Messaging service on Cloud Foundry.

Regards, Tobias

former_member633623
Discoverer
0 Kudos

I have the same problem.

I followed the official documentation, checked everything several times and applied the step mentioned by Tobias Griebe( the subscriber ID did not exist).

I also noticed that there is no daemon shown in smdaemon. According to the documentation the channel is supposed to start one, isn't it?

Thanks in advance,

Max

gregorw
Active Contributor

Hi dmitry.garkush,tobias.griebe and david_m,

it seems that we're the only ones that want to make use of the Enterprise Event Enablement / Business Events that are offered in S/4HANA. I've successfully activated the connection between my S/4HANA on Prem with the Enterprise Messaging instance of my SAP CP Cloud Foundry Trial Account. I also can trigger demo events using transaction code /IWXBE/EVENT_DEMO. They show up in the Queue that I've crated:

But I don't receive any message for changes that I trigger on Business Partners in transaction BP. I've maintained the customizing in "Maintain Event Topics":

And also activated the subscription using the Fiori App with the semantic navigation BusinessEvent-subscriptionmanage:

But the messages don't get to my SAP CP Enterprise Messaging.

What else has to be customized? I think it would be great when the SAP colleagues who implemented this topic create a blog post which shows the required steps so everyone also on premise can use Business Events easily as for S/4HANA Cloud.

Best regards
Gregor

Accepted Solutions (1)

Accepted Solutions (1)

Tobias_Griebe
Advisor
Advisor

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
Active Contributor
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
Advisor
Advisor
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
Advisor
Advisor
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
Advisor
Advisor
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

Answers (0)