cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc Receiver adapter in CPI

Hi,

We are trying to send Idoc from CPI to ECC via Cloud Connector using a simple iflow(passthrough).(We tried both with SOAP envelope and Plain XML.) We are receiving an error : "An internal server error occurred: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: (none)."

Provided below is the configuration in the Idoc adapter:

Points to note: The destination is reachable in cloud connector. sap/bc/srt/idoc service is also active in ECC.

I have followed the below blog and several others before posting for help here 🙂 . Please help

https://blogs.sap.com/2016/08/11/hcihcp-isidoc-adapter-deciphered-part-4-trigger-idoc-from-hci-to-sa...

Regards,

Vishal

Accepted Solutions (0)

Answers (2)

Answers (2)

MortenWittrock
Active Contributor

Hi Vishal

This could be an authorization issue on the SAP system, resulting in an HTML error page being returned.

I would activate the Payload Trace in Cloud Connector (more information here), and have a look at what's actually coming back from the SAP system.

Regards,

Morten

0 Kudos

Hi Morten,

Thanks for your response and for the suggestion on enabling Payload Trace in Cloud Connector. I notice that we get "HTTP/1.1 401 Unauthorized" error. By any chance do you have the list of authorizations to be provided? Although several things were tried but with little success.

Regards,

Vishal

MortenWittrock
Active Contributor
0 Kudos

Hi vishal.p.kulkarni

That 401 error probably means you should double check the user name and password plus if the user might be locked at this point.

Regards,
Morten

biswajit_singh1
Participant
0 Kudos

Hi Morten,

We are now facing the same issue.Although, yes we think there could be an issue with the user creds we are using; do you think this could also be an issue with the cloud connector setup ? Our back end erp system is reachable through the cloud connector however we have configured it with HTTPS protocol but on the contrary the idoc receiver adapter only accepts HTTP protocol hence are using the same on the address parameter of the adapter.

thkolz
Contributor
0 Kudos

Did you have a look at this note?
https://me.sap.com/notes/0002530701