on 03-26-2013 5:45 PM
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krishneel, did you found the problem? I am getting the same error...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.