Docs / Connectors / Solace Platform

Solace Platform Connector

The ASAPIO Integration Add-on connects SAP S/4HANA and SAP ECC directly to Solace PubSub+ using both REST and AMQP protocols. Events are published in real time without middleware — supporting dynamic topic routing, high-availability configurations, and inbound message consumption.

Protocol Support

ProtocolCloud AdapterUse Case
REST/ASADEV/CL_ACI_SOLACE_HANDLERStandard HTTP-based publishing to Solace REST messaging endpoints. Supports OAuth 2.0 authentication and high-availability secondary failover.
AMQP/ASADEV/CL_S4_SOLACE_HANDLERAMQP 1.0 protocol for guaranteed message delivery with acknowledgement. Requires AMQP-enabled Solace message VPN.

Create an outbound interface (Event Studio)

Event Studio is the recommended configuration path. It uses the Data Catalog to discover available SAP business objects and guides you through connector setup without direct SPRO navigation.

  1. Open Event Studio from the ASAPIO Launchpad.
  2. In the Data Catalog, locate the business object to stream.
  3. Click Create Event and select Solace PubSub+ as the target connector.
  4. Select the protocol: REST or AMQP.
  5. Select or create a Connection Instance pointing to the Solace message VPN endpoint.
  6. Configure the Header Attributes (see below) — these apply to both Event Studio and SAP GUI paths.
  7. Set the Outbound Method: Simple Notify, Message Builder, or Packed Load.
  8. Activate the event and verify delivery from the Event Studio monitor.

After creating the interface in Event Studio, see Header Attributes for message configuration and Dynamic Topics for advanced routing.

Header Attributes

Header attributes control topic routing and message behaviour. They are identical whether the event is configured via Event Studio or via SAP GUI transaction.

AttributeDescription
SOLACE_TOPICTarget topic path on the Solace message VPN (e.g., sap/s4/purchaseorder/created)
SOLACE_VPNName of the Solace message VPN
SOLACE_CONTENT_TYPEMIME content type of the message (default: application/json)
SOLACE_DELIVERY_MODEDelivery mode: DIRECT or PERSISTENT
SOLACE_CORRELATION_IDOptional correlation identifier mapped from an SAP document field

SAP Connection Setup (in SAP Gui) — REST Protocol

Step 1 — Create RFC Destinations (SM59)

Create two HTTP RFC destinations of type G:

SM59 RFC destination for Solace REST endpoint
SM59 RFC destination for Solace OAuth endpoint

Step 2 — Import SSL Certificate (STRUST)

Import the Solace endpoint SSL certificate into the SAP SSL client identity in transaction STRUST:

STRUST certificate import for Solace
Certificate added to trust store

Step 3 — Import BC-Set (SCPR20)

Import the ASAPIO Solace framework BC-Set:

SCPR20 BC-Set import for Solace connector

Step 4 — Configure Cloud Adapter

Navigate to SPRO → ASAPIO Integration → Connector Configuration and set:

Solace REST cloud adapter configuration

Step 5 — Create Connection Instance

Create a connection instance using transaction /ASADEV/ACI, pointing to the Solace REST RFC destination.

Solace connection instance

For high-availability deployments, configure the secondary (HA) RFC destination in the same instance:

Solace HA secondary RFC destination

Step 6 — Configure Default Values

Set the OAuth token endpoint RFC, client ID, and message VPN as default values on the connection instance:

Solace connector default values

Store the OAuth client secret in the SAP Secure Store:

Solace OAuth client secret in Secure Store

Create an outbound interface (SAP Gui)

All three outbound methods are available for the Solace REST connector:

MethodFunction ModuleDescription
Simple Notify/ASADEV/ACI_GEN_NOTIFY_SOLACELightweight notification with SAP document key fields only
Message Builder/ASADEV/ACI_GEN_VIEWEXT_SOLACE + /ASADEV/ACI_GEN_VIEWFRM_SOLACEFull CDS-based payload extraction configured via the Payload Designer
Packed LoadBatch deliveryAccumulates multiple events into a single packed message before publishing

Message Type Configuration

Solace message type configuration

Event Linkage (SWE2)

Register the outbound function module to the SAP business event in transaction SWE2:

SWE2 event linkage for Solace

Packed Load Header Attributes

When using Packed Load, configure the additional delivery attributes:

AttributeDescription
SOLACE_TOPICTarget topic for the packed batch
SOLACE_BATCH_SIZENumber of records per delivery batch
SOLACE_FILE_FORMATFormat of the packed message: JSON or CSV
SOLACE_DELIVERY_MODEDelivery mode for the packed batch

Dynamic Topics

The Solace connector supports dynamic topic construction, allowing the topic path to include values from the SAP business document (e.g., company code, document type, or plant).

Field Mapping

Dynamic topic field mapping

Conversion Methods

Dynamic topic conversion methods

Monitor Display

Dynamically resolved topics are visible in the ASAPIO message monitor for tracing and troubleshooting:

Monitor display with dynamic topic values

SAP Connection Setup (in SAP Gui) — AMQP Protocol

The AMQP connector uses a separate cloud adapter and a dedicated RFC destination configured for TCP (not HTTP). AMQP delivers guaranteed messaging with end-to-end acknowledgement.

Step 1 — Create AMQP RFC Destination (SM59)

Create a TCP/IP RFC destination pointing to the Solace AMQP port (typically 5671 for TLS):

AMQP RFC destination type TCP
AMQP RFC destination host and port

Step 2 — Configure Cloud Adapter

AMQP cloud adapter configuration

Step 3 — Create AMQP Connection Instance

AMQP connection instance

Step 4 — Configure Default Values

Set the AMQP username as a default value on the connection instance:

AMQP instance default values with username

Store the AMQP password in the SAP Secure Store:

AMQP password in Secure Store

AMQP Inbound Object

Configure the inbound object to receive messages from Solace over AMQP. Set the source address attribute AMQP_SOURCE to the Solace queue name to consume from:

AMQP inbound object configuration

AMQP Inbound Header Attributes

AMQP inbound header attributes

Demo & Resources

Solace connector overview
Solace connector demo screenshot