Sap Enterprise Portal :Calling OData Service

Hi ,

I have successfully deployed sapui5 app from webide to Portal 7.5.but when am running the app as a tile from launch pad ,its thorwing error.So i debugged and found that the Odata service now point to Portal server instead of gateway.

How to resovle this?

Hi , I have successfully deployed sapui5 app from webide to Portal 7.5.but when am running the app as a tile from launch pad ,its thorwing error.So i debugged and found that the Odata service now point to Portal server instead of gateway. How to resovle this?

Sap Enterprise Portal :Calling OData Service

Very Helpfull

User Rating: Be the first one !
Train Asked on May 26, 2017 in SAP PORTAL.
Add Comment
5 Answer(s)

    if you deploy to portal server, then normally your app can only call portal odata service, not abap server one.

    google same origin policy

    you need to put web dispatcher in place, if you want your scenario to work.

    Add Comment

      ThanksLet me try.I will keep you posted.

      Add Comment

        – http://schemas.microsoft.com/ado/2007/08/dataservices/metadata”> /IWFND/CM_MGW/001 The RFC call was not successful because of communication failure ‘Illegal destination type ‘G’.’ – –

        Add Comment

          Thank you for the response. But its not the case.I am using the above System alias concept but the call from Portal is not successful.I think ,call has to be redirected to gateway service. but dont know how!

          Add Comment

            Hi,

            I have same scenario, where UI5 app is running on portal which is on 7.4 and connecting to backend system through OData which is a R/3 system through web dispatcher(apache). That way you don’t face same origin policy issue. Use a relative path for OData and write a rewrite run in apache to forward the request to your backend system(SAP R/3) for all your OData calls.

            Thanks,

            Dheeram

            Add Comment

            Your Answer

            By posting your answer, you agree to the privacy policy and terms of service.