Skip to Content
0

Authentication problem trying to get service catalog in WebIDE

Apr 12, 2017 at 01:21 PM

254

avatar image

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

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

2 Answers

Masayuki Sekihara
Apr 13, 2017 at 07:36 AM
0

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

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

Hi Masayuki! Thanks for the quick response. I added the sap-client parameter and stills ask me for credentials all the time. I'm using the user/pass for my backend ERP, and I can login using this user/pass successfully with SAP Logon client.

I'm attaching two images with the captions when ask me forcredentials and the error when I cancel upon several entering the user/pass.

0

Hi Ignacio,

What is the test result if you hard code the user and password in the destination setting?

Regards,

Masa / SAP Technology RIG

0

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!

0
Krishna Kishor Kammaje
Apr 24, 2017 at 04:06 AM
0

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.

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

Hi Krishna! Thank you for the answer, In fact I double check this multiple times and I'm sure is the password for tha user.

Is there any specific role I have to set to this user for using this service?

Thanks!

Ignacio

0

No, I have not done anything like that.

Can you try using 'No Authentication' for authentication.?

Also you can check the log at HCC for any clues.

0

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]|
0