cancel
Showing results for 
Search instead for 
Did you mean: 

RFC call ended with "Communication Failure" exception

Krishneel
Participant
0 Kudos

Hi Experts,

I have created an OData service on NW Gateway that is calling a RFC enabled Function Module on our CRM system. The steps I took via the SAP NetWeaver Gateway Service Builder:

- Within the Data Model folder I created an Entity Type by using the import RFC/BOR Interface option. I selected my Function Module on our CRM system.

- Created an Entity Set for the Entity Type

- I Synchronised the Entity Types folder with the Service Implementation Folder and defined the GetEntity (Read) mapping. I mapped to my remote data source on CRM.

- I checked the project consistency and generated runtime objects.

- Finally I registered my service.

However when I test my service via a browser I am getting the following error:

<?xml version="1.0" encoding="utf-8" ?>

- <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

  <code>SY/530</code>

  <message xml:lang="en">RFC call ended with "Communication Failure" exception (Function call failed; could not find the function ZBAPI_WEBREQUEST_CREATE).</message>

- <innererror>

  <transactionid>993C96E21AD5F1CCAE3346E2ADF566F0</transactionid>

- <errordetails>

- <errordetail>

  <code>/IWBEP/CX_SD_GEN_DPC_TECH</code>

  <message>RFC call ended with "Communication Failure" exception (Function call failed; could not find the function ZBAPI_WEBREQUEST_CREATE).</message>

  <propertyref />

  <severity>error</severity>

  </errordetail>

  </errordetails>

  </innererror>

  </error>

<?xml version="1.0" encoding="utf-8" ?>

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

<code>SY/530</code>

<message xml:lang="en">RFC call ended with "Communication Failure" exception (Function call failed; could not find the function ZBAPI_WEBREQUEST_CREATE).</message>

<innererror>

<transactionid>993C96E21AD5F1CCAE3346E2ADF566F0</transactionid>

<errordetails>

<errordetail>

<code>/IWBEP/CX_SD_GEN_DPC_TECH</code>

<message>RFC call ended with "Communication Failure" exception (Function call failed; could not find the function ZBAPI_WEBREQUEST_CREATE).</message>

<propertyref />

<severity>error</severity>

</errordetail>

</errordetails>

</innererror>

</error>

<?xml version="1.0" encoding="utf-8" ?>

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">

<code>SY/530</code>

<message xml:lang="en">RFC call ended with "Communication Failure" exception (Function call failed; could not find the function ZBAPI_WEBREQUEST_CREATE).</message>

<innererror>

<transactionid>993C96E21AD5F1CCAE3346E2ADF566F0</transactionid>

<errordetails>

<errordetail>

<code>/IWBEP/CX_SD_GEN_DPC_TECH</code>

<message>RFC call ended with "Communication Failure" exception (Function call failed; could not find the function ZBAPI_WEBREQUEST_CREATE).</message>

<propertyref />

<severity>error</severity>

</errordetail>

</errordetails>

</innererror>

</error>

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member206574
Active Participant
0 Kudos

Hi Krish,

I Found one more reason for the above error. In export parameter the associated type could be table type. In Table Type there will be a tab called  key there maintain key definition as Standard KEY. IT could resolve your error.

Thanks,

Venu

Message was edited by: VENU G

former_member206574
Active Participant
0 Kudos

Hi Krishneel,

In your RFC for export paremeters may be deep structures is used to retrieve the data. In Odata service we can't use the deep structures. Ask your ABAP developer to Change into flat structure in Export parameters for RFC.

I too have the same problem, after changing it to flat structure in export parameter i am getting data.

Thanks

Venu

kammaje_cis
Active Contributor
0 Kudos

This is problem with System Alias Configuration.

When you register your service you give the System Alias. You can navigate to system alias screen from the Register screen itself. You need to check the 'Local GW' in it.

Read Gautham's blog for understanding System Alias configs.

http://scn.sap.com/community/netweaver-gateway/blog/2013/05/30/system-alias-and-routing-of-request-i...

ChandraMahajan
Active Contributor
0 Kudos

Hi,

Have you checked if RFC connection is working in SM59? you can also refer http://scn.sap.com/message/14063219 for similar issue.

Regards,

Chandra

Former Member
0 Kudos

Hi Krishneel, did you found the problem? I am getting the same error...