cancel
Showing results for 
Search instead for 
Did you mean: 

Replication of Business Partners to/from non-SAP systems?

Former Member
0 Kudos

All,

Does anyone of you have experience in using the Business Partner replication as mentioned in best practice 1RO? It seems like this can only be used with on-premise SAP systems as client.

How can we synchronize business partners with non-SAP systems? Would it be possible to use the iDoc based API's? I'd prefer this because the communication scenario SAP_COM_0008 holds automatic triggering of message when a BP has changed.

Any help is much appreciated.

kind regards,

Jeroen

Accepted Solutions (1)

Accepted Solutions (1)

Amith_Nair
Advisor
Advisor
0 Kudos

Hi Jeroen,

The BP replication mentioned in Best Practice IRO is applicable for Cloud as well.

Please refer API hub for more details: https://api.sap.com/package/SAPS4HANACloud?section=Artifacts

and search for Business partners.

(You may leverage the Business documentation available for each of the API services to get more details on business context w.r.t to API)

If you can create Communication Arrangement out of the Communication Scenario- SAP_COM_008, you should have the options for enabling application Protocol for IDoc as well. Please find the screenshot attached.

Amith_Nair
Advisor
Advisor
0 Kudos

Hi Jeroen,

The communication scenario SAP_COM_008 provides end-points (inbound and outbound) for the replication of business partners & business partner relationships through SOAP web service as well as customers and suppliers (in ERP called vendors) through ALE IDOCs.

However, as you rightly pointed out, idocs are sent to another SAP system and if you’re trying to integrate this to non-SAP legacy system, then I would suggest having a middleware (like CPI) in place would be ideal that converts iDoc to iDoc excel and map that to target structure. This is what I can think of but, I have not done this myself.

Thanks! Amith Nair

MartyMcCormick
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Just to add on to what Amith has provided--yes, you can do what you are trying to do without using IDOCs. Under SAP_COM_0008 Communication Arrangement, there are Outbound Services that trigger BP replication like you are intending. "Replicate Business Partners from S/4 System to CLient" and "Replicate Business Partner Relationship from S/4 System to Client"

These are SOAP based outbound endpoints so your receiving system can directly receive, or more than likely you will want to CPI and then map and call your target system.

I have tested this in a simple scenario where I exposed an endpoint in an iFlow on CPI /cxf/BusinessPartner and then simply logged the payload. I could see the Business Partners coming in XML format from S/4 to the CPI tenant.

Thanks,

Marty

Former Member
0 Kudos

Hi Amith,

Thank for you comments, but you point out the standard possibilities. My main question remains as 'Can we make S4HC send out a message, any kind, to a non-SAP system as soon as a business partner has been changed'.

It looks like the outgoing service in this API make that possible by sending out idocs triggered by a batch job and I assume there are change pointers involved there. But the standard scenario is that the idocs are sent to another SAP system while I'm looking to integrate to non-SAP legacy systems thru a third-party ESB solution.

any more thoughts on this matter?

kind regards,

Jeroen

Answers (3)

Answers (3)

zia_akbar3
Explorer
0 Kudos

@m.dboer

Are you able to get an answer to your question? Are you able to replicate data to non-SAP? Did you try standard SOA services?

0 Kudos

I also tried connecting to SAP CPI using the above communication arrangement but I get an error in S/4HANA on sending the message out. My 'Check connection' to SAP CPI works fine and also the iFlow when triggered from SoapUI tool.

What special configuration am I missing in S/4HANA? I did set up the Communication System, Communication Arrangement and Replication Model (with filtering) as I believe it should be. I see that some records are selected but nothing is sent. RED traffic light in monitoing sreen but a limited error message: "Objects with errors were stored. Repeat replication for this objects." None of the customer/supplier (business partner) records get sent out.

Any ideas?

Amith_Nair
Advisor
Advisor
0 Kudos

Please refer to the attached file.