‎2009 May 13 3:35 PM
Hello, i´m trying to get a url by function HTTP2_GET. If i execute by SE37 i don´t have any problem, but in my program program return´s error.
Debbugin i see this:
There are a parameter called "http_client" that in my program ever is null, but debbugging by SE37 return this value: and works perfectly.
In my program this is the error:
connection to partner 'localhost:0' broken / CPIC- CALL: 'ThSAPCMRCV'
Can you help me?
Thanks
‎2009 May 13 3:38 PM
‎2009 Sep 01 6:11 PM
‎2010 May 18 12:50 PM
I had the same problem and solved it by using Function SCMS_MON_POOL_TEST_URL insted of HTTP2_GET. SCMS_MON_POOL_TEST_URL calls HTTP2_GET with RFC Destination (by default 'SAPHTTPA', means Import Parameter RFC_DESTINATION of HTTP2_GET is set with value 'SAPHTTPA'). Maybe the problem in using HTTP2_GET is simply that you should also set the import parameter RFC_DESTINATION but I did not analyse this deeply because SCMS_MON_POOL_TEST_URL solved my problem. Hint: Anylse HTTP_GET deeply if the answer does not solve your problem.