Product Information
SAP S/4HANA integration with SAP Integration Suite, Advanced Event Mesh
With the latest release of SAP S/4HANA 2023 edition (2308), customers can directly connect with SAP Integration Suite, advanced event mesh (AEM) and send their business events.
The massive scaling and distributed mesh capabilities of AEM will allow customers to take their Event-Driven Architectures (EDA) to whole new levels.
The ‘Advanced’ channel refers to AEM and provides users with options to configure their AEM brokers.
Creating a service key with AEM validation broker service
The connection from SAP S/4HANA to AEM happens with AEM’s validation broker service which ensures that the AEM broker being configured with SAP S/4HANA is compliant with SAP standards.
The credentials obtained from AEM validation broker are supplied during the ‘Advanced’ channel creation on S/4.
The step-by-step procedure for service-key creation is available on SAP’s help-doc portal:
AEM validation service
Configuring an SM59 destination for channel
One of the pre-requisites to channel configuration on SAP S/4HANA is an SM59 destination where customers provide the AMQPS hostname and port for their AEM broker.
The connection type here needs to be ‘HTTP connection to External Server’.
Next, navigate to the ‘Logon & Security’ section, to choose your SSL Client PSE ID.
The SSL Client PSE ID depends on your environment and the one shown here is only for indicative purposes.
For more extensive documentation related to SM59 destination setup, refer to the guide on SAP help portal: Configuring an SM59 destination for AE
Configuring trust between S/4 and AEM brokers with certificate-based authentication
The event flow between SAP S/4HANA and AEM brokers is protected with certificate-based authentication and these certificates need to be configured on AEM and SAP S/4HANA.
This is the only supported means of authentication as of date.
Execute the STRUST transaction on SAP S/4HANA to open the Trust Manager.
You can choose the SSL client configured above in the SM59 destination and export its certificates to AEM.
By double clicking the subject of the certificate, its fields would be populated in the certificate section where you can find the ‘export’ option.
You might need to export other intermediate and root certificate(s) too, depending on your setup.
In the ‘Authentication’ section of AEM, ‘client certificate authentication’ must be enabled.
In the ‘Access Control’ section, you must not forget to create and enable a client username that matches the common name (CN) of the certificate you imported in AEM.
For more information on configuring certificates in AEM, refer:
Client certificate authentication
Configuring an ‘Advanced’ channel on SAP S/4HANA
Now, we are all set to create our channel.
The ‘number of publish connections’ refers to the number of concurrent connections that SAP S/4HANA can establish with the broker.
This channel is bidirectional in nature, which means you can use the same channel to flow events into SAP S/4HANA.
The step-by-step procedure for channel configuration is also available on SAP’s help portal:
Configuring a channel for AEM
Now, you can create outbound bindings for your channel to flow events to your AEM broker.
Creating outbound binding for Business Partner objects
Click on ‘create new topic binding’ and choose the relevant topic.
For example, here we have selected the ‘Business Partner’ topic to emit events related to Business Partner objects.
Choose ‘Apply’ followed by ‘Save configuration’.
With this configuration, SAP S/4HANA would emit events related to Business Partner objects to SAP Integration Suite, Advanced Event Mesh.
On your AEM broker, create a Queue, followed by a topic subscription to this Queue, you could name the subscription as ‘S/4HANA/>’ to allow publishing of events from SAP S/4HANA.
Unleash the power of AEM and scale your EDA scenarios like never before!
Visit the SAP Help Portal for AEM to learn more.
Hi Prashant, Thanks for sharing this update.
Good to see that SAP Event Mesh is no longer required in between S/4HANA & AEM.
Is “SAP NetWeaver add-on for event” in S/4HANA included for the use with AEM?
With S4 you no longer need an add-on. It includes a module called Enterprise Event Enablement
Thanks for your response
Hi Prasanth,
Great Info! Thanks for sharing.
Now I suppose, we have a standard option to connect with AEM directly from S/4HANA without going for any event enablement add-on like ASAPIO.
Good to see that SAP standardized the event enablement for AEM.
Thanks for sharing
Nice one Prashant.
So one of the most awaited feature has come. It should help our customers move ahead with direct connectivity with S/4. I assume its only for 2023 as of now.
Hope support for most of the versions are going to be soon including the S/4HANA Cloud one.
Hi Prashant,
Great blog, I am trying to replicate the steps but I can't find the related AEM validation service as a service plan. Do you when it becomes available?
Regards Erik
Hi,
The AEM validation service is available in all the regions where AEM is available.
If you still face issues, kindly contact SAP support.
Regards,
Prashant
This is a very nice feature!
Is it also planned or under discussion to connect S/4 events with Cloud Integration so we could build topics there before sending them to AEM?
BR
Javier