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: 

how to append two internal table's data to one file using GUI_DOWNOAD FM?

Former Member
0 Kudos

Hi all,

Can anyone tell me how to append two internal table's data to one file using GUI_DOWNOAD FM.

I have two download two internal tables , ie success and error to one file say log.txt

Please tell me how to proceed?

Thanks and Regards,

Syed

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Create one common internal table

append both the internal table data to the common internal table and than use GUI_DOWNLOAD

Regards

MD

7 REPLIES 7

Former Member
0 Kudos

Hi,

Set the APPEND parameter and download the two tables to the same filename.

Darren

Former Member
0 Kudos

Hi

Create one common internal table

append both the internal table data to the common internal table and than use GUI_DOWNLOAD

Regards

MD

Former Member
0 Kudos

Create a new internal table of line type string and append these two internal table to the newly created one, and then download using GUI_DOWNLOAD.

Former Member
0 Kudos

hi,

in gui_download there is one parameter called APPEND.

just set it to 'X' i.e. APPEND ='X' & download the two internal tables.

Former Member
0 Kudos

hi,

in gui_download there is one parameter called APPEND.

just set it to 'X' i.e. APPEND ='X' & download the two internal tables.

Former Member
0 Kudos

Hi

Good

I dont think you can append two internal table table data using GUI_DOWLOAD function module.

Thanks

mrutyun^

Former Member
0 Kudos

hi,

you can do this in 2 ways.

1st method:

you can combine the values of both the internal table in a single internal table and pass this internal table to the GUI_DOWNLOAD FM.

2nd method:

use GUI_DOWNLOAD FM for the success internal table.

use GUI_DOWNLOAD FM again for the error internal table. this time make the APPEND parameter of the FM as 'X'.