‎2013 Nov 09 12:20 PM
Hi,
Mac OS X (Lion), Java GUI 7.30, Eclipse Kepler with ADT. I do have a properly working entry in SAPGUI / Java for my HANA Trial but when I want to connect with Eclipse I have to choose one of the entries in my Java GUI and Eclipse does complain that there is no message server. But for HANA trial I don't need a message server (and - for good reasons - I don't have one ).
Why does that work in JAVAGUI and not in Eclipse?
connections file:
############################################################
#
# file : /Users/$HOME/Library/Preferences/SAP/connections
# created : 27.09.2013 14:23:56 MESZ
# encoding: UTF-8
#
############################################################
A4H:conn=/H/xxx.xxx.xxx.xxx/S/3200&clnt=001&user=DEVELOPER&lang=DE&expert=true
NPL:conn=/H/yyy.yyy.yyy.yyy/S/3200&clnt=001&user=DEVELOPER&lang=DE&expert=true
settings file:
############################################################
#
# file : /Users/$HOME/Library/Preferences/SAP/settings
# created : 06.11.2013 15:37:01 MEZ
# encoding: UTF-8
#
############################################################
@GLF_showDetailCol = "1"
@GLF_ColumnState = "0 / 75"
@logonFrame_2_X = "894"
@frameWidth = "632"
@frameHeight = "617"
@INCLUDE = "/Users/$HOME/Library/Preferences/SAP/connections"
‎2014 Feb 10 11:53 AM
‎2014 Feb 10 12:41 PM
‎2014 Feb 11 2:43 PM
I have used your suggestions re adding the @include and have managed to get to a point where I can connect to the Application Server through the Java client and i can browse the SAP GUi Java connections in Eclipse. Trouble is that it is not pulling the correct / all fields into the connection properties.
i.e. Instance number, SAPRouter, Server are blank.
‎2014 Feb 11 2:55 PM
could you send me your connections- and settings-file? I can not input a server name in field "System".... you can anonymize ip addresses, of course.
mail address ralf.wenzel@heuristika.de
Thanks in advance
Edit: The problem ist still UNSOLVED..... I know, what a message server does, but I need a configuration for the Cloud-Appliance-Thing, where I only have one server - the application server.
Please! I cannot believe that there is noone other with a mac, trying to run JavaGUI on (HANA) Cloud Appliance Server....
‎2014 Mar 26 10:58 AM
I have had the same problem that Eclipse was not showing up my connections (Mac OS X 10.9.2 with Kepler). After inserting a message server and router include like this
@MESSAGESERVER = /Users/$HOME/Library/Preferences/SAP/messageservers.txt
@ROUTER = /Users/$HOME/Library/Preferences/SAP/routers.txt
and some editing back and force it works finally 🙂 The message server include has my hosts entries. I have found at least one system with a message server port 36xx. After this I have created an new entry within the SAPGUI and suddenly all my many connections (without message server and defined with conn=-String) were available within Eclipse.
Now I am facing the next problem that the SAPGUI Java is not found by Eclipse! 😞 It is needed for Dictionary access and debugging...
‎2014 Mar 27 5:42 PM
It is even more simple, described in OSS note 1953375. An empty file messageserver.txt will help.
‎2014 Mar 27 6:30 PM
OMG - I have:
* An empty messageserver.txt
* an empty routers.txt
* a settings-file like this:
@GLF_showDetailCol = "1"
@GLF_ColumnState = "0 / 75"
@logonFrame_2_X = "185"
@logonFrame_2_Y = "44"
@frameWidth = "1082"
@frameHeight = "749"
@overwrite = "false"
@INCLUDE = "file:///Users/ralf/Library/Preferences/SAP/connections"
@MESSAGESERVER = file:///Users/ralf/Library/Preferences/SAP/messageserver.txt
* a connections-file like this:
A4H:conn=/H/xxx.xxx.xxx.xxx/S/3299&clnt=001&user=DEVELOPER&pass=zzzzzzzzz&lang=DE&system_name=A4H
NPL:conn=/H/xxx.xxx.xxx.xxx/S/3200&clnt=001&user=DEVELOPER&pass=zzzzzzzzz&lang=DE0&expert=true
xxx.xxx.xxx.xxx = IP-Adress of my SAP Cloud Appliance
zzzzzzzzzz = password
This does not work and I don't know why.... :-(((
JavaGUI: Works
Eclipse: "Logon to system NPL failed (Connection to system "NPL" is currently not available)" - even if I logged in via JavaGUI
‎2014 Apr 04 9:55 AM
Hi Ralf,
now I have the same problem with a different system . I seems that actually the sap router info is ignored by ADT. It doesn't matter how it is specified (directly with conn= and/or a separate router entry).
We should open an OSS note.
‎2014 Apr 04 10:39 AM
‎2014 Apr 08 4:42 PM
‎2014 Apr 09 7:03 AM
Hi Andreas,
I just discussed the topic with the Development Team. Issue is known and will be fixed with the next patch of ADT version 2.24.
Short outlook: We are working on a solution to define the SAP System connection directly in eclipse so that we don't have the dependency to the SAP GUI anymore. Hope this will overcome all the issues we have especially with Java GUI.
Sorry for that,
Regards,
Thomas.
‎2014 Apr 22 3:27 PM
HI @all,
I'm facing the same issue but I have a work a round for this...
here my files:
Connections:
XYZ CRM:conn=/H/<IP>/S/32<Instancenumber>&clnt=<client>&user=<user>&lang=DE&systemName=XYZ
Message.txt
XYZ:/M/<IP>/S/36<Instancenumber>
make sure that the settings - file points the message.txt ( SAP GUI -> Preferences -> Configuration - logon )
@INCLUDE = "/Users/<USER>/Library/Preferences/SAP/connections"
@MESSAGESERVER = "file:///Users/<USER>/Library/Preferences/SAP/message.txt"
The message.txt I have to create manually.
Now it works for me....
kind regards
Micha
‎2014 Apr 22 4:02 PM
Hi Micha,
this will not work if your connection is depending to a sap router! (port 3299) Simple connections will work if a dummy message server file is existing.
Regards Andreas
‎2014 Apr 24 11:00 AM
Hi Thomas,
is it possible to get a hot fix in the near future? Without the sap router parameter "ABAP in Eclipse" is unusable for many systems.
Best regards
Andreas
‎2014 Apr 24 11:20 AM
Hi Andreas,
the patch (2.24.2) providing the required correction has been release on the Service Market Place on Monday. We are about the release it on the Update Site too.
Best Regards
Felix
‎2014 Apr 24 12:48 PM
Hello Felix,
many thanks for the quick response. I have updated to 2.24.2 now. But after that the ADT does not work any more (even the systems without sap router). I have tried than to remove all ADT stuff and reinstall it again without any positive affect. Then I have removed the previously working projects. The problem persists without any existing project. I will now go back to 2.24.1 losing my working project settings. Please advice.
Regards
Andreas
From the trace:
java.lang.NoClassDefFoundError: com/sap/adt/sapgui/embedding/AdtEmbeddedGuiFactory
at com.sap.adt.destinations.model.internal.config.SAPJavaGuiLogonConfigReader.getSystemConfigurations(SAPJavaGuiLogonConfigReader.java:84)
at com.sap.adt.destinations.model.config.SystemConfigurationService.getSystemConfigurations(SystemConfigurationService.java:87)
at com.sap.adt.project.ui.wizard.NewAdtCoreProjectWizardBase.init(NewAdtCoreProjectWizardBase.java:62)
at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:118)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
Update:
With old ADT 2.24.1 systems without sap router work again.
‎2014 Apr 24 4:00 PM
Hi Andreas,
it looks like the Plug-in containing the actual correction has been marked/packaged with a wrong version number, which leads to an inconsistent installation. We are about to correct that and release a new patch.
We will inform you, once the new patch is available.
Update: April 25th
Patch 2.24.3 is available and solves the inconsistent packaging issue. So you can test the correction for the a router in the connection string.
Best Regards
Felix
‎2014 Apr 25 9:32 PM
Hi Felix,
Patch 2.24.3 is working again like 2.24.1. Now a router string like /H/xx.xx.xx.xx/S/3299 is shown in config screen but it is not working at all. The SAPGUI JAVA works with this entry without any problems. I am sorry but the problem is not solved .
Best regards
Andreas
‎2014 Apr 28 10:09 AM
Hi Felix,
It seems that Patch 2.24.3 has a new bug. The connection entry name ist now used for system ID too. Because of this mismatch the debugger is not working any more.
Update:
There is a workaround using &systemName=XXX
New Bug: Connections with specified message server does not work any more. Value is ignored (field is empty).
Best regards
Andreas
‎2014 Apr 28 11:11 AM
Hi Andreas
answered also via CSS requesting support information collector file.
In your recent posting you state that the debugger is not working, so I assume the connection the backend via router now works (at least)?
Best regards
Jörg
‎2014 Apr 28 11:29 AM
Hi Jörg,
I am sorry but it does not work. The router value appears now at the screen but there is no connection.
The debugger problem occurs (New with 2.24.3 only) with a different system without a router spec. if you create new project without using &systemName=XXX. Then the system name is equal to connection name and the debugger has name mismatch!.
Best regards
Andreas
‎2014 Apr 28 11:47 PM
Hi Andreas,
what if you don't use "&systemName=XXX" but rename your connection in a way that the first three letters are the system ID.
BR, Rainer
‎2014 Apr 28 11:57 PM
Hi Felix,
the problem about ignoring the router string does not effect solely the ABAP tools but also others.
For instance, if I try to connect to a SAP repository via Team->Share in order to get the current state of an UI5 project, eclipse is ignoring the router string.
This is even more irritating than the bug in the ABAP tools! While I can develop ABAP using the JAVA GUI but there is no way to develop UI5 outside the SE80.
System that need a router string cannot be used in eclipse by now.
BR,
Rainer
‎2014 Apr 29 12:00 AM
Hi Rainer,
this could work but I have up to 15 system with my customers, some with up to 5 clients. This is not my preferred solution!
Best regards
Andreas
‎2014 Jun 07 8:14 PM
I updated to ADT 2.24.5 and now it's working.
Moreover I updated the UI5 tools to the new version 1.20.7 and now it's possible to connect to the repository.
So I'm happy.
BR, Rainer
‎2015 Apr 30 8:11 AM
Sorry to bring this old post up. But im not getting my eclipse to get connected to my SAP Netweaver ABAP system.
In eclipse it just shows an empty window like this:
is here any expert who can guide me how to get the fields filled up correctly? Because when i now try to logon to this system it says "Parameter ("ashost") is missing".
Thanks for your Help!
‎2015 Apr 30 8:17 AM
Hi Sascha,
in your screenshot the field for application server (ashost) is empty.
Please enter the IP or the name of the server. have a look at your SAPLogon.
Good luck,
Rainer
‎2015 Apr 30 8:26 AM
Well,
actually there is my Problem.. i connect through SAPGUI Java via Expert Mode, the Connection String looks like this:
conn=/H/saprouterIP/H/applicationserverIP&systemName=E01
When i try to fill the connection via the normal Settings my System-Tab is empty. And i don't really get it how to fill this correct.
Can you guide me how to achieve this? I switched from Windows to Mac and on Windows it was so easy but on Mac this configuration blows my mind.
Thanks for your fast response!
Sascha
‎2015 Apr 30 8:35 AM
Hi,
if conn=/H/saprouterIP/H/applicationserverIP&systemName=E01 is your router string, then enter the following into the fields:
- SAProuter-String: /H/saprouterIP/H/
- Anwendungsserver: applicationserverIP
You must enter something into "Instanznummer". Try 00.
Isn't there anything in your router string like/S/32xx...? Then xx is your instance number.
Good luck,
Rainer
‎2015 Apr 30 8:44 AM
The Fields are not ready for input. The fields are just coming from the SAPLogon Settings.
I know all the Details for the Server (Router IP, Application Server IP, Ports, Instance Numbers, etc.) but im unable to fill them correctly in the SAPGUI for Java. And Eclipse is reading this settings. 😕
‎2015 Apr 30 10:18 AM
Hi Sascha,
basically, the manual ABAP Project creation should normally enable you to start developing without having a proper SAP GUI system entry. However, the screenshot looks like you are using another functionality (header "Share Project") - maybe this re-use feature (UI5?) doesn't support this yet and you really need a SAP GUI entry.
Anyway, does the manual SAP GUI entry work if you try to logon to the backend directly? I'm asking because the manual string /H/saprouterIP/H/appServerIP&systemName=ABC looks like that the /S/ sections are missing (Rainer already mentioned it).
Please try to create the string in expert mode as follows:
conn=/H/<router_address>/S/<router_port>/H/<app_server_address>/S/<app_server_port>
Example:
conn=/H/my-router.company.de/S/3299/H/my-app-server.company.de/3200
If you don't need a router, just use a single combination of /H/ and /S/ entries. Please also refer to the SAP GUI for Java manual for the connection string.
As I don't need/have a router here, I could just test the single app server/port combination on my Mac here - ABAP Project creation was working fine with a single /H/-/S/ combination.
Best regards, Sebastian
‎2015 Apr 30 10:50 AM
Yes you are right, this window comes from UI5.
If I create an ABAP Project and maintain the entry manually it works perfect. But for an UI5 Project unfortunately i need the correct configuration in SAPLogon.
I tried your settings but after that i got Route Permission denied Error from the SAPRouter, with my Setting it works just fine in SAPGUI for Java.
Hm,.. to bad that no one has an idea
Best regards,
Sascha
‎2015 Apr 30 1:34 PM
Hi Sascha,
in this case, please open an OSS ticket to UI5 with an explanation of your issues - I'm sure they can help you out.
Best regards, Sebastian
‎2015 Apr 30 5:35 PM
Hi,
I just checked on my Linux system.
SAPLogon entry is "conn=/H/rz3.mycompany.com/S/3299/H/10.2.2.117/S/3280"
When I create a new ABAP-project the entries are imported correctly:
Application Server 10.2.2.117
Instance number 80
Router-String: /H/rz3.mycompany.com/S/3299
I use SAPGui 7.40 and Eclipse Luna
Maybe this helps.
Good luck!
‎2015 Jul 09 2:14 PM
Guys,
I really need help i want to connect to my company network then i want to use sap gui for Java.
please help me to add a connection
I have the following information:
System ID
Application server
Instance No
but I dont know our company router.
Please help me on how to set it up.
i will appreciate that