Ok, i managed to solve the problem, probably it was a beginner's mistake. I did not set up a TMS Domain controller, which resulted in some missing RFC destinations.
Once i configured TMS following these instructions http://help.sap.com/saphelp_nw70/helpdata/en/44/b4a0a77acc11d1899e0000e829fbbd/content.htm, the error was gone.