‎2013 May 20 7:39 AM
Hi,
I am using fm http2_get which retrieves the data from a url which works fine in ECC system but when i am calling it from PORTAL system then it gives an error "error when opening rfc destination".
CALL FUNCTION 'HTTP2_GET'
EXPORTING
absolute_uri = uri
rfc_destination = 'SAPHTTP'
* user = user
* password = pwd
blankstocrlf = btocrlf
IMPORTING
status_code = status
status_text = statustext
response_entity_body_length = rlength
TABLES
response_entity_body = gt_img_blob
response_headers = response_headers.
In uri i am passing the url of document which is to be retrieved .
Thanks
Shivraj
‎2013 May 20 8:01 AM
Hi Shivraj,
Try using this FM
SCMS_MON_POOL_TEST_URL
BR,
Sandeep Katoch
‎2013 May 20 8:05 AM
Hi sandeep,
this fm is also internally using the fm http2_get
Thanks
Shivraj
‎2013 May 20 8:33 AM
Yes I know, but this is passing the RFC destination by default i guess..
just give a try and check..
BR,
Sandeep Katoch