Skip to Content

SAP Cloud Platform : Basic Authentication showing when accessing service in WEB IDE app. Why?

I'm using a the same destination on a number of apps, which are connecting fine.

Created a new app (using the same SAP WEB IDE template).

The Service is retrieved fine when selecting New/OData service from the project menu, proving my Destination credentials are fine.

Now, when I run the app. I'm getting a basic authentication window. Cancelling this means I can't connect to the metadata of the service and therefore can't retrieve any data.

https://webidetesting0837185-s0015641139trial.dispatcher.hanatrial.ondemand.com/SAPUI5-ABAP-SFI/sap/opu/odata/sap/ZSV_SURVEY_SRV/$metadata?sap-language=EN 401 (Unauthorized)

My username and password is not being accepted even though it's correct.

Any ideas?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Oct 16, 2017 at 03:36 PM

    And the solution was.....

    It fixed itself!

    :(

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 12, 2017 at 11:23 AM

    I would suggest tracing the call in SMICM to see what is happening.

    Regards,

    Jamie

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 11, 2017 at 12:24 PM

    Have you tried running the service directly? Maybe your user does not have the appropriate rights.

    Regards,

    Jamie

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 12, 2017 at 11:09 AM

    Hi

    Yes, I've run the Service in SAP GUI - Gateway Client with the exact same credentials. Works fine.

    The Destination works fine in existing apps, it's seems to be related to the Data Connection facility in Web IDE (for this particular connection).

    E.g. For destination SAPUI5-ABAP-SFI i'm trying to access ZRUI_COMMON_SRV.

    - Works fine for another destination....

    - Works fine for a previously deployed app using the same same destination and service.

    Add comment
    10|10000 characters needed characters exceeded