Does your portal user exists on the SAP R3 system (and is properly configured)?
Are you able to ping the destination when you switch the authentication mode to 'technical user' and define the user you are currently logged in as the technical user?
Best regards
Klaudio