Event Mesh

From ABAP the concern runs both ways: a RAP business object raises events for subscribers, and a program publishes to or consumes from an outside broker such as Kafka, an MQTT broker or AWS SNS.

Overview

SAP SHIPS

RAP business events: an event defined in a behaviour definition is raised with RAISE ENTITY EVENT, and an event binding maps it to an event type. From ABAP 7.53 the kernel also supports MQTT.

Not covered: At RAP events and MQTT. Producing to Kafka, receiving AWS SNS notifications, and MQTT on releases before 7.53 are what the community connectors add.

Policy1

PolicySAP API Policy 4.2026a§ 2.2.2, 3, FAQ 12, FAQ 27, FAQ 38AlwaysAn ABAP event integration exposes inbound access to SAP APIs or becomes a systematic or large-scale extraction or replication path. An outbound notification or callback alone is not enough.
  • § 2.2.2 AI call sequences and data extraction. Outside SAP-endorsed architectures, data services or expressly identified pathways, the policy prohibits specified agentic API use and systematic or large-scale extraction.
  • § 3 Monitoring and remedies. SAP states that it may monitor API use and take enforcement actions when use does not comply with the documentation and policy.
  • § FAQ 12 Outbound interfaces. The accompanying FAQ distinguishes external consumption of SAP-provided services from outbound notifications or callbacks sent by an SAP system, which it places outside this policy's scope.
  • § FAQ 27 Custom-developed APIs. Customer-namespace ABAP interfaces are not prohibited merely because they are custom, but their underlying SAP dependencies and usage pattern still determine whether the use aligns with the policy.
  • § FAQ 38 Large-scale data access. Large-scale extraction and replication must use access mechanisms and patterns documented for that purpose rather than treating a transactional or custom API as a general bulk-data surface.

Direction and usage pattern decide the policy relevance. Customer ABAP code may publish events outward, but it must not be used to bypass SAP API controls or substitute a custom event stream for a documented bulk-data pathway.

SAP API Policy 4.2026a →

Artifacts4

4 of 4 artifacts
ArtifactSignals
Apps1
MQBAMQTT publish/subscribe in ABAP with an external broker bridge
Signals
Quiet+1
Packages3
cesar-sap/abap_kafka_rest_proxyABAP connector to Kafka through the Confluent Kafka REST Proxy
Signals
Quiet+1
gregorwolf/AWS_SNS4ABAPICF handler receiving Amazon SNS notifications in an ABAP system
Signals
Quiet
INVIXO/abapMQMQTT 3.1.1 client implemented in ABAP
Signals
Quiet

Content6

Group by
Piece, what it offers
Clean Core by Design: Event Enablement Cockpit as a Core Integration Enabler in SAP S/4HANA
SAP Community, HammadSharif1, Blog
Enhancing SAP Business Events with Custom Payload Fields using RAP
SAP Community, BramhaniG, Blog
Integrating SAP S/4HANA Invoicing with KSeF Using SAP Event Mesh and CAP
SAP Community, Yahor, BlogThe reasoning
Show 3 more
A Natural Choice: SAP AIF can now expose events to Advanced Event Mesh to power your EDA
SAP Community, KStrothmann, Blog
SAP Event Mesh: S4 HANA On-Prem and SAP CI(BTP IS) through WebSocket and Webhooks
SAP Community, FarooqAhmed, Blog
[Blog Post] SAP Event Mesh - Consuming S4 events simultaneously in CAP-based applications and SAP Integration Suite
SAP Community, AyushKumar and vipul.khullar, BlogThe reasoningRunnable code
Core changed

Details

Coverage
statecore and community, ABAP
assessed
relationshipunassessed
also inCAP, BTP/BAIP
Designs that place it1
Designing Event-Driven ApplicationsDesigning Event-Driven Applicationsreference architecturethird-party event broker
For your agent