How to install SAP Mobile Platform Tools for Integration Gateway in Eclipse IDE
Hi All,
<<Update : SMP Tools plugin version 1.7.1 has been released with latest release of SMP 3.0 SP11 server but in Eclipse MARS>>
Fresh Installation
Integration Gateway plugins support for Eclipse LUNA/Kepler is no more there.
So what is next? Now, SAP has come up with new SAP Mobile Platform tools in Eclipse MARS. How to add it?
Steps:
- Make sure you have downloaded and installed latest Java (JDK or JRE – 32 bit/64 bit based on your OS configuration)
Java-Downloads für alle Betriebssysteme
2. Download and extract latest Eclipse MARS Eclipse IDE for Java EE Developers | Packages
Note: If you are accessing external URL using any proxy server, make sure to set those settings in eclipse kepler as well. Check “How to resolve this issue?” section in this blog. Do it for both HTTP & HTTPS.
3. Start Eclipse > Help>Install New Software
-
- Add this URL SAP Development Tools for Eclipse – Mars Software Repository
- Select “SAP Mobile Platform Tools”
- Click on “Next”
Note: Check SAP Development Tools for Eclipse for more info
-
- Accept License Agreement, Click on “Finish“
-
- Restart the eclipse.
4. Go to Preferences>SAP Mobile Platform Tools
-
- Provide valid SMP 3.0 server URL (https://smpserverip:port), SMP admin credentials
- Test Connection
Note:
1. To Crate a OData project, select File>New>SAP Mobile Platform OData Implementation Project
2. Select Model content as required:
Tips
1. While setting up SMP server settings in Preferences, If i pass URL as https://smpserverIPAddress:8083 (even SMP server complete host name) it gives an error saying “Error during processing request on Operations server“.
Resolution:
Seems network proxy issue. Make sure to change proxy settings under Windows>Preferences>Network Connections How to bypass proxy settings in SMP workspace for connecting any public Web Service within corporate Network
2.. If a project name is like “ICRA_V1.1” then you can not deploy it to SMP server (SP03 PL02). As it says ”
Special Characters are not allowed in the Name“. But if i replace 1.1 as 11, it works.
Note: This issue has been resolved in latest release of SMP 3.0 SP04 PL01
Update Plugins
How to update SMP Tools Plugins: Help menu>Install New Update
Reference Videos: (By Bjoern Woppmann Product Manager for SAP Gateway)
Video 1: Introduction to SAP Mobile Platform Tools
Videos 2 – 6:
- Install the SMP Tools (2:16)
- Create a new OData Implementation Project (3:03)
- Important an existing (GWPA) Project (2:17)
- Leverage Usability Improvements (2:19)
- Custom Coding using JS and Groovy (8:30)
Reference Documents:
Online: SAP HANA Cloud Documentation
Offline : Eclipse Kepler Help menu > Help contents
Hope you will find it useful.
Regards,
JK (@jkkansal1987)
Dear Jitendra,
Are you able to access this port from your command prompt.
Can you try to do a telnet to that ip on port 8083.
This could be a network issue as well.
Regards,
Rakshit Doshi
yes very much. As that ip is my machine ip only. ( SMP server is installed locally on this machine)
Dear Jitendra,
If its a local machine, why re you enter in the IP 10.23.1.2..Try using 127.0.0.1 or 10.0.2.2 or 10.0.0.2.
Check if this helps.
Thanks,
Best Regards,
Rakshit Doshi
Rakshit Doshi
But if SMP server is installed on some other machine and i want to access it from my machine (in Eclipse Kepler) then in this case it is not working.
Rgrds,
JK
Dear Jitendra,
If the network is good, as Rakshit says, it could be it is still likely that Eclipse cannot access the server.
Please check your network settings in Eclipse.
Window -> Preferences -> Network connections. Check Active provider is right. (I have Manual)
Try adding the IP to proxy bypass list in the same preference page, to isolate any proxy issue.
Which JRE you are using to start eclipse. If less than JRE 7, try using JRE 7.
Regards,
Om
Om Band
Eclipse Kepler is installed on the same machine where SMP server is installed. Same thing is working in Eclipse JUNO.
I have checked the proxy connections as well and tried adding IP to proxy bypass list.
I am using JRE7 only.
Rgrds,
JK
EXactly. Configure the proxy settings and you are good to go
Thanks guys Rakshit Doshi Om BandRakshit Doshi
It was indeed proxy issues. Removed Issue #2 and moved it to Tips #1 😉
Rgrds,
JK
Yeh toh aapka baddhapan hai sardar 🙂
I have just one question. Can I install this even without eclipse Juno?
Yes, thats what the post also says..you can install it on kepler 🙂
Hello I have problem with connect to SMP server see screenshot.
When I used this account by browser and it works! I used LDAP autentification....
Could anybody help?
Thanks Jan
Jan Rychtar
Did you try with smp server ip address as well? Did it not work?
Rgrds
JK
Of course I tried with IP address, reason was same :-(.
When I try smpAdmin user it works! => problem is in LDAP authentification...
I must find correct role for LDAP.
smpAdmin has these kind of roles
Administrator,Notification User
Dear Jan,
For logging in to the SAP Management cockpit you will require an Administrator account, which by default is the smpAdmin. LDAP Authentication which you are speaking about will be used for authenticating the client devices viz the mobile devices with the SMP Server via LDAP. LDAP Credentials will not allow you to log into the management console or access the SMP address from the eclipse window.
Hope this helps.
Thanks,
Rakshit Doshi
Nice Blog!
Hi Jitendra,
I have followed the steps in your blog to install SMP tools in eclipse. We do not have a SMP server, I just want to be able to access odata service from our gateway server - so I have setup the connection using "Service catalogs" under preferences->SAP Mobile Platform Tools. I am using sapes1 public server.
I have a couple issues :
1) I do not see this "File>New>SAP Mobile Platform OData Implementation Project" option in my eclipse. I do see the wizard for SMP when I go into File -> New->Project as in screen shot below :
Note: here I do not see the oData model option in your screen shots..
2)
I want to create an application using an existing oData model but only options I see in the wizard is to create model. Not sure what am I missing. Can you point me to some documentation on how to use this tool ?
Thanks
Kalpana
Kalpana Tyagi
Go to Window menu>Open perspective>OData
Then you will be able to see that option.
If you want to work with existing OData model, you can create below highlighted option.I hope this makes sense.
Regards,
JK
Thanks Jitendra. I did use the Existing oData Model option, in the next step it was not able to list the odata from the backend (SAPES1 server) :
Kalpana Tyagi
"Existing Odata model" is for using any existing .odata file present in existing projects. If you got OData Metadata File/Odata service URL from your backend, you can select accordingly.
Look at step#2 SMP 3.0: An End to End guide to create an OData service for a given SAP Gateway data source
Regards,
JK
Updated for SMP Runtime SMP 3.0 SP05
Does SAP Mobile Platform SDK SP05 include SMP runtime?
Thanks
shsn shsn
Both are separate installation binaries. You can check it at SAP service market place:
A- Z Index | SAP Support Portal > SAP MOBILE PLATFORM
Regards,
JK
Updated for SMP 3.0 SP06 Runtime.
Latest SAP Mobile Platform Tools version is 1.3.1
Updated for SMP 3.0 SP07 Runtime.
Latest SAP Mobile Platform Tools version is 1.4.1
An update: SMP Tools plugin version 1.5.1 has been released with latest release of SMP 3.0 SP08 server but in Eclipse LUNA
Updated for latest plugin version 1.5.2
Updated for latest plugin version 1.6.1
current SMP3 server: 3.0 SP09
Updated for latest plugin version 1.6.2
applicable for SMP 3.0 SP09 and higher version
Updated for latest plugin version 1.7.1 and with Eclipse MARS
applicable for SMP 3.0 SP09 and higher version
Hello Jitendra,
I am following your blogs and they are so informative. Based on your blogs I want to try and create simple app for android. Is it possible to create simple app like display employee details consuming Odata service from SAP Net weaver Gateway system? I don't have SMP in our landscape. But when I try to create mobile application project from Eclipse Mars it is asking me to enter SMP Run time server. Please help me on this.
Appreciate your help.
i have create project in SMP and choose service catalogue oData“File>New>SAP Mobile Platform OData Implementation Project” how can run this application plz help
i have create project in SMP and choose service catalogue oData“File>New>SAP Mobile Platform OData Implementation Project" how can run this application plz anyone help me