Hello Omkar,
Your RFC destination of type G, when pinged must show HTTP response 200. If you see the response as 200 then, the objects must show up in SPROXY. I guess the user credentials are not maintained in your RFC destination. Hence it is prompting for the credentials when you connect to ESR through SPROXY.
Regards,
Nitin