Application Development 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: 

Download from web browser report to a local file

Former Member
0 Kudos
104

Hi,

I wish to download the content of a internal table into a local file. This report run in the web, like:

http://172.0.0.1:8000/sap/bc/webrfc?_FUNCTION=WWW_GET_selscreen&_REPORT=ZTESTE

On run the line below, the selection screen appear in the browser. After click on "Execute" button, the report is executed ok, but I can download the file at this moment.

I try a GUI_DOWNLOAD inside the report, but don´t work.

Best regards,

Leandro Mengue

2 REPLIES 2

Former Member
0 Kudos
41

Hi Leandro - I seem to recall pretty much the same question asked here some time last week I think. I tried to find it but couldn't. Maybe you'll have better luck.

Rob

0 Kudos
41

Hi Rob,

After some weeks of tests and search I agree that with this kind of call:

http://172.0.0.1:8000/sap/bc/webrfc?_FUNCTION=WWW_GET_selscreen&_REPORT=ZTESTE

... there are NO solutions to download a file on web browser side, because of ITS structure of response in this case.

Also, our (good) workaround was to change the function of the button to interact with a "on-line" program and not a "report". In the program we use the function ALEWEB_DOWNLOAD when users click the download button.

Best regards,

Leandro Mengue