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: 

mac: eclipse connection to s/4hana

former_member624584
Participant
0 Kudos
1,296

Hi guys,

I'm trying to switch to mac. I have sap gui for java up and running. I installed eclipse as well as the abap developer tools.
Unfortunately if I try to connect to a sap system in eclipse I receive the following error: Logon to system S9D failed (hostname 'Thorstens-MacBook-Pro.local.local' unknown.

Did somebody run in this error too? Where does eclipse get the hostname from the system (it is literally my computername and not the name/address of the sap system)?

Cheers,
Thorsten

1 ACCEPTED SOLUTION

former_member624584
Participant
0 Kudos
1,045

I had to adjust the file /etc/hosts. Within the sap community I found several possible solutions.

In my case it worked to change the name of the first entry to Thorstens-MacBook-Pro.local.local. Hence my first entry look like this: 127.0.0.1 Thorstens-MacBook-Pro.local.local

Also I added the IP-Address and the name of the server of our sap system.

Be sure to run the command 'dscacheutil -flushcache' and restart eclipse after modifying the hosts file

5 REPLIES 5

Florian
SAP Champion
SAP Champion
1,045

The connection comes from the logon.ini.


I would recommend you to just create a new connection to your System within eclipse. When you click on new ABAP-Project you can define a new connection native with eclipse. so there are all fields available to get the connection.

Have a look here... julie.plummer explained that in a great way:

https://developers.sap.com/tutorials/abap-create-project.html

Cheers

1,045

and because I saw it right after your question, that could also e an option next to it:

https://answers.sap.com/questions/9785454/working-with-abap-in-eclipse-using-mac-os-x.html

1,045

Hi Florian,

Thanks for the hint.

In my case I had to adjust the entries in the file /etc/hosts.

former_member624584
Participant
0 Kudos
1,046

I had to adjust the file /etc/hosts. Within the sap community I found several possible solutions.

In my case it worked to change the name of the first entry to Thorstens-MacBook-Pro.local.local. Hence my first entry look like this: 127.0.0.1 Thorstens-MacBook-Pro.local.local

Also I added the IP-Address and the name of the server of our sap system.

Be sure to run the command 'dscacheutil -flushcache' and restart eclipse after modifying the hosts file

Aijaz-Qureshi
Explorer
0 Kudos
778

Hello friends - I know it's an old thread, but I am posting here with a hope that someone will look at it.

I am trying to Setup a connection from Eclipse to SAP A4H running in Docker. I see the Connection just fine:

AijazQureshi_0-1724090185234.png

However when I click on the Next > button, it comes with a blank Connection Settings window, at this time I should see the form when I can enter my creds.

AijazQureshi_1-1724090316914.png

Any thought friend what could be causing that behavior?

Thanks