cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to access OData service created on SAP Cloud Environment from S/4 HANA On Premise system

sv_v
Explorer
0 Kudos

Hi All

I am trying to create a HTTP RFC connection of type G in SM59 in my S/4 HANA system to access my OData service created on SAP Cloud Platform ABAP Environment. I have created RFC destination by providing host, OData path and Communication User and Password.

The response we are receiving is "404" - Not Found . Kindly help to resolve the issue.

Response Text is something as below

"HTTP/1.0 404 Not Found

Content-Type: text/html
Content-Length: 16052
cache-control: no-cache

<html>
<head>
<title>SAP Cloud Platform ABAP Environment - 503 Service Unavailable</title>
<style>
  body { background: #ffffff; text-align: center; width:100%; height:100%; overflow:hidden; }
  .content { display: table; position:absolute; width:100%; height:80%; }
  .valigned { display: table-cell; vertical-align: middle; }
  .lowerCenter { display: table-cell; vertical-align: bottom; }

Accepted Solutions (0)

Answers (3)

Answers (3)

sv_v
Explorer
0 Kudos

Hi 8d8214c7f9734f45be69f95cc0d5aeee

Thank you.

Yeah. Ensured all the points mentioned by you. Still same issue.

Regards

Swathi V

sv_v
Explorer
0 Kudos

Hi Geert-Jan Klaps

Please find below screenshots

Regards

Swathi V

geert-janklaps
Active Contributor
0 Kudos

Hi,

Can you make sure that:

  • Target host doesn't start with https://
  • Target host doesn't contain a trailing / in the end
  • Basic authentication contains a password (currently it seems to indicate that the password is not set

If above is checked and it still doesn't work, maybe try changing the path prefix to your metadata URL.

I also see that you're using a proxy configuration, if above is still not working => maybe double check with your IT department to see if the configuration is correct and if they can maybe trace the call your doing in SM59.

Best regards,

Geert-Jan Klaps

geert-janklaps
Active Contributor
0 Kudos

Hi,

I would suspect this either to be a temporary issue or a wrong configuration of your RFC destination.

Can you check you:

  • Enabled SSL in your RFC destination
  • Uploaded the SSL certificates in STRUST
  • Are able to call your service from e.g. Postman

Best regards,

Geert-Jan Klaps

sv_v
Explorer
0 Kudos

(just now)

Hi Geert-Jan Klaps

Thank you for your reply.Please find my reply below

  • Enabled SSL in your RFC destination - Yes enabled SSL in RFC destination
  • Uploaded the SSL certificates in STRUST - Yes downloaded certificate from my OData service and uploaded in my S/4 HANA On Premise system
  • Are able to call your service from e.g. Postman - Yes . I am able to successfully call my service from Postman.

Please let me know if we are missing anything else.

Regards

Swathi V

geert-janklaps
Active Contributor
0 Kudos

Hi sv.v,

Can you maybe share some screenshots of your RFC destination configuration? And some of the coding you're using to access the RFC destination?

Best regards,

Geert-Jan Klaps