Skip to Content
0
Sep 04, 2018 at 07:20 AM

(Solved) RFC Error when using HTTP GET Request

179 Views Last edit Sep 04, 2018 at 08:16 AM 2 rev

Hi guys,

I am facing problems with the function module HTTP_GET.

I am using this method to check the return code of a certain website.
When I test (via F8) my method that calls the fm HTTP_GET, the connection is created and I get a return code.
But when I navigate to the sport where the method is called in Web UI, I get the following error from the function module:
"Error opening a rfc connection (Function: 'exec_sapgui' #Function: 'exec_sapgui' #CPIC-Call: 'ThSAPOCMINIT', comm).

The function module HTTP_GET can be tested with the report RSHTTP20 which works fine as well.

Do you have any suggestions what I could try next?

Thank you very much.

Chris