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>