Application Development and Automation 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: 

Working with ABAP in Eclipse using Mac OS X

Former Member
0 Kudos
985

Hi everyone,

I'm trying to work with ABAP in Eclipse under Mac OS X 10.7. I'm already using SAPGUI Java. After setting up eclipse and installing all required packages, eclipse seems to have a problem with the connection setting I defined for SAP Logon.

When trying to setup a new ABAP Project in eclipse, I get the following error:

I know that the files containing the connection settings for the different SAP Systems has a different notation on Mac and Windows, but even using the Windows file (saplogon.ini) results in the same error.

Is anyone running a combination of ABAP in Eclipse + Mac OSX + SAPGUI Java and can give me hints on how to solve this error? Or is this combination currently not supported? Using SAPGUI and ABAP in Eclipse on my virtual machine works fine.

Thanks for your help

1 ACCEPTED SOLUTION

Former Member
0 Kudos
505

I fixed the problem.

Somehow the connections.txt was corrupted. I deleted the file and added all connections manually in the SAPLogon Manager. After that, I was abel to connect.

Thanks for your help,

Christoph

8 REPLIES 8

gregorw
SAP Mentor
SAP Mentor
0 Kudos
505

Dear Christoph,

I'm running AiE on my Mac together with the JavaGUI without problems. What JavaGUI version do you have installed? I'm using 7.20rev9.

Best regards

Gregor

Former Member
0 Kudos
505

Hi Gregor,

I was running 7.20 rev 8, updated to 7.30. But still the error persists.

Best regards,

Christoph

0 Kudos
505

Can you post the content of the connection.txt file?

Former Member
0 Kudos
505

MoBi@Bitech:conn=/H/192.168.0.8/H/192.168.10.1/H/sapper/S/3214&expert=true

0 Kudos
505

I would think that it could be a problem with the @ sign. Can you try to replace:

MoBi@Bitech

with something like:

<SYSID> <Description>

Former Member
0 Kudos
505

Removing the @ does not effect the error. Would it be possible that you post your connection settings?

Former Member
0 Kudos
506

I fixed the problem.

Somehow the connections.txt was corrupted. I deleted the file and added all connections manually in the SAPLogon Manager. After that, I was abel to connect.

Thanks for your help,

Christoph

0 Kudos
505

Hello Christoph,


Where is connections.txt file ?

I can see all the files related to inside /Users/<my user name>/Library/Preferences/SAP which are:


Directories:

  • Cache
  • traces


Files:

  • messageserver.xml
  • SAPGUILandscape.xml
  • sapgui.registry
  • applications
  • settings
  • externalCommands
  • settings_backup_11_06_15
  • globs
  • messageserver.txt
  • trustClassification

When i sync with eclipse i get an error message as :

Could not initialize class com.sap.platin.embed.EmbeddedGuiFactory$InstanceSingleton

Thanks in advance for help.

-Regards

Ajay