cancel
Showing results for 
Search instead for 
Did you mean: 

WebIDE Service URL in Data connection

0 Kudos

Hello everyone,

I created an SAP Fiori application from the templates available in WebIDE. I am getting an error '404 not found' in WebIDE while making a data connection using Service URL. I have created a oData service for SAP HANA data and want to display that data in Fiori app. My internal host status in cloud connector is 'reachable'. Destination connection in SAP cloud platform is successful and the resource is accessible.

Please help me with the solution. Thank you

-Regards,

Satya.

cloud-connector-status.png

Accepted Solutions (0)

Answers (4)

Answers (4)

Hi Milen,

Good News. I tried to update SAP Cloud connector but the existing one is the latest SAP CC Version. But I updated my server OS which is Suse Linux and after the OS update, I am able to create an SAP Fiori application from WebIDE. But when I am trying to run it is giving me a 'Technical Error'. I got the error as following

{
	"message": "HTTP request failed",
	"headers": [],
	"statusCode": 403,
	"statusText": "Forbidden",
	"responseText": "\n    \n    \n    \n    \n    \n    \n        \nThe server refused to fulfill the request.\n\n                \n            \n            More information about why the request was refused may be found in the server logs.\n\n        \n        <br>Log Out\n        \n        \n       \n    \n"
}

I also attached the screen shot for the following error. Can you explain me about this error and how to solve it.
Thank you.

<a href="/storage/attachments/82561-error-run.png">error-run.png</a>

Close

I attached the screenshot of the following error. Please help me to resolve this issue.

former_member189220
Active Contributor

1.

If you might access the oData service in the browser, then this is the "correct path":

112/112.xsodata

You have configured it correctly - the SAP Gateway service URL, is without host information.

(btw, in one of the attached screenshots the host name is still visible. may be you might change or delete this screenshot)

2.

What left to confirm, from configuration point of view, is whether the destination on the SAP CP is connecting to the back-end as well.

Please refer to this blog:

An insight into Destinations for Northwind / ES4 services for use with SAP HCP / Web IDE

The important, in the SAP CP destination, is not only the URL, user credentials and the authentication, but as well the WebIDEUsage.

Please refer to this SAP KBA about the value of the WebIDEUsage setting:

2453077 - Backend does not appear when importing application from SAPUI5 ABAP Repository in SAP Web ...

Resolution - point 4:

3.

In case the configuration settings of both of the SAP CP and SAP CC destinations are correct and the backend is accessible from SAP CP cockpit, then most probably there is indeed a problem with this "SAP Fiori Master-Detail Application" template on the SAP Web IDE. I hope the developers will have a look on this thread and will reply accordingly.

0 Kudos

Hi Milen,

1.Regarding to your second point, my destination on SAP CP is connected successfully to the HANA back-end server. I attached the screenshot for the confirmation.

backend-connection-status.png

2. I also referred to the SAP KBA that you posted. It is more for the ABAP repository. I also set the additional properties for the destination created as per HANA as the back-end. I attached a screenshot for that too.

additional-properties.png

3. Now it is started giving me the '503 Service unavailable' error.

former_member189220
Active Contributor
0 Kudos

what is the version of the SAP CC? Usually this messages is observed, when in the scenario are involved older versions of the SAP CC.

Is the SAP CC the latest? If not please use the latest version.

0 Kudos

I installed SAP Cloud connector version 2.10.1 which is a latest version.

former_member189220
Active Contributor

Are you certain the setting of the OData Service, the value you do insert in the dialog box, is correct?

Are you able to access it from the browser:

https://<FQDN-of-the-OData-resource>/112/112.xsodata

(is it possible something is missing in the name of the package or in the path to the package)

Have you looked at the example in this blog:

An insight into SAP Fiori Master-Detail Application (Template in SAP Web IDE) step by step

0 Kudos

Hi Milen,

Thanks for responding. I can access my OData service on the web browser. I attached the image for the OData service link in the web browser. Can you please tell me where can I check the path to the package?

-Regards

Satya.

json-new.png

former_member189220
Active Contributor
0 Kudos

The "403 Forbidden" message is almost always connected with authorization matters.

Would you please grant full administration rights to the user with whom you do establish the connection from the SAP CC to the backend system. (For example on AS ABAP, SAP_ALL is such authorization)

I'm curious to have a look on this log, the error message is talking about.

0 Kudos

Hi Milen,

Can you tell me where exactly I can check the server logs?

Hi Milen,

I tried accessing Fiori through Internet Explorer and able to run the app. I previously used chrome web browser and I think We need to give some permissions to run the Fiori app using google chrome.

former_member189220
Active Contributor
0 Kudos

Is it possible the problem to be with the imported certificates?

Are the imported certificates different in IE and Chrome?

former_member356171
Participant
0 Kudos

Hi Satya,

I have tried creating Fiori app in IE but facing the same issue. (error: 403 Forbidden ) while entering my Odata url.

Cloud connector status is reachable.

Could you please tell me how you resolved this issue?

Thanks,

Srilaxmi