Skip to Content
0

WebIDE Service URL in Data connection

Nov 03, 2017 at 05:37 PM

1.3k

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Milen Dontcheff
Nov 05, 2017 at 11:33 AM
1

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 IDE

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.

Show 3 Share
10 |10000 characters needed characters left characters exceeded

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.

0

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

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

0
Milen Dontcheff
Nov 04, 2017 at 03:12 PM
1

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

json-new.png (6.0 kB)
0
SATYA DEV Nov 07, 2017 at 09:57 PM
1

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.


error-run.png (13.8 kB)
Share
10 |10000 characters needed characters left characters exceeded
Milen Dontcheff
Nov 07, 2017 at 10:51 PM
0

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.

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Milen,

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

0

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.

1

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

0

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

Are the imported certificates different in IE and Chrome?

0