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: 

ADT + SAP GUI JAVA 7.40 with missing connections

joao_sousa2
Active Contributor
0 Kudos

Hello,

I installed from scratch Eclipse Luna and SAP GUI Java 7.4 (have 7.30 also installed) in Mac OS X Yosemite. ADT is update to latest version.

Now in Eclipse when I create a new ABAP project the connections are missing, although they exist in SAP GUI Java. It used to work with Kepler + 7.30, any clues about about is happening?

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Joao,

I had the same problem. I am also on Mac OS X Yosemite and I have the same version of Eclipse and SAP GUI. I got an error when I did the following:

  1. I went to Eclipse -> Preferences -> ABAP Development -> Trace Configuration. I switched on tracing for Destination Management, Repository Information Systems, SAP GUI Integration and Team Provider.
  2. I restarted Eclipse.
  3. I right-clicked on my project and went to Team -> Share Project...
  4. I selected SAP UI5 ABAP Repository. Click Next.
  5. Now you should see an error in the Error Log. It looks like this: "Error while parsing node <Service expert="1" mode="1" msid="" name="Agile IDS" server="xxx.xxx.xxx.xxx:3200" type="SAPGUI" uuid="6946be64-6574-4032-aca4-3ccd4d433cb4"/>"

Apparently they changed the way that SAP GUI stores connection configurations in version 7.40. The problem is that the 'msid' attribute of the node is expected to be a valid UUID. Here is how you workaround it:

  1. Navigate to "/Users/<your_user_name>/Library/Preferences/SAP" in Finder.
  2. You will see a file called "SAPGUILandscape.xml". Open it with a text editor.
  3. Copy the value of the 'uuid' attribute to the 'msid' attribute and change one or two of the numbers to different numbers just so that they are not the same. In my case the new connection string looks like this: <Service expert="1" mode="1" msid="6946be64-6574-4032-aca4-3ccd4d433cb6" name="Agile IDS" server="xxx.xxx.xxx.xxx:3200" type="SAPGUI" uuid="6946be64-6574-4032-aca4-3ccd4d433cb4"/>
  4. Repeat this for each of your connection strings.
  5. Save the file and restart Eclipse.

I am aware that my setup is very basic with only one connection and it was added through the GUI. I am not sure how this works with centrally managed configuration files.

Cheers,

Sebastian

3 REPLIES 3

former_member201346
Active Participant
0 Kudos

Hi Joao,

can you please activate the related tracing for further investigation?

The required steps are described in another thread.

http://scn.sap.com/message/15445776#15445776

Regards, Felix

Former Member
0 Kudos

Hi Joao,

I had the same problem. I am also on Mac OS X Yosemite and I have the same version of Eclipse and SAP GUI. I got an error when I did the following:

  1. I went to Eclipse -> Preferences -> ABAP Development -> Trace Configuration. I switched on tracing for Destination Management, Repository Information Systems, SAP GUI Integration and Team Provider.
  2. I restarted Eclipse.
  3. I right-clicked on my project and went to Team -> Share Project...
  4. I selected SAP UI5 ABAP Repository. Click Next.
  5. Now you should see an error in the Error Log. It looks like this: "Error while parsing node <Service expert="1" mode="1" msid="" name="Agile IDS" server="xxx.xxx.xxx.xxx:3200" type="SAPGUI" uuid="6946be64-6574-4032-aca4-3ccd4d433cb4"/>"

Apparently they changed the way that SAP GUI stores connection configurations in version 7.40. The problem is that the 'msid' attribute of the node is expected to be a valid UUID. Here is how you workaround it:

  1. Navigate to "/Users/<your_user_name>/Library/Preferences/SAP" in Finder.
  2. You will see a file called "SAPGUILandscape.xml". Open it with a text editor.
  3. Copy the value of the 'uuid' attribute to the 'msid' attribute and change one or two of the numbers to different numbers just so that they are not the same. In my case the new connection string looks like this: <Service expert="1" mode="1" msid="6946be64-6574-4032-aca4-3ccd4d433cb6" name="Agile IDS" server="xxx.xxx.xxx.xxx:3200" type="SAPGUI" uuid="6946be64-6574-4032-aca4-3ccd4d433cb4"/>
  4. Repeat this for each of your connection strings.
  5. Save the file and restart Eclipse.

I am aware that my setup is very basic with only one connection and it was added through the GUI. I am not sure how this works with centrally managed configuration files.

Cheers,

Sebastian

0 Kudos

Thanks, this fixed it. But seems like a bug, SAP GUI should convert the XML to the new format if AiE needs it.