on 11-06-2008 10:10 AM
Hai,
I have a table UI element populated with values.
I have to download the contents thro excel file. I dont want to do in alv.
pls give some suggestions
Hi
You can use the following code to download the data.
CALL METHOD CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE
EXPORTING
I_FILENAME = 'test.xls'
I_CONTENT = lv_name
I_MIME_TYPE = 'XLS'
if you want to download some slected rows then you can read the selected rows of table. otherwise put the all data in internal table and downlaod with above method.
Regards
Naresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.