cancel
Showing results for 
Search instead for 
Did you mean: 

What is the difference between IDOC and SOAP? When to use IDOC and when to use SOAP?

0 Kudos

Hi experts,

I have a requirement to send data from C4C --> CPI(HCI) --> ERP

now connecting (CPI)HCI to ERP we have more adapters like HTTPS, SOAP, OData, IDoc etc.

I need to know which is the best one to use? Where I can find the difference between these adapters and scenario to use each one of them.

you answer is highly appreciated. Thanks in Advance

Accepted Solutions (1)

Accepted Solutions (1)

Hi Ansari,

I see that you need information on the flow CPI-> ERP. (which is inbound to ERP).

In this case it depends on ERP system like how ERP system is configured and how it needs to receive the data from CPI.

For eg :

1. If service definitions are created in ERP system then it will be via web services using SOAP and WSDL. In this case CPI channel should be configured using SOAP.

2. If ERP system requires IDOC, then IDOC channel is preferred.



Regards,
Vinay H

former_member595526
Active Participant
0 Kudos

Thanks for your answer...

As you mentioned, If ERP system requires IDOC then IDOC channel is preferred.

My requirement is ERP requires IDOC and want to send response payload. is it possible with IDoc Channel

0 Kudos

Hi Ansari,

Yes, Please proceed with IDoc channel.

Just make sure that the payload which you are sending should be created from the Idoc XSD exported from ERP system.

Regards,

Vinay Halale

Answers (2)

Answers (2)

Sriprasadsbhat
Active Contributor

Hello Ansari,

Adding to vinay comments

1) You can use relevant adapter based on the Target Systems call( they have IDoc or they have proxy or they have web service exposed from SOAMANAGER).

2) If standard IDocs are available in SAP S4 or ECC either inbound or outbound for the particular interface you will be designing your IFlow having IDoc adapter.

3) If there are no standard IDocs available then they might take Custom Proxy approach then you should go with XI adapter.

4) If there are any services exposed as web services from SOAMANAGER[ ex Successfactors Employee and ORG Data replication ] then you will go with SOAP Adapter.

Regards,

Sriprasad Shivaram Bhat

former_member595526
Active Participant
0 Kudos

Thanks Sriprasad.

ERP requires Idoc and also want to response back with some payload. is that possible when I choose IDOC channel. or should I use any other adapter? Pls help

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Ansari,

Yes its possible.If you are sending IDoc from CPI to ECC ask your ECC team to enable ALEAUD which gives the response.

https://wiki.scn.sap.com/wiki/display/ABAP/Handling+Idoc+Acknowledgements

Regards,

Sriprasad shivaram Bhat

former_member245698
Active Participant
0 Kudos

Hi Ansari,

please find a link to the standard integrations available.

https://api.sap.com/package/SAPHybrisCloudforCustomerIntegrationwithSAPERP?section=Overview

Here you can see that ERP is most of the times sending the data via IDOC.

Best regards

Maik