Skip to Content
Author's profile photo Wouter Lemaire

Connect the SAPWebIDE On-Premise to your SAP Gateway system On-Premise

Hi,

Hopefully you all have successfully installed the SAPWebIDE On-Premise. If not, follow the previous blog:

Start with the SAP Web IDE On-Premise

The SAPWebIDE has some really nice wizards. But if you want to use these wizards you’ll need a connection to your gateway system. You’ll also need this connection to deploy your application to your SAP Gateway system.

Configuration steps:

1) Navigate to C:\SAPWebIDE\eclipse\config_master\service.destinations\destinations

     – If the path does not exists, just create the folders manually

2) Create a new file without extension and call it the same as your SAP Gateway system ID

3) Open the created file with a texteditor

4) Add the following configruation

#ServiceDestination

Description=Gateway Description                                      <– Description

Type=HTTP                                                                     <– Connectiontype

TrustAll=true                                                                   

Authentication=NoAuthentication                                       <– Authenticationtype

WebIDEUsage=odata_abap,ui5_execute_abap,dev_abap    <– described in the SAP Documentation

Name=SYSID                                                                  <– name of destination

URL=http\://0.0.0.0\:8000                                                  <– host and port of SAP Gateway OnPremise

ProxyType=OnPremise                                                  

WebIDESystem=SYSID                                                   <– system ID

WebIDEEnabled=true                                                       <– enable destination for SAPWebIDE

sap-client=100                                                                  <– SAP Gateway client

Follow this well explained tutorial for creating a destination in the SAPWebIDE:

Enjoy the tutorial and in the next blog we’ll use this destination in the SAPWebIDE to create our custom Fiori application. So stay tuned!

Generate your custom Fiori application with SAPWebIDE On-Premise using Gateway On-Premise

Kind regards,

Wouter

