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: 

related to download internal table contents to some file

Former Member
0 Kudos

I have one internal table, now i want to down load that table contents to one file, i have used GUI_DOWNLOAD function module, but the client is asking that, he want some pop up, there he can choose the path of the file, iam planning to use DOWNLOAD function module, but it is obsolete, any method is there to do this .

1 ACCEPTED SOLUTION

Former Member
0 Kudos

there are some methods in the CL_GUI_FRONTEND_SERVICES class...

you might find FILE_OPEN_DIALOG and FILE_SAVE_DIALOG methods helpful....

5 REPLIES 5

Former Member
0 Kudos

there are some methods in the CL_GUI_FRONTEND_SERVICES class...

you might find FILE_OPEN_DIALOG and FILE_SAVE_DIALOG methods helpful....

Former Member
0 Kudos

use cl_gui_frontend_services->gui_download

thats a static class so u can call it without cocepts of oops and all.

also it provides a pop-up option.

if you wanna use it i can help you further

Hope it helps

0 Kudos

it's not populating pop up

Former Member
0 Kudos

Hi Venu!

Use this FM for the pop-up of file

data:file type ibipparms-path,

call function 'F4_FILENAME'

exporting

program_name = syst-cprog

dynpro_number = syst-dynnr

importing

file_name = file.

reward points if useful.

Former Member
0 Kudos

Hi,

If your program will not be working at background, that it is not since you say 'he want some pop up, there he can choose the path of the file'.....

do you just display it as alv and from there he can download it as excel and any other kind of file format he wants and whatever path he wants...

Hope helps.

deniz