‎2010 Feb 05 7:22 PM
Hello Everyone,
I am using Call Function HTTP_GET in my code ...
If I run Foregroung mode, I am connecting HTML Website, but if I use backgroung (I mean creating a job), I am taking 'Error when opening an RFC Connection' message ...
How can I solve that problem ?
Thanks and Regards
My Call Function :
CALL FUNCTION 'HTTP_GET'
EXPORTING
absolute_uri = uri
rfc_destination = dest
user = user
password = pwd
blankstocrlf = btocrlf
IMPORTING
status_code = status
status_text = statustext
response_entity_body_length = rlength
TABLES
response_entity_body = response
response_headers = response_headers.
‎2010 Feb 06 3:15 PM
‎2010 Feb 06 9:54 PM
Hi,
Please try using 'SAPHTTPA' as your RFC destination. Also the attched link may help you.
http://help.sap.com/saphelp_nwmobile71/helpdata/en/14/d9ad3cf7ca0855e10000000a114084/frameset.htm
Regards,
Tushar Shah
Edited by: tgshah on Feb 6, 2010 10:56 PM
‎2010 Feb 07 8:08 AM
Dear Tushar,
Well, in fact, I tried , but I got a message again ...
Error message like that ...
"Connect Error: NiHostToAddr www.tcmb.gov.tr error: NIEHOST_UNKNOWN "
I mean, when I usage SAPHTTP, I am receiving "RFC Connection", if I use SAPHTTPA, I am receiving "NIEHOST_UNKNOWN"
What can I do ?
How can I solve it ?
Regards