Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

System Connection's list empty

Former Member
0 Kudos
2,961

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

1 ACCEPTED SOLUTION

schneidermic0
Advisor
Advisor
0 Kudos
673

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?

14 REPLIES 14

schneidermic0
Advisor
Advisor
0 Kudos
674

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?

0 Kudos
673

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

0 Kudos
673

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

0 Kudos
673

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

0 Kudos
673

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

0 Kudos
673

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.

0 Kudos
673

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?

  1. Put the saplogon.ini file at the location you prefer in your file system.
  2. Let the environment variable point to this location
  3. Restart your PC to really ensure that the environment variable is considered by Eclipse
  4. Test it

Thanks, Michael

0 Kudos
673

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

0 Kudos
673

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

0 Kudos
673

Hi Micheal,

Yes, this is the exact same error which I am getting.

Regards,

Thanu

0 Kudos
673

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

0 Kudos
673

Hello Micheal,

There are only few environment variables with patter and then are OK. Also there is no variable with JAVA_HOME.

Regards,

Thanu

0 Kudos
673

Hello Micheal,

Once I set the JAVA_HOME the list is populated.

Thank you for the support.

Regards,

Thanu

0 Kudos
673

Hello Micheal,

Once I set the JAVA_HOME the list is populated.

Thank you for the support.

Regards,

Thanu