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 inside a RFC

Former Member
0 Kudos

Hi ,

Can i code to download a excel file inside a RFC if i am calling it from a java tool. Can i use gui_download inside a RFC. like we don't use it for background jobs is it going to give any issues.

5 REPLIES 5

matt
Active Contributor
0 Kudos

As the name suggest, gui_download needs a gui to work. So the answer is "no".

matt

Former Member
0 Kudos

Is there any other way to dowload the excel .

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

You can download to the ABAP application server using the DATASET statements. But you will not be able to download to the local PC from the java app, unless you pass the data back out of the RFC to the java app, and use java to download to your pC.

Regards,

Rich Heilman

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

No, you can not do that. The GUI_DOWNLOAD function is dependent on the SAPgui being present. So if you call this function remotely from java, you do not have the sapgui available, and hence it will fail.

Regards,

Rich Heilman

Former Member
0 Kudos

thanks for help