10-07-2020 3:50 PM
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
10-08-2020 10:15 AM
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
10-07-2020 6:43 PM
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
10-07-2020 6:44 PM
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
10-08-2020 10:11 AM
Hi Florian,
Thanks for the hint.
In my case I had to adjust the entries in the file /etc/hosts.
10-08-2020 10:15 AM
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