How to configure an external GW system with SAP Web IDE
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:
There are some things which you need to pay special attention to:
- 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.
- do not forget to use the new names (WebIDEEnabled,WebIDESystem,WebIDEUsage) for the Additional Properties since the old ones have been deprecated;
- 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:
- Select Service Catalog
- Browse for the new destination you have created, in this case it’s es4
- Select the service you want to use (in this case RMTSAMPLEFLIGHT)
- Click on Next
After this, the process continues as usual.
That’s all!
hi ,
i want to add an external OData endpoint url in my destinations list, for instance http://services.odata.org/V3/Northwind/Northwind.svc/
Which properties must be filled ? I have set the RDEEnabled to true.
And is this already possible in RDE ? I cannot see the new destination in RDE
gr
Hans
Hi Hans,
please check this!
How to use Northwind OData service with SAP River RDE
Regards,
Simmaco
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
Hi Pedram,
Try adding an additional usage called dev_abap.
Thanks,
Michal.
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?
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?
here I can link you my current troubles.
https://answers.sap.com/questions/172763/fiori-application-odata-service-binding.html
This is currently the state of affairs. I know a lot of people who have trouble regarding this particular issue. A lot of people want to use Webide, but cannot for a combination of reasons.
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?
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
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
Hi Pedram,
for Fiori extensibility you can check the Extend page at "SAP Web IDE - Enablement" . There, I'm sure you can find all the information you require.
Regards,
Simmaco
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 🙂
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
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
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
Yes I did it with the Remote option and it is now working fine.
Thanks,
Warm Regards
Hemendra
Hi Hemendra, can You help me please, I want to connect my own on-premise system to SAP Web IDE like You did it, do you have a guide for this?.
Thanks in advanced
Rommel
Hi,
Where is data connection page i dont find can you help me?
Thanks.
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
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
Hello Mr. Eli,
could you please attach here a screen shot of your destination? Are you working on the Trial Landscape?
Regards,
Simmaco
Hi Simmaco
As requested see screenshots below
Thank you
Hi, since you want to use the HTTPS protocol, could you try to configure your destination in the following way?
And also flag the "Use default JDK truststore" checkbox.
Regards,
Simmaco
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
Hi,
you might need to use the SAP HANA Cloud Connector tool.
I'd suggest you to give a look to the following tutorial and in particular to the Part 2:
Setup your SAP Web IDE on HANA Cloud Platform Part 1
Regards,
Simmaco
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
Hi,
unfortunately, as far as I know, only 64bit machines are supported.
Regards,
Simmaco
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
Getting the following error
Destination Details
Ok this is working, maybe it was a refresh issue....
hi bobu,
Even i have the same error. How did you solved it/
please help.
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.
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.
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
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?
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.
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.
What do you mean you can't register? Have you created a user for this system?
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.
Perhaps you can send them an email describing the problem..
okay. Thank you for the suggestion.
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
Does your 8000 port matches the https?
Can you specify what is written in the network trace and console log of your browser?
Hi Michal,
I am facing similar issues like Phanindra.
Here is the console log. I am unable to understand.
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.
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 ?
I need to see how you configured your destination in the cockpit and cloud connector
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.
When connecting backend systems you should use cloud connector..
See this blog for more info:
Setup your SAP Web IDE on HANA Cloud Platform Part 2
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.
Hi,
I haven't found any specific link regarding the Master Master Detail template.
Perhaps this can be of help: SAP Web IDE - Quickstart
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.
Hi,
getting the below error while accessing the http://sapes1.sapdevcenter.com:8080 through destination ES1
Http/1.1 Service Unavailable
Any help regarding this would helpful.
Regards,
Bharani
The service seems to be down today: I've exactly the same problem! 🙁
Dear all,
can you tell how can we connect the netweaver system
with SAProuter string in SAP WEB IDE.
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
The ES1 is now inactive, so here my config for the ES4 system:
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.
See one comment above yours, it seems that ES1 system is inactive. You should use system ES4 instead.
If you don't have a user yet, you can get one here:
http://scn.sap.com/docs/DOC-40986
Nice blog, I liked it..
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.
Really appreciate your suggestion on this.
Regards,
Tj
Hi Simmaco,
using Web ide I am using Es4 https://sapes4.sapdevcenter.com/. For this ES4 system I have followed the steps but it's asking for authentication user id and password,I am giving my p*** but not able to login ,could you please help on this.
Appreciate your help on this..
Thank you ,
Dharma
Simmaco,
Are there similar steps for connecting to an on-premise backend server from Web IDE local installation?
Thanks,
Michael