Assigned Tags

      22 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Jitendra Kansal
      Jitendra Kansal

      Wouter Lemaire

      Great article.

      How will i pass username and password in case of BasicAuthentication?

      Regards,

      JK

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      Hi Jitendra Kansal

      We actually use basic authentication. The browser that you use to run the SAPWebIDE will ask you to login to your gateway system.

      In the destination, we say "NoAuthentication" but it wil ask you to login.

      After you deployed your custom fiori application to your gateway system. You could configure it to use the fiori login page instead of a basic login browser popup:

      Create Custom SAP FIORI Login Page

      Kind regards,

      Wouter

      Author's profile photo Jitendra Kansal
      Jitendra Kansal

      Wouter Lemaire

      I wanted to try with BasicAuthentication to access Odata service as i have done with HANA cloud at step #9

      How to use OData service exposed via Integration Gateway (on-premise) with SAP Web IDE Cloud

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      I think you could just reuse the same configuration. But instead of using the virtual url of your cloud connector, you will have to use the real url to your gateway system.

      Kind regads,

      Wouter

      Author's profile photo Anuj Agrawal
      Anuj Agrawal

      Hi Wouter,

         After repeating these steps and creating destination file, I am still not able to get Destination in drop down in Web IDE. Any idea on how to trouble shoot same ?

      Steps:

      I repeated all steps in first bolg and able to bring up IDE.

      I created a file in my C:\SAPWebIDE\eclipse\config_master\service.destinations\destinations

      I restarted IDE and tried creating a project but i don't get destination created in my

      drop down for same.

      Regards,

      Anuj

      Author's profile photo Silvio Miranda
      Silvio Miranda

      Hi Wouter... I had the same problem above.. everything seems to be fine, but I can´t see

      the dropdown list with my destination...

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      Hi,

      We have tried to simulate your issue by doing a clean install. When we follow all the steps in the blog, we have our system in the dropdown list.

      Could you check the following points:

      Did you delete the descriptions before copying the settings?

      What is the extension of your destination file? It should have no extension.

      Is the name of the destination file and the name of your destination the same?

      Do you have connection to your gateway system? maybe your vpn is not active?

      Could you post the content of your destination file?

      Kind regards,

      Wouter

      Author's profile photo Silvio Miranda
      Silvio Miranda

      Hi,

      The name of my file is DEV (with no extension).

      This the content of the file:

      #ServiceDestination

      Description=DEV

      Type=HTTP                                       

      TrustAll=true                                                                  

      Authentication=NoAuthentication                  

      WebIDEUsage=odata_abap,ui5_execute_abap,dev_abap 

      Name=DEV                                       

      URL=http\://(server ip)\:8080                  

      ProxyType=OnPremise                                                 

      WebIDESystem=DEV                             

      WebIDEEnabled=true                             

      sap-client=400         

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      Strange... maybe browser cache?

      Author's profile photo Silvio Miranda
      Silvio Miranda

      I found it.. it was because blank spaces after the name...

      Author's profile photo Anuj Agrawal
      Anuj Agrawal

      Thanks Silvio/Wouter. Same thing was issue at my end.

      I just removed same and it started showing up for me. 

      Author's profile photo Former Member
      Former Member

      Hi Anju / Silvo / Woter,

      For me as well the Created destination is not shown in the SAPWebIDE dropdown. I have followed the same steps and file without empty spaces but still it doen't shows up in the dropdown. Any idea what i have done wrong

      This is my file

      Description=Bxx200
      Type=HTTP
      TrustAll=true
      Authentication=NoAuthentication
      WebIDEUsage=odata_abap,ui5_execute_abap,dev_abap
      Name=Bxx
      URL=http\://hostname.fqdn\:80xx
      ProxyType=OnPremise
      WebIDESystem=Bxx
      webIDEEnabled=true
      sap-client=200

      Author's profile photo Syambabu Allu
      Syambabu Allu

      Hi Wouter,

      Nive Blog with well explanation.

      I have query here..while accessing my on-premises gateway system getting error and verified what you suggested above post everything success but still getting error.can you please help where i have done mistaken.

      error.JPG

      Thanks,

      Syam

      Author's profile photo Jerry Wang
      Jerry Wang

      Hi Wouter,

      Thanks a lot for your kind help and time on my previous question

      cannot deploy my application to SAPUI5 ABAP Repository - HTTP 500 error found.

      After I follow your suggestion by figuring out the correct host name and port number of my onpremise system and fix the destination configuration file, the issue is gone. I was able to connect to my gateway system now.

      Unfortunately when I continue with my project creation, I was in surprise since I could see my needed OData collection in metadata response however it is just missing in Odata collection drop down list in project creation wizard. I post a new question

      Cannot select the needed OData collection from drop down list in WebIDE

      I just would like to check with you, whether you have meet with similar issue before.

      Thanks a lot for your kind support so far, I really appreciated 🙂

      Best regards,

      Jerry

      Author's profile photo Former Member
      Former Member

      Hi Wouter,

      I badly need your help.

      I followed the steps above but i have an error when extending a project.

      Here is the screenshotrdl.PNG

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      Hi Benedick,

      I think that your user is missing some authorizations on your gateway system. Not sure which role you need.. I used sap all 🙂 Maybe you could do a authorization trace with ST01

      Kind regards,

      Wouter

      Author's profile photo Juan David Lopez
      Juan David Lopez

      Hi,

      When try to connect to select the application from SAPUI5 ABAP REPOSITORY I have the following error.

      ErrorGW.png

      The service /sap/bc/adt is active

      The service /sap/bc/bsp is active

      The service /sap/opu/odata is active

      The service /sap/bc/ui5_ui5 is active


      The Fiori Approve Puchase Orders Application is running


      The Gateway server run over https on 443 port


      The GFD configuration file is:


      Description=Gateway_Dev

      Name=GFD

      Type=HTTP

      URL=https\://x.x.x.x\:443

      ProxyType=OnPremise

      Authentication=NoAuthentication

      WebIDEEnabled=true

      WebIDESystem=GFD

      WebIDEUsage=odata_abap,ui5_execute_abap,dev_abap

      sap-client=001

      Thanks for your help.

      Regards,

      Juan Lopez

      Author's profile photo Michal Keidar
      Michal Keidar

      Hi Juan,

      Can you please look at the Network in the browser's console and copy the response of the request to get the discovery?
      Are you able to get the discovery.xml via the browser? (the call is for /sap/bc/adt/discovery)

      Author's profile photo Meera Vaishali
      Meera Vaishali

      Hi Michal

      I am getting the same error what Juan getting. I am getting my discovery.xml response also.

      My Configuration

      #ServiceDestinations

      Description=ECC

      Type=HTTP

      TrustAll=true

      Authentication=NoAuthentication

      WebIDEUsage=odata_abap,ui5_execute_abap,dev_abap

      Name=ECC

      URL=http://192.168.2.29:8090

      ProxyType=OnPremise

      WebIDESystem=ECC

      WebIDEEnabled=true

      sap-client=100

      /wp-content/uploads/2016/08/localwebide1_1026789.png

      Author's profile photo Michal Keidar
      Michal Keidar

      Hi Meera,

      Then my response to Juan applies here as well:

      Can you please look at the Network in the browser's console and copy the response of the request to get the discovery?

      Are you able to get the discovery.xml via the browser? (the call is for /sap/bc/adt/discovery)

      Author's profile photo Nandan Chaturvedi
      Nandan Chaturvedi

      Hello Wouter,
      Thanks a lot. This is great blog 🙂

       

      However I have few issues while connecting a SAP gateway system toloca lweb IDE.

      Here are the details of my destination file.

      Description=Y4H
      Name=Y4H
      Type=HTTP
      TrustAll=true
      Authentication=NoAuthentication
      URL=https://host:port
      ProxyType=Internet
      WebIDEEnabled=true
      WebIDESystem=Y4H
      sap-client=000
      WebIDEUsage=odata_gen,odata_abap,ui5_execute_abap,dev_abap

      Could you please support on this.

      I get an error while trying to load the catalog of the services as : (attached in the image)

       

       

       

      Author's profile photo Wouter Lemaire
      Wouter Lemaire
      Blog Post Author

      What if you use service url? Can you check debugging? Maybe not all service in your system are activated...