cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Web dynpro download .txt file.

dave99
Explorer
0 Kudos
205

Hi experts,

I have a web dynpro application which is displaying some ddic tables data into the page. My customer's request to make a button and download the internal table content into a .txt file and place it into a network disk. (not into the downloads folder)
I've successfuly transformed the internal table data into a txt file. I am using the cl_wd_runtime_services=>attach_file_to_response method but in my case that solution is not acceptable, because every time the file is downloaded into the downloads folder. I want to download it into a predefined route like: W:\my\folder\to\download.

Do you have any thoughts on this?

Accepted Solutions (0)

Answers (1)

Answers (1)

LN1
Participant
0 Kudos

Per that Class method docu, if I_INPLACE parameter is set to false, the dialog "Save as" appears. But it seems it doesn't occur for you.

If you haven't yet, try it with I_FILENAME that includes the file path. ex. W:\my\folder\to\download\itab.txt