02-28-2008 9:25 PM
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,
02-28-2008 9:44 PM
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'
02-28-2008 9:44 PM
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'
02-28-2008 9:55 PM
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.
02-29-2008 4:39 AM
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
02-29-2008 8:50 PM
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.
02-29-2008 9:10 PM
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