‎2009 May 20 1:01 PM
Hi,
I have the req to download or export only those lines within ALV which are selected
as excel format instead of complete lines,
Thx in advance for your kindly efforts
Friendly Regards
ertas ilahn
‎2009 May 20 1:06 PM
Hi Ertas,
The approach shoud be :
1. Have one field in your internal table for selection.
2. Make the particular field as a check box for selection in ALV fieldcatlog
3. Have a custom button in toolbar for for export to Excel
4. Once the custom button is presses, loop at the internal table of yours and pick up the selected items and export that to excel sheet using GUI_DOWNLOAD.
Hope this helps you.
Thanks,
Arun
‎2009 May 20 1:03 PM
Hi,
Try creating a button on toolbar and pass the selected data for a new internal table and then download the same.
‎2009 May 20 1:04 PM
Hello,
You can follow the below steps:
1. In the output internal table, you can add one more field called as mark.
2. In the gui status add one more button for some action.
Once some lines are selected in the entire ALV output, the mark will be set X.
Now when this button is clicked,
Loop at this internal table where mark = X and output them in the form of excel.
‎2009 May 20 1:06 PM
Hi Ertas,
The approach shoud be :
1. Have one field in your internal table for selection.
2. Make the particular field as a check box for selection in ALV fieldcatlog
3. Have a custom button in toolbar for for export to Excel
4. Once the custom button is presses, loop at the internal table of yours and pick up the selected items and export that to excel sheet using GUI_DOWNLOAD.
Hope this helps you.
Thanks,
Arun