2012 Dec 06 11:16 AM
Hello Experts,
I have installed ADT with following setup:
Eclipse Indigo : Version: 3.7.2
All the necessary packages have been installed
ADT : Support Package SAP ABAP IN ECLIPSE 2.0 # OS independent
SAP GUI 703
Java : java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
The connections which are listed in my LogOn Pad are not visible in the Connection list in Eclipse. Is there any additional configuration required?
Regards,
Thanu
2012 Dec 07 8:44 AM
How is your SAP Logon configured? You can check this by starting "SAP GUI Configuration". There go to the settings "SAP Logon Options"->"Local Configuration Files" or "SAP Logon Options"->"Server Configuration Files".
If you used a configuration using a server, this wouldn't be supported, currently (unfortunately ).
If you use a local configuration, can you just tell us, how your configuration is set up?
2012 Dec 07 8:44 AM
How is your SAP Logon configured? You can check this by starting "SAP GUI Configuration". There go to the settings "SAP Logon Options"->"Local Configuration Files" or "SAP Logon Options"->"Server Configuration Files".
If you used a configuration using a server, this wouldn't be supported, currently (unfortunately ).
If you use a local configuration, can you just tell us, how your configuration is set up?
2012 Dec 07 11:14 AM
Thank you Michael for the reply.
It does use local file. Hope this helps.
[Router]
Item720=
[Router2]
Item720=
[RouterChoice]
Item720=0
[Server]
Item720=xxxxxxx.xxxx.xxxx.xxxx
[Database]
Item720=10
[System]
Item720=3
[Description]
Item720=xxx
[Address]
Item720=
[MSSysName]
Item720=xxx
[MSSrvName]
Item720=
[Origin]
Item720=USEREDIT
[SncName]
Item720=
[SncChoice]
Item720=-1
[Codepage]
Item720=1100
[CodepageIndex]
Item720=-1
[MSSrvPort]
Item720=
[LowSpeedConnection]
Item720=0
[Utf8Off]
Item720=0
[EntryKey]
Item720=
[EncodingID]
Item720=DEFAULT_NON_UC
[ShortcutType]
Item720=0
[ShortcutString]
Item720=
[ShortcutTo]
Item720=
[ShortcutBy]
Item720=
[Configuration]
[SessManKey]
Item720=-1
[MSLast]
[SncNoSSO]
Item720=0
2012 Dec 07 12:49 PM
Thank you Thanu for the information.
Could you also provide the information where the saplogon.ini file is located and whether you used the environment variable SAPLOGON_INI_FILE to specify a custom location?
All information can be found in the SAP GUI Configuration as mentioned above.
Thanks!
Michael
2012 Dec 10 4:21 AM
Hello Michael,
The file is located in the folder C:\daten\sap and SAPLOGON_INI_FILE is being used. The path set in the environment variable is C:\daten\sap\saplogon.ini.
Thanks.
Thanu
2012 Dec 12 4:19 PM
Hi Thanu,
I am sorry about the late response. I have just tried to reproduce the issue locally with my installation. If I configure my SAP GUI in the way you described, the connctions won't be found.
We'll try to analyze it in more detail. I'll keep you informed.
In the mean time you can just copy the FILE saplogon.ini to a standard location (e.g., in the folder of your Eclipse-installation) so that you can at least test the new ABAP development tools. I hope this helps.
Michael
2012 Dec 13 9:50 AM
Hello Michael,
Thank you for the reply. As mentioned by you I had copied the file to the eclipse folder and configured the environment variable. Still connections are empty.
Thanu.
2012 Dec 13 2:55 PM
Hi Thanu,
we just played around and figured out that the saplogon.ini in my case was not found because some processes were still running that did not consider the changed environment variable (SAPLOGON_INI_FILE).
Can you try to do the following?
Thanks, Michael
2012 Dec 18 10:12 AM
Hello Michael,
Even after copying the logon file to a different location, setting the environment variable and restarting the connection list is still empty. Is there any configuration that need to be done at eclipse.
Regards,
Thanu
2012 Dec 21 8:58 AM
Hi Thanu,
Does the Error Log view list the following error when you open the list?
Plug-in "com.sap.adt.destinations.model" was unable to instantiate class "com.sap.adt.destinations.model.home.internal.config.SAPLogonPadConfigReaderInternal".
java.lang.StringIndexOutOfBoundsException: String index out of range: 73
at java.lang.String.charAt(Unknown Source)
at java.util.regex.Matcher.appendReplacement(Unknown Source)
at java.util.regex.Matcher.replaceAll(Unknown Source)
at java.lang.String.replaceAll(Unknown Source)
at com.sap.adt.destinations.model.internal.config.SAPLogonPadConfigReader.getEnvVariables(SAPLogonPadConfigReader.java:147)
at com.sap.adt.destinations.model.internal.config.SAPLogonPadConfigReader.<init>(SAPLogonPadConfigReader.java:94)
at com.sap.adt.destinations.model.home.internal.config.SAPLogonPadConfigReaderInternal.<init>(SAPLogonPadConfigReaderInternal.java:31)
...
You can open the error log using Quick Access (Ctrl+3) and searching for the view "Error Log".
If the errpr log shows not this but any other errors, please post them or attach them to an OSS ticket.
Thanks,
Michael
2012 Dec 24 6:46 AM
Hi Micheal,
Yes, this is the exact same error which I am getting.
Regards,
Thanu
2013 Jan 02 7:42 AM
Hi Thanu,
then it seems that you have registered some environment variables using the pattern %<variable_name>% like %JAVA_HOME%.
Could you check their spelling? Is it for all variables the same spelling (case-sensitive!)? If not, you could try to adapt your environment variables.
Best regards,
Michael
2013 Jan 09 11:28 AM
Hello Micheal,
There are only few environment variables with patter and then are OK. Also there is no variable with JAVA_HOME.
Regards,
Thanu
2013 Jan 11 6:39 AM
Hello Micheal,
Once I set the JAVA_HOME the list is populated.
Thank you for the support.
Regards,
Thanu
2013 Jan 11 6:39 AM
Hello Micheal,
Once I set the JAVA_HOME the list is populated.
Thank you for the support.
Regards,
Thanu