Skip to Content
Aug 24, 2020 at 09:27 AM

401 Unauthorized while trying to send an IDoc from SAP CPI to ERP (On-Premise)


Hello Experts,

I want to send an IDoc from my SAP CPI to my On-Premise ERP System.

I've setted up a simple IFlow with IDoc Adapter.

If I trigger the flow it passes til the outbound IDoc Adapter and throws me an:

ERROR (CPI Monitoring):

An internal server error occured: HTTP response '400: Bad Request' when communicating with http://XXXXXXXXXX/sap/bc/srt/idoc?sap-client=800.

ERROR (Cloud Connector Trace Log):

2020-08-24 11:00:43,323 #Tunnel account:///XXXXXXXXXXXXXXXXXXXXXXXXX connect failed Invalid status of handshake response: 401 Unauthorized

Any Idea how to solve this problem?

I've provided my User Credentials from ECC in the Adapter.

Best Regards