Hello,
Which is the gateway that is being defined at the JCO/JRA, at the Portal?
Is it a gateway from the Portal itself?
In this case, you need to fill the "gateway options" at the SM59 destination, at the R/3 system, pointing them to the same gateway used at the JCO/JRA settings.
Regards,
Isaías