Skip to Content
avatar image
Former Member

Authentication problem trying to get service catalog in WebIDE

Hi all!

I'm having a problem getting a service catalog from the Data Connection tab when creating a new Fiori App from a template. The service catalog I want to use is a HTTP destination I've created type onPremise using cloud connector that I've checked connection in the destination tab and it connects successfully.

The problem is when I select the service catalog from the dropdown menu it ask me for credentials, and I tried all the credentials I have with no luck.

In the cloud connector I have only one resource defined for the virtual host with URL path:

/sap/opu/odata

and access policy:

Path and all sub-paths

Also, if i paste the URL in the browser it also ask me for credentials. This is the URL:

https://webide-<ACCOUNT>trial.dispatcher.hanatrial.ondemand.com/destinations/<DESTINATION>/sap/opu/odata/IWFND/CATALOGSERVICE;v=2/ServiceCollection?sap-client=300$format=json

My destination configuration is defined like this:

Properties:

Type = HTTP
Location ID = <OUR LOCATION ID>
URL = <Virtual URL configured and working in Cloud Connector>
Proxy Type = OnPremise
Authentication = BasicAuthentication
User = <Backend User working in SAPlogon>
Password = <Backend Password working in SAPlogon>

Additional Properties:

CloudConnectorLocationId = <OUR LOCATION ID>
sap-client = 300
WebIDEEnabled = true
WebIDESystem = <OUR IDE SYSTEM>
WebIDEUsage = odata_abap,dev_abap,ui5_execute_abap

Thanks in advance!

Ignacio de la Torre

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 13, 2017 at 07:36 AM

    Hi Ignacio,

    The user and password are for your backend (Gateway or ERP). Please check you can logoon to your backend via SAPGUI.

    If the client is not default one, you can add sap-client parameter in the destination setting.

    Regards,

    Masa / SAP Technology RIG

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hey Masayuki,

      This is using Basic Authentication in the destination with the user and password for the backend. The behavior also occurs when using no authentication method.

      My destination configuration is defined like this:

      Properties:

      Type = HTTP
      Location ID = <OUR LOCATION ID>
      URL = <Virtual URL configured and working in Cloud Connector>
      Proxy Type = OnPremise
      Authentication = BasicAuthentication
      User = <Backend User working in SAPlogon>
      Password = <Backend Password working in SAPlogon>

      Additional Properties:

      CloudConnectorLocationId = <OUR LOCATION ID>
      sap-client = 300
      WebIDEEnabled = true
      WebIDESystem = <OUR IDE SYSTEM>
      WebIDEUsage = odata_abap,dev_abap,ui5_execute_abap

      Hope it helps to figure it out what happens.

      Thanks in advance!

  • Apr 24, 2017 at 04:06 AM

    I had this issue earlier.

    I had this issue, whenever the password maintained in the destination file is not the right one. So I would suggest you to double chekc that password.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I've tried both with "Basic Authentication", and "No Authentication" with same result.

      Here is the ljs_trace.log in HCC, I don't see any clue in it:

      2017-04-25 09:30:09,583 -0300 
      INFO# com.sap.core.connectivity.tunnel.client.notification.NotificationClientEventHandler#notification-client-3-9# 
      
      Received open tunnel event for tunnel id account:///<ACCOUNT_ID> and hostId <HOST_ID>| 2017-04-25 09:30:09,871 -0300
      
      INFO# com.sap.core.connectivity.tunnel.client.handshake.ClientProtocolHandshaker
      
      #tunnel-client-4-6# 
      
      Sending handshake request for tunnel: account:///<ACCOUNT_ID> and host account:///<ACCOUNT_ID>| 2017-04-25 09:30:11,299 -0300
      
      INFO#com.sap.core.connectivity.tunnel.core.impl.context.TunnelRegistryImpl
      
      #tunnel-client-4-6# 
      
      Registered tunnel channel [id: 0x15561c63, L:/192.168.1.103:62546 - R:connectivitytunnel.hanatrial.ondemand.com/155.56.219.27:443] for tunnel id "account:///<ACCOUNT_ID>" and client id "<CLIENT_ID>"| 2017-04-25 09:30:11,379 -0300
      
      INFO# com.sap.core.connectivity.tunnel.client.AbstractTunnelClient
      
      #Thread-27# 
      
      Successfully established tunnel: [id: 0x15561c63, L:/192.168.1.103:62546 - R:connectivitytunnel.hanatrial.ondemand.com/155.56.219.27:443]|