Integrate4S4 - Event Mesh and Event based
Integrations
Agenda
▪Introduction Event based integration
▪SAP Event Mesh
▪SAP Advanced Event Mesh
▪Use Cases
Customer 2
Introduction Event based integration
Introduction Event based integration
Event-Driven Integrations in a Nutshell
Event-Driven Integrations Benefits
Business real time updates on events in other business
applications
Events are significant changes in state
Loose coupling resulting in increased flexibility and scalability
(e.g. BusinessPartner changed in SAP S/4HANA)
Easy re-use of existing eventing infrastructure providing more
Event Brokers inform Event Consumers of comfort
events in Event Sources Open standards allowing to cross vendor boundaries
Events can be notification events or data events
Event-Driven integrations use asynchronous
patterns and loose coupling
In an SAP context we typically talk about Event-
Driven Extensions and Event-Driven
Integrations
Customer 5
What is an event in an SAP context?
An event is a significant change in state
The event description holds context and data
of the actual event
Notification Events or Data Events can be
sent from the event source to inform other
systems, microservices, and applications of the
change
A message holding the event description in an SAP, Google, Microsoft, Amazon, Alibaba,
encoded format is sent via an event broker IBM, Oracle … support cloudevents
Event consumers have registered with the
event broker and are informed of the event
Customer 6
Event-Driven Architectures in Nature
Event
A significant change
of state in a spider‘s
web
Event
A significant change
of state in a spider‘s
web
Event Event
Consumer Broker
Listening for and Spider‘s web passes
reacting to events on events via
vibrations
Customer 7
Notification Event based SAP Side-by-Side Extension
SAP Backend SAP BTP
Event Notification
Event
SAP Event
Mesh
Business Object Extension
Call API for event
details
Customer 8
Notification Events: Advantages and Challenges
Advantages
• Very small
• Only minimal required data set, access to data
can be controlled well
• Depending on number of required API calls to
fetch additional data, can be very efficient
Challenges
• Additional synchronous step required
• Depending on number of required API calls to
fetch additional data, can be inefficient
• Suitable API needed, so it is not sufficient to
just have a suitable event.
Customer 9
What is a Data Event?
Data Event contains
full data set
of business object for which
significant change
has happened
• No additional backend call needed
• A lot bigger
• Potentially contains sensitive data
• Raises topics like data access and protection
Customer 11
Data Event based SAP Side-by-Side Extension
SAP Backend SAP BTP
Data
Event
Event
SAP Event
Mesh
Business Object Extension
Customer 12
Data Events: Advantages and Challenges
Advantages
• All potentially needed data included in event
• No additional backend call needed
• A lot bigger
• Good for use cases in which the consumer
requires a full data set in majority of cases
Challenges
• Loss of control in respect to potentially sensitive
data
• Raises topics like data access and protection
• Higher resource consumption for source, event
broker and consumer
Customer 13
APIs vs. Events
Application programming interfaces are a contract
between client and server.
Synchronous and blocking.
Need to be called actively.
Events inform interested parties on significant changes.
Asynchronous and non-blocking.
Register once - no additional action needed.
Customer 14
Event Sources
SAP S/4HANA Cloud + S/4
On Premise
SAP ECC NetWeaver 7.31+ Event Enablement Add-On ECC
SAP SuccessFactors
Highly scalable to bring events and data to the cloud:
notification and data events
delta loads / change pointers
SuccessFactors Intelligent Service events can be enabled following this blog How outbound and inbound
to use SAP Enterprise Messaging as an event bus for SuccessFactors
Customer 15
SAP API Business Hub ([Link] )
Customer 16
Benefits of event-driven architectures
▪ Loose Coupling results in flexibility and scalability
▪ Responsive applications that react to events in other
systems and applications in real time allowing for a new
kind of integrations and extensions
▪ Incremental Growth by adding event consumers and
event sources step by step resulting in better
operations and improved quality
▪ Improved fault tolerance by applying suitable patterns
▪ Facilitates pay-per-use consumption saving money by
removing “always on”
Customer 17
Challenges of event-driven architectures
▪ Decoupled communication makes monitoring and
understanding what is going on in an event-driven
landscape hard
▪ Tracing and debugging can be more difficult than in
traditional landscapes due to highly parallel nature of
EDAs
▪ Data security to be watched closely when using data
events
Customer 18
Integration patterns in SAP Integration Suite
Pull pattern Push pattern Event pattern
• Sync request/response • Async messaging • Publish/subscribe
• Consumer driven • Provider driven • Consumer and provider driven
• Polling/not real time • Real time • Real time
• No routing model • Static routing model at provider • Dynamic routing / Subscriptions
Customer 19
SAP Event Mesh
SAP Event Mesh
SAP Event Mesh
• is SAP’s event broker as a service and
supports event-driven extensions and
integrations
• is an integral part of SAP’s event-driven
ecosystem
• comes stand-alone as part of BTP and
as a component of SAP Extension Suite
and SAP Integration Suite
Customer 22
Decoupled, asynchronous, indirect
communication
by exchanging events and messages between
distributed software components
supported by an
SAP Event Mesh intermediary broker as a service
Customer 23
SAP Event Mesh
Fully-managed cloud service for enabling applications to communicate asynchronously through
messages and events.
Event enablement Seamless connectivity Reliable communication Non-blocking communication
▪ Transports events from event • Connect your applications and ▪ Messaging SaaS middleware ▪ Asynchronous patterns provide
source to the Cloud for seamless microservices seamlessly using decouples communication for elasticity meaning unexpected
integration of hybrid landscapes. standard protocols (MQTT, AMQP flexibility and scalability. peaks in data traffic can be
▪ Build responsive applications, 1.0, REST) ▪ Choose from different Quality of handled efficiently.
integrations and extensions that • APIs (Java JMS, [Link]) Service levels to ensure
react to events in real-time. messages are delivered reliably.
• Exchange patterns (e.g. pub/sub)
Customer 24
Use SAP Event Mesh to
▪ Decouple communication between applications,
services, and systems using asynchronous patterns
▪ Support event-driven architectures and
microservices
▪ Publish business events from SAP and non-SAP
sources across hybrid landscapes from the digital core
to extension applications
▪ Build event-driven extensions and integrations and
subscribe to events from core SAP systems to enable
cloud-native extensions and integrations to respond to
the latest business developments in real-time
▪ Part of the SAP Integration Suite and SAP
Extension Suite to implement extension and
integration scenarios in guided and at the same time
flexible approaches
Customer 25
SAP Advanced Event Mesh
SAP Advanced Event Mesh
SAP Integration Suite, advanced event mesh
Fully managed event streaming and management services
that enable enterprise-grade event-driven architecture
Overview Benefits
• Complements existing offering SAP Event Mesh for • Enterprise-grade performance, reliability, security
more demanding scenarios and governance
• Full purpose set of eventing services • Scales from small to very large use cases
• Supports event streaming, event management and • Brokers can be deployed in existing public or private
event monitoring cloud environments
• Distributed mesh of event brokers that can be • Dynamic message routing, topic hierarchy and fine-
deployed across environments grained filtering
• Brokers fully scale as required • Includes advanced event management toolset
• Currently integrates SAP backends via SAP
Integration Suite or 3rd party adapters
Customer 28
SAP Integration Suite, advanced event mesh
Manage and process events at enterprise scale
EVENT MANAGEMENT
Fully managed cloud service Design • Catalog • Discovery •
Event Products • Monitor
Scale event streaming across the enterprise
• Connect event brokers deployed across multiple clouds and on-premises
• Automatically route events among applications and devices connected to
different brokers
• Use open standard protocols and APIs
• Leverage existing event broker investments
Factories
Anywhere EVENT STREAMING
Create and manage events efficiently
Real-time routing of filtered events
• Discover, catalog, design, govern and visualize events across landscapes across geographically distributed
heterogenous landscapes
• Create and expose event API products to others Event Mesh
• Only publish and subscribe to needed events with topic hierarchy and fine-
grained filtering
SAP Event Mesh
Ensure enterprise-grade performance
• State-of-the-art reliability, security, governance
Customer 29
SAP Integration Suite, advanced event mesh: Tooling
Cloud Console Mesh Map
Designer Events
Customer 30
Selected Capabilities of SAP Integration Suite, advanced event mesh
General Purpose Use Case Scenarios De-centralized Deployable Anywhere Authentication and Security
General purpose, multi-site • SAP to SAP Supports distributed networks Can be deployed in your cloud Customer’s own - basic, TLS
EDA platform and portal • SAP to Everything of event brokers deployed in of choice or in your on premise cert, Kerberos, Oauth
• Everything to Everything different clouds and on- K8S
premises Private Connectivity
Filtering Real-Time Monitoring Pricing Openness Performance
Outstanding performance
Sophisticated, fine-grained Real-Time monitoring, Highly competitive pricing Supports JMS, REST and based on various selectable T-
filtering capacity insights and AMQP & MQTT & SMF (native shirt Sizes
distributed tracing Start cheap, scale as you go and over WebSocket)
Up to billions of events / day
30MB per message and up to
800 GB (soon 6TB) storage
per node
Customer 31
SAP Event Mesh & SAP Integration Suite, advanced event mesh
Fully-managed services for enabling enterprise-grade event-driven architectures
SAP Event Mesh Advanced Event Mesh
• Low entry barrier to event-driven architectures with
pay per use-based pricing • Complements SAP Event Mesh for more
demanding scenarios
• Integrate and extend SAP applications in an
event-driven way based on SAP Integration Suite • Enterprise-grade performance, reliability, security
and governance; scales to very large use cases
• SAP BTP Deployment and native event broker for
SAP S/4HANA, free add-on for custom ECC events • Distributed mesh of event brokers deployed
across environments in private or public clouds
• Openness and focus combined by supporting open
standards and providing extra benefits for SAP • Full purpose set of eventing services including
ecosystem event streaming, event management and monitoring
• Scales well with certain set limits • Advanced features like dynamic message routing
and fine-grained filtering
Customer 32
Use Cases
Use Cases
SAP S/4HANA Cloud Extension: Sales Order Process Gamification
Sales Reps gaining points for Sales Orders they sell.
Sales Order created in S/4 HC → Event fired and points
for order booked to the sales reps gamification account.
Leaderboard shows ranking.
Customer 35
Scenario: Event-based Integration
New Employee Hired in SuccessFactors
SAP Cloud Applications SAP Cloud Platform Integration Suite
Email
Cloud Foundry Environment
Send a welcome Email
to the newly hired
Slack
REST Webhook
REST Welcome new employee
or AMQP
HR to your team via Team
Application
Manager SAP Event Mesh Cloud Integration Open Connectors Slack Channel
Clients
New Employee Third Party HR
Hired Application
Replicate user data to
third party HR application
to manage benefits
Customer 36
GeoMarketing Extension to SAP S/4HANA Cloud
Selected customers in focus regions receive special attention.
Newly created and updated customers in focus regions to be contacted by call center agents.
Call Center personell has no access to S/4HANA and requires a dedicated application.
Available as Mission
in SAP Discovery
Center
Customer 37
Thank you.
Contact information:
SAP Integrate4S4 Team
Mail: integrate4s4@[Link]
Thank you.
© 2022 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.