Hi👋 ,
For SAP integration we use a bidirectional HTTP-based approach:
Inbound (SAP → UMH):
- We expose an http_server endpoint where SAP pushes iDocs via HTTP POST
- The iDoc XML is then converted to JSON using a to_json processor
- After conversion, we route messages to UNS topics based on the iDoc type (e.g., umh.v1.{enterprise}._sap.{IDOC_TYPE} or other structures based on the usecase)
Outbound (UMH → SAP):
- We use an http_client to POST data back to SAP
- The JSON data is converted back to XML format (iDoc structure) before sending
For SAP DM (which uses OData instead of iDocs), you could skip the XML↔JSON conversion step since OData typically uses JSON natively.