Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Error between SAP ERP and hybris datahub when processing idoc

Former Member
0 Kudos

Hi Experts,

I am trying to integrate and process idocs holding material data between the ERP SAP system and the hybris Datahub. I have followed the configuration points as described in the documentation 5 material to setup the inbound and outbound messaging and performed an impex export from ERP and imported into hybris.

When I trigger an idoc (via a change in material message), I see the idoc is in red status and has not processed correctly, I receive the following error message when analysing idoc:

" A communication error has occurred when transferring the idoc:

The error code and the error message are: 417/connect to (systemname):9001 failed NIEHOST_UNKNOWN(-2)

The target address was 'http://systemname:9001/datahub-webapp/v1/idoc/receiver' " When I check the file where the hybris system is installed, the target address is the same as what is mentioned in the SAP envioronment.

Therefore, is there any documentation or troubleshoot ideas in order to get this intregration point working and communicate with the system?


Matthew Gardiner


Former Member
0 Kudos

Hi Matt,

Any outbound Idoc uses "Port" to be sent to the outbound world. And the "port" is linked to RFC destination ( Transaction SM59 ) when we try to sent it to outside.

Now RFC destination links the Gateway or communicate via TCP/IP to the external system.

I suspect there are some issues with your RFC destination. Normally it is a basis activity but if you have authorization please check the RFC destination works first in the standalone mode or  not. By doing a Connection test and Authorization test.

You can get lot of information over the internet how to do that. Once you sort that out we can look for the next error (if any )