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: 

GUI_DOWNLOAD

Former Member
0 Kudos

Hi,

I have an ALV and i'm using GUI_DOWNLOAD FM to download the data to excel and passing my final output internal table to this FM. Now my requirement is, i also want to download the ALV header information in the same file. How can i do that?

Thanks,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Are you using a fieldcatalog?

If so, just pass whatever you want to display to a table with the same ammount of field in string for, use gui_download, then pass the internal table with the alv results with gui_download, but ussing append = 'X'

5 REPLIES 5

Former Member
0 Kudos

Are you using a fieldcatalog?

If so, just pass whatever you want to display to a table with the same ammount of field in string for, use gui_download, then pass the internal table with the alv results with gui_download, but ussing append = 'X'

Former Member
0 Kudos

Hi,

Pass the below tables parameters with the field names in

GUI_DOWNLOAD. You have to append all the fieldnames (header) into this table.

TABLES

FIELDNAMES OPTIONAL

Thanks,

Vamshi.

Former Member
0 Kudos

Hi,

Make a copy (temp internal table) of your internal table that u pass to GUI DOWNLOAD FM now . Do append your header data to this internal table and finally pass it to the FM.

Hope this helps.

Regards,

Ramya

0 Kudos

by header data, i don't mean the header(field name). lets suppose i have to pass five line which has some information, and this lines need to be downloaded to excel along with the table.

These five lines contains the information what user has selected on the selection screen.

Any idea?

Thanks.

0 Kudos

Did you really solved this question?

If you want to put five lines in the file, just use gui_download for those five text line and latter use append = 'X' in the exports to append the internal table