Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTTP2_GET

Former Member
0 Likes
1,324

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

3 REPLIES 3
Read only

Former Member
0 Likes
884

Ok guys, i solved ....

Thanks anyways

Read only

Former Member
0 Likes
884

Hi, how did you solve the problema?

Read only

Former Member
0 Likes
884

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.