Event Information
Questions for TechEd 2021 Session DEV101: Discover Event-Driven Architecture with SAP
Session Content
Event-driven architecture is already an important architecture paradigm that will become widely adopted in future. Get a holistic overview of event-driven architectures in the SAP ecosystem and
learn how to put events into play to optimize and innovate your business processes. Find out about event sources (like SAP S/4HANA, SAP ERP, and SAP SuccessFactors solutions), event consumers (like SAP Integration Suite, SAP Extension Suite) and the role of the SAP Event Mesh capability as event broker.
The goal of this blog
We realized that time would be too short to answer all your questions in the chat. The idea behind this blog is that you ask your, questions in the comments section below and we will answer them in the coming days. On top, I have been able to capture the questions and answers in the chat during the session and will add and answer them here.
Again, we will answer all questions. Might just take a few days.
Additional Material
Let me add a few links here, inspired by your questions, that might help you to get started and that already answer some of the questions:
- The API Business Hub allows you to search for available events in S/4HANA Cloud and on prem – please note that the custom events that you create using the add-on are not listed (for ECC and S/4HANA on prem). It is still a good starting point: https://api.sap.com/content-type/Events/events/events
- Event Mesh in Discovery Center provides background on the service: https://discovery-center.cloud.sap/serviceCatalog/event-mesh?region=all
- Event Mesh in the Help Portal: https://help.sap.com/viewer/product/SAP_EM/Cloud/en-US
- Add-On for Event Enablement in Help Portal: https://help.sap.com/viewer/e966e6c0e61443ebaa0270a4bae4b363/1.0/en-US/3eba827c531344eb879d8e35022d90ba.html
- What’s new for the Add-On for Event Enablement: https://help.sap.com/viewer/e966e6c0e61443ebaa0270a4bae4b363/1.0/en-US/4bd8777d7a674f1ba93e1da405e4b9df.html
- Event Mesh Community: https://community.sap.com/topics/event-mesh
Selected blogs:
- Very nice overview blog by Murali: https://blogs.sap.com/2021/08/11/enable-your-business-to-operate-in-real-time-with-sap-event-mesh-of-sap-business-technology-platform/
- Blog by Martin Bachmann on ECC Event-Enablement: https://blogs.sap.com/2020/07/01/event-driven-architecture-now-available-for-sap-ecc-users/
- Blog by Martin Bachmann on the availability of the add-on for on premise SAP S/4HANA: https://blogs.sap.com/2021/06/01/sap-netweaver-addon-for-event-enablement-now-also-released-for-s-4hana/
- Solace Announcement Blog for expanded partnership: https://solace.com/blog/solace-sap-partnership-event-driven-architecture/
Questions and Answers
Martin: Do you have a good documentation as to how to add additional events to S/4?
Answer: The question is Cloud or on prem? Currently you cannot add events to S/4HANA Cloud. The events are provided by development and cannot be changed. For on prem, at this point in time you have to use the event-enablement add-on to create your own events. The best approach would be to start a mission in discovery center (see link above and search for Event Mesh to find available missions – there are some for the standard events and some for the add-on). These missions contain all the steps in detail. The add-on is by the way free of charge for both ECC and SAP S/4HANA when used with SAP Event Mesh.
Praveen: Can we get consume from non-SAP systems as Web hooks?
Answer Javier: Yes, you can push the event using web hooks, this is what we used in the show case Other options are AMQP/MQTT or making a GET OData call to Event Mesh.
Brad: Is BTP replacing classic workflow?
Answer: No, EDA is a different approach. Main focus of event mesh is REAL TIME. You can combine events and workflow though. You could trigger a workflow based on an event. Was done in last year’s BTP in the garage sessions. On top, there is a certain pattern in event-driven architectures that goes into this direction and would allow for a workflow-like approach. This is not our focus, we go for a loose coupling.
Vijay: If we have multiple receiver systems of this event can we control sequential and all changes together at end of the day once for a specific receiver
Answer Javier: You can configure specific queues for each receiver system and each of them are de-coupled from the others
Nithish: Can we use Event Mesh with SAP ECC ?
Answer: Yes. ECC can be event-enabled with the event enablement add-on.
Konstantinos: Can CPI manage queues and reprocess events at event sequence?
Answer: CPI currently cannot manage queues (create queues, create topic subscriptions) directly. For a full description of the features supported by the AMQP adapter check the following blog:
Kaval: Can we do the message filtering within the queue subscriptions ?
Answer: Filtering is only supported on topic level. Content based filtering is currently unsupported.
Stefan: Can I create custom events for my enhancements?
Answer: Depends on the backend – for S/4 oP and ECC using the add-on. For S/4HANA Cloud the colleagues work on an option, which is at this point in time not available yet. On the extension side, yes, you are free to create your own events.
Abhishek: can events in 3rd party applications be published to SAP backends as a consumer?
Answer: For selected backends yes. Using the event-enablement add-on consuming events with on premise SAP S/4HANA and ECC is possible. The feature set currently is more limited than the one for events exposure, but it is there and will most likely be extended.
Abhishek: Is replicating master data from SAP to 3rd party application a good use case good for Events?
Answer: this is a difficult one to answer. A number of customers do exactly this, so it is possible and it is a use case that you find quite often. I would say it is a good use case if you don’t overdo it in respect to the amount of data. Again REAL TIME is the important differentiator from my perspective.
Punit: What about the event source originating from Non-SAP sources in a Hybrid Cloud Environment/Multi Cloud Environment?
Answer: Well, we support open standards. So you can expose events from non-SAP via Event Mesh. The question is how to produce these events on the source side.
Punit: How do we do the load balancing to multi node /multi cluster event mesh instances in a Clustered environment ?
Answer: I am not absolutely sure whether we fully understand your question – is this load balancing in a CF subaccount or across CF subaccounts? Load balancing is typically handled by SAP, we would need additional background for this question though.
Kawal: What is the underlying technology for SAP Event Mesh?
Answer: We’re specifically hiding this away since we want to offer an event broker as a service, in an almost serverless way, allowing customers to do eventing without having to worry about these things. In the end it is hardware and software event brokers that do the actual work behind the scenes. If you know who we are partnering with, you should be able to conclude the answer.
Shanmugavel: How do we find out of box events in S/4HANA?
Answer: API Business Hub is the place to check out.
Stefan: What do I do if a dependent-on application is temporarily down and I need to replay the queued events for that application?
Answer: If an event consumer is temporarily down the events are kept in the queue. Once the event consumer is up again, it consumes the events. This is a design decision though. We typically work with queue subscriptions that show this behaviour.
Praveen: How can we harmonise all events within the mesh?
Answer: Difficult to answer. What does all events mean? All SAP events? Event Mesh is the strategic event mesh for SAP, so all LoBs are supposed/planned to send their events via Event Mesh mid term. Then the question would just be how to harmonise custom events that you would potentially create using a different toolset.
Could you point me to step by step instructions as to how to add new events to S/4? I love the event concept, but the S/4 objects that I need to throw events are not enabled in the default release.
Would Event Mesh still be in SAP Cloud MTE?
Hi Michael, let's be specific: Event Mesh is part of the BTP and not of S/4. So, what you are probably asking is whether events are available in SAP S/4HANA Cloud MTE. The answer is yes. Available events can be looked up in the API Business Hub.
Thank you so much for the amazing session and the blog. It would be great if we can have the latest in-depth documentation for the SAP Event Mesh.
Also what is the limit for the number of topics in a Queue?
Hi Karsten Strothmann - Thank you for another opportunity to ask questions.
I want to clarify my understanding.
Thanks & Regards
Srinivas Rao.
Hi Srinivas,
Best,
Karsten
Hi Karsten,
Thanks for this clear presentation. For a customer of us, we implementing S/4HANA cloud events with event mesh and cloud integration to third party systems production systems. We now facing that we need to call an api after every event to look if this event is relevant. Will there come a possibility to filter events based on content in S/4HANA before sending it to event mesh?
Hi Robert,
At Sika we like to route all messages such as iDocs, Proxy calls and now events through AIF (Application Interface Framework) which give us the flexibility of doing some validations, change the format of the event and also monitor them.
It is not something standard & out of the box, but it is a possibility for your business case...
Hope it helps
BR
Javier
Hi Javier, thanks for you feedback,
But AIF is not scope for our integration process. We are not using the IDOCS and proxies. We using S/4HANA Cloud and need react on S/4HANA events and process them with BTP Event Mesh and Cloud Integration. Because these event are very limited in their payload, we always have to call the API to look what is the new data.
Hi Robert,
to my knowledge, the S/4HANA colleagues work on an additional approach. My expectation and assumption is that this approach will be available in 2022. Current plan is to allow for creating events, adjusting events, data events etc.
Unfortunately, until then your current approach is the way to go.
Best,
Karsten
Firstly, I would like to ask if Event Mesh deployment supports federated deployment model meaning if I activate multiple Event Mesh instances across regions (due to compliance reasons). How the communication happens among brokers?
Secondly, with Introduction of "Data Events" (much awaited), I understand the whole data set would be sent from publishing backends as part any state change. That brings me to following 2 points:
Hi Jeswani,
Best,
Karsten