Skip to Content
0
Sep 20, 2018 at 01:19 PM

HTTP-Error during C4C / Cloud Platform Portal Integration (Display Service Requests)

846 Views Last edit May 21, 2020 at 05:39 PM 7 rev

Dear Experts,

in our scenario we want to integrate our C4C-Tenant with a Cloud Platform Portal Site to create and display Service Requests from C4C.

Our first requirement - create a service request from the portal site to c4c - is still working. Our second requirement - display the service requests from c4c in the portal site - makes some problems.

We downloaded the portal site template from the SAP Git Repository (here), deployed it to SAP Cloud Platform and consume the C4C OData Service (as defined in the documentation and the standard application).

1. If we open the Service Request Tab we get following console error message (the server found no resource that is equal with the data-service-URI):

jquery.sap.global-dbg.js:1058 2018-09-20 14:56:07.139199 The following problem occurred: HTTP request failed404,Not Found, http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> xml:lang="de">Der Server hat keine Ressource gefunden, die mit dem Data-Services-Request-URI übereinstimmt -


2. In the network tab of F12 we found the non working entity set:

https://flpnwc- . dispatcher.hana.ondemand.com/sap/fiori/servicerequests/destinations/c4c/sap/byd/odata/v1/c4codata/ ServiceRequestCollection/$count?$filter=ReporterEmail%20eq%20%<e-mail>ServiceRequestUserLifeCycleStatusCodeText%20ne%20%27Completed%27

The destination in our Cloud Platform Portal is working, because we can create a service request. The OData in C4C exists and the application code has not changed.

Any ideas why we get this error?

Best Regards,

Tim