Skip to Content

ATTENTION: Updated on April 11, 2016 since ES1 has been deprecated. Using now ES4.


Do you need to connect your SAP Web IDE to an external GW system? Check hereafter how you can achieve this.

Let’s suppose your want to use the OData services provided by the system https://sapes4.sapdevcenter.com/. This is a public GW server: you can get more information and register to it by going to the page Sign up and get started with the SAP Gateway – Demo Consumption System

Since this is public, you can connect to it without using the HANA Cloud connector:

all you have to do is to create a new destination in the account.hanatrial.ondemand.com environment as follows:


Parameter Value
Name <your_destination_name>
Type HTTP
Description <your_destination_description>
URL https://sapes4.sapdevcenter.com:443
Proxy Type Internet
Cloud Connector version 2
Authentication NoAuthentication

Add also the following additional properties:



Parameter Value
WebIDEEnabled true
WebIDESystem es4
WebIDEUsage odata_abap

You should get something like this:

/wp-content/uploads/2014/06/02_926815.png


There are some things which you need to pay special attention to:


  1. In the destination URL you should only provide the domain, so it’s just https://sapes4.sapdevcenter.com:443. SAP Web IDE will automatically concatenate the resource path to it.
  2. do not forget to use the new names (WebIDEEnabled,WebIDESystem,WebIDEUsage) for the Additional Properties since the old ones have been deprecated;
  3. since this is an ABAP system you can specify the “odata_abap” usage: this will allow you to browse for this OData source directly in the Service Catalog.


So, for example, if you want to create a SAP Fiori application using the SAP Fiori Master-Detail template you have to do the following at Data Connection step of the creation process:

/wp-content/uploads/2014/06/01_926843.png


  1. Select Service Catalog
  2. Browse for the new destination you have created, in this case it’s es4
  3. Select the service you want to use (in this case RMTSAMPLEFLIGHT)
  4. Click on Next


After this, the process continues as usual.

That’s all!

To report this post you need to login first.

