Skip to Content
1
Jul 06, 2016 at 04:05 PM

Problems downloading file info from https - Fieldglass

491 Views

Hello all,

I need to download in an internal table the contents of an CSV file that is placed in an URL in Fieldglass.

The url opens a popup to select the directory where to save the file, but what I need is to read it from ABAP to an internal table.

I have tried several things and read lots of threads and still I can´t solve this.

When I use function 'HTTP_GET_FILE' using an RFC I was provided and test connection to www.fieldglass.net is ok I´m getting the error:

Illegal destination type 'G'.

Message No. 04108


I also tried calling the function just with URL but also got an error:

Connect Error: OpenSSL not available

Message No. 04100

Then I tried to use class cl_http_client.

Methods create_by_url, set_header_field, set_header_field, schemetype_https, send and listen seem to be exectuted ok, but method receive (where I supposed the data may apppear) returns error.

I also tried using functions 'HTMLCNTL_CREATE', 'HTMLCNTL_INIT', 'HTMLCNTL_SHOW_DATA' -> here I send the url, but this last one of course shows the popup I don´t want, because I need to put datadirectly in an internal table.

Is it possible that the link with the popup isnot usefull and I need a different one? What else can I try?

Thanks a lot in advanced,

Vicky

Attachments

popup.jpg (77.1 kB)