2008 Mar 25 11:48 AM
I have to copy the standard program and add a button in ALV toolbar.
and for OKCODE of that button i have to code for Excel Download of the List output...
333 program RFITEMAR
FM is FI_ITEMS_DISPLAY
Please help if someone has already done it or give idea
Thanks in Advance
Regards
2008 Mar 25 12:06 PM
Hi Madan,
If ur output is ALV, It will have an option to downlod data to excel file. There is no need to do it again.
If u have the requirement anyhow, just do the following.
set pf-status. (set a button in menu painter).
(write code at case sy-ucommand b'coz this is existing program)
when 'EXCEL'.
call function WS_EXCEL.
(pass itab which u wnat to download)
U have to take care while doing changes in standard programs even u copied it.
Regards,
Subbu