64 Comments

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

      1. Pedram Mohammadi

        Hi, Thank you so much for this blog! Could yo please tell me the required configuration steps for extending existing Fiori apps? I have the current settings but when i go to “New Extension Project”, the destination that i have created cannot connect to retrieve the apps.

        Would really appreciate your help. Thanks

        (0) 
          1. Shashank Paritala

            how do you have a destination file within the application.  For example if you make the application on webide, but export the archive and choose to run it on an ABAP server?

            (0) 
            1. Michal Keidar

              Not sure I understand your question.. If you run the app from within the ABAP server then you’re already in the context of the ABAP server, so why do you need to have anything related to destination?

              (0) 
      2. Shashank Paritala

        what if someday you want to remove the application via export from Webide and want to run it on eclipse or some other internal IDE.  How does the defined destination come with the exported archive? how do you get the exported app to still be able to point to the correct Odata service?

        (0) 
  1. Oliver Rogers

    Thanks, this is a great blog and helped me out connecting to my Gateway system from RDE.

    The RDE documentation page for this is here – SAP Web IDE Developer Guide

    When I did this, I used set the property RDEUsage to “odata_abap,ui5_execute_abap,dev_abap,bsp_execute_abap” to allow all usages for this box and allow me to extend installed Fiori apps.

    Also, I removed the path on the end of the URL.

    Oli

    (0) 
    1. Pedram Mohammadi

      Hi, I am trying to access Fiori apps and work on their extensibility and was wondering, did you set this up in sap hana cloud? any chance you can put a screenshot of your configuration here? Would really appreciate your help. Thanks

      (0) 
  2. Ji Wu

    Thank you so much Simmaco, this is really helpful, I just tried to add one myself, and I got this error: For a destinations with HTTP URL you are not allowed to add property trustall Just wondering if you happen to know the solution for it? Do I have to import the certificate in the Destinations setting page? If I do, what kind of certificate that would be? Thanks again 🙂

    (0) 
    1. SIMMACO FERRIERO Post author

      If you are using an URL with the HTTPS protocol you need to define the TrustAll property and set it to true: if you are just going through the HTTP protocol you don’t need this property at all, so you can skip it.

      Regards,

      Simmaco

      (0) 
  3. Hemendra Sabharwal

    Hi SIMMACO FERRIERO

    I have already set the WebIDEUsage for “odata_abap,ui5_execute_abap,dev_abap,dev_gen,bsp_execute_abap” to allow all usages for this box and allow me to extend installed Fiori apps on Premise ECC system. Now I am able to import the Fiori App frontend component to SAP Web IDE from SAP Gateway available on premise. But when I tried to run the index.html of extension project on SAP Web IDE for imported standard fiori app, it shows me the UI without back-end(ECC) data. Am I missing somthing? I wanted to extend standard Fiori app available and working fine with data on my OnPrem system.

    Thanks,

    Warm Regards

    Hemendra

    (0) 
    1. SIMMACO FERRIERO Post author

      Hi Hemendra,if you want to extend a Fiori application you don’t need to import it into SAP Web IDE, you can just extend it from remote. Did you try this option too?

      Regards,

      Simmaco

      (0) 
    1. SIMMACO FERRIERO Post author

      Hi Halil,

      you get it as soon as you start creating a new project from templates. Here are the steps:

      Open SAP Web IDE

      From the File menu choose New –> Project from Template

      Choose a template (i.e. the first one “Fiori Master Detail”) and click on next

      Enter a project name and click on Next

      Here you are: this is the Data Connection Page.

      Regards,

      Simmaco

      (0) 
  4. Timothy Muchena

    Hi

    Thank you very much for this blog

    I have configured the destination as per the blog instruction and I can see destination on the Data Connection Page and a list of services available but as soon as select a service it greys out and I get NOT FOUND error. May you please assist

    Kind regards

    (0) 
        1. SIMMACO FERRIERO Post author

          Hi, since you want to use the HTTPS protocol, could you try to configure your destination in the  following way?

          /wp-content/uploads/2015/04/conf_es1_686473.png

          And also flag the “Use default JDK truststore” checkbox.

          Regards,

          Simmaco

          (0) 
          1. Timothy Muchena

            Hi Simmaco

            Thanks its now working.

            Now I want to connect to our backend system with an embedded gateway. Besides doing this set up what else am I required to do?

            Kind regards

            (0) 
              1. Timothy Muchena

                Thank you.

                I am using a 32 bit machine and the requirement for cloud connector is 64 bit machine. Do you know of any workarounds for 32 bit machines?

                Kind regards

                (0) 
  5. Michel De Kimpe

    Hello,

    Has anybody tried to connect the WEB IDE to a SAP Netweaver trial system like NSP ?

    I’m able to create an oData service in the SAP system and would like to test this with a Fiori app.

    Regards,

    M

    (0) 
    1. Michal Keidar

      Hi Divya,

      Perhaps the demo system has temporary errors, are you able accessing it via the browser with the same user you’re trying to access it via Web IDE or HCP cockpit?

      Regards,

      Michal.

      (0) 
  6. Divya Joshi

    Hi Michel,

    When I am trying to open the URL  in the browser that I have given at the time of creating destinations, it shows ‘Unknown Host’  or ‘Web page not available’ error.

    Thanks for reply.

    UnkonwnHost.PNG

    (0) 
    1. Michal Keidar

      I thought you are using the demo system like bobu. Are you trying to use GM6? GM6 is an internal SAP system..

      Can you show the destination configured? Attach screen shots like Bobu

      (0) 
        1. Divya Joshi

          I tried to create many destinations like that but not working.

          I think i didn’t have proper URL, like I used ES1 server but not able to access the services.

          Can i use GM6 or not, as u said it is internal system?

          (0) 
          1. Michal Keidar

            Hi Divya,

            I don’t know about the GM6 destination you’re trying to use. I know GM6 is internal SAP system. And anyway it’s not configured properly as there are no properties configured for example, and also the /sap/bc/adt should not be configured in the url but rather as a WebIDEUsage “dev_abap”.

            Regarding the demo system destination, if you don’t have anything written in the description, what do you see in the dropdown in the wizard?

            Please follow the blog above by Simmaco, it’s written very well and it should get you working.

            Regards,

            Michal.

            (0) 
            1. Divya Joshi

              hi,

              Thank you so much for your help.

              I tried to follow the above steps but still the same error.

              May be because of not able to register to the public GW server as mentioned above.

              It shows the following error.signup_form.PNG

              (0) 
                1. Divya Joshi

                  when i clicked on the sign up form link it shows reset user and asked to reset the password.

                  i tried to reset the password but then shows the system down error.

                  (0) 
  7. Phanindra Annaparthi

    Hi All,

    I was able to connect to my SAP NW gateway system through SAP Cloud but not from Local installation. My SAP system has SSO and without SSO. It gives me error when i connect through Local installation “Unable to access the selected system. check your credentials and try again.” Can i know what i am missing ?

    #ServiceDestination

    Description=MX Gateway

    Type=HTTP

    TrustAll=True

    Authentication=NoAuthentication

    Name=MX

    ProxyType=OnPremise

    URL=https://XXXXXXXXXX:8000

    WebIDEUsage=odata_abap,dev_abap,ui5_execute_abap

    WebIDEEnabled=True

    WebIDESystem=MX

    (0) 
        1. Michal Keidar

          Are you able to access the CATALOGSERVICE of your backend from the browser?

          If so please attach a screen shot of your configured destination in the cockpit and cloud connector, or in the file system if you’re using Web IDE local.

          Regards,
          Michal.

          (0) 
          1. Saurabha Joglekar

            I am able to use the Service Catalog when I use WebIDE Local.

            But when I use the same settings in destination for cockpit online. It is showing me error.

            Is this possible or am I following the wrong leads ?

            (0) 
              1. Saurabha Joglekar

                Hi,

                Check the screenshot of cockpit…

                I am not sure about the cloud connector. My assumption is my URL is publicly available so like Northwind; I should be able to access it.

                Please correct me if I am wrong.

                (0) 
                  1. Saurabha Joglekar

                    Hi Michal,

                    Thanks a lot for the help, I am now able to connect.

                    Can you please provide me with a link to configure a MMD(Master Master Detail) app in fiori ? That would be really helpful.

                    (0) 
      1. Phanindra Annaparthi

        HI Michal,

        Sorry for late reply.

        We have two gateway systems (Dev and Sandbox). In Dev system when i goto SICF and try to test ADT services it says /sap/bc/adt resource does not exist.This is upgraded and latest version. It doesnt ask my userid and pwd. I have both SSO and without SSO for this system.

        In my another sandbox system when i try to test same ADT service /sap/bc/adt it asks for a userid and pwd then when i enter those details it doesnt display any services.

        I can connect my dev and sandbox through Cloud connector but i have done local installation of web IDE and trying to connect. I am able to connect successsfully to Sandbox from Local installation but not into Development system.

        What settings i need to check in my Dev system so that it will ask me for userid and pwd when i try to test the /sap/bc/adt service.

        (0) 
    1. Michael Appleby

      Please create a new Discussion marked as a Question.  The Comments section of a Blog (or Document) is not the right vehicle for asking questions as the results are not easily searchable.  Once your issue is solved, a Discussion with the solution (and marked with Correct Answer) makes the results visible to others experiencing a similar problem.  If a blog or document is related, put in a link.  Read the Getting Started documents (link at the top right) including the Rules of Engagement. 

      NOTE: Getting the link is easy enough for both the author and Blog.  Simply MouseOver the item, Right Click, and select Copy Shortcut.  Paste it into your Discussion.  You can also click on the url after pasting.  Click on the A to expand the options and select T (on the right) to Auto-Title the url.

      Thanks, Mike (Moderator)

      SAP Technology RIG

      (0) 
  8. khushbu Agarwal

    Hi Experts,

    I followed above mentioned steps and created my destination connection.But when I am selecting my connection for my new project , its prompting for login password. I am giving id password of SAP GAteway WEbui , But its not connecting.Please help.

    (0) 
  9. Tjarliman Rusadi

    Hi Claudia,

    I have followed what you mentioned above, but I have issue when trying to test the connection. The error says “PEER NOT AUTHENTICATED”.

    Here is the screen shot of my destination.destination_error.PNG

    Really appreciate your suggestion on this.

    Regards,

    Tj

    (0) 

Leave a Reply