Simplified Integration Suite - Connecting SAP & non-SAP

Sudip Ghosh
Helping organization to the New Intelligent Enterprise with SAP Cloud Platform

Step-by-step approach , how AARINI Consulting used SAP Cloud Platform Integration (CPI) to simplify the integration between SAP and non-SAP.

In this case we have integrated SAP S/4HANA Cloud with a third-party CRM solution (in this use case: HubSpot), using Open Connector, SAP API Management and SAP CPI.

What are the benefits of a SAP IPaaS?

Now that Open Connectors are available it gives plenty of opportunities for a SAP customer, who also has non-SAP. The SAP IPaaS is providing a simplified way to integrate third-party software with SAP ERP. It provides a fast and easy connectivity option by providing Pre-Built Connectors. 

Below some nice blogs about Open Connector then you should go to this blogs series which is highly recommend to understand it’s capability.

In this specific use case we will replicate the Customer Master (in this case Business Partner from S/4 HANA) from S/4HANA Cloud to a non-SAP CRM (Hubspot).


From this architecture it is easy to understand how the dots should be connected. The process flow is pretty straightforward. Once the new Customer Master (Business Partner/BP with the role Customer) gets created/updated, it should pass the information to SAP CPI by triggering the Iflow. CPI will then process and pass it to next level, which is open connector by making a http call on the Open Connector for HubSpot CRM and the Master Data is created.

Breaking it into smaller pieces

Step 1. Explore Open Connector and create an instance for HubSpot CRM. Contact API will be used for this scenario.


Step 2. Once the instance creation is done, create a proxy API using SAP Cloud Platform API Management.


Step 3. We have to configure the Communication Arrangement for the communication scenario SAP_COM_0025 in SAP S/4HANA Cloud for triggering Business Partner Replication

Login to SAP S/4HANA Cloud

Go to Maintain Communication Users Tiles and maintain the new inbound communication user. In this case we have maintained Hubspot as the user name.

Now Click on the Communication System Tiles and create a new Communication system. We have called it in this case ‘BP_REPL_HUBSPOT’

The host name is your CPI iflmap where you maintain the inbound and outbound communication user. In this case the outbound communication user is your CPI user and inbound user is the one which is created before.

Now create the Communication Arrangement for Communication Scenario SAP_COM_0025

Give Arrangement Name 'HUBSPOT' and Communication System 'BP_REPL_HUBSPOT', which has been created in an earlier stage.

Now scroll down and configure the outbound service 'Replicate Business Partners from S/4 System to Client'. Check service status 'Active' and in the 'Service URL' give the CPI iflmap host URL and sender soap endpoint of your iflow, which we will do in next step in CPI.

Step 4: Design the Iflow in CPI.

Open your CPI tenant Management create custom package and iflow

This is how the overall Iflow of this use case looks like

The Sender EndpointThe Sender Endpoint

The Receiver Endpoint

We also had to make the custom mapping, so that the payload we are receiving is properly mapped with HubSpot 'Open ConnectorPayload'.

After developing this iflow, we need to deploy it.

Step 5: Replicating Business Partner using Data Replication Model

Click on Replicate by Replication Model Tile

Choose Replication Model and Target System as Hubspot and Execute (Before this make sure you have defined filter criteria in your replication).

Now Check the iflow log

Finally check the Record in HubSpot

The Business Partner replication from S/4HANA Cloud to the third-party CRM is now completed.

Interested in simplified Integration between SAP & non-SAP by expanding, extending or automating your organization?

Please PM or contact me on:

Read More Cases