Skip to Content

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

To report this post you need to login first.

19 Comments

You must be Logged on to comment or reply to a post.

    1. Wouter Lemaire 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

      (0) 
        1. Wouter Lemaire 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

          (0) 
  1. 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

    (0) 
  2. 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…

    (0) 
    1. Wouter Lemaire 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

      (0) 
      1. 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         

        (0) 
      2. Syam Babu

        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

        (0) 
  3. 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

    (0) 
    1. Wouter Lemaire 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

      (0) 
  4. Juan David Lopez Gutierrez

    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

    (0) 
    1. 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)

      (0) 
      1. 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

        (0) 
        1. 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)

          (0) 

Leave a Reply