on 04-30-2016 8:04 AM
Hi All,
Could any one help me on how to convert internal table data to excel in
webdynpro abap .
Thanks.
Hi Vivek,
Please use below code for download to excel from webdynpro screen (Write it in some button action).
wdr_task=>client_window->client->attach_file_to_response(
i_filename = 'fs.xls'
i_content = lv_xstring
i_mime_type = 'EXCEL').
Thanks,
Chella
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vivek,
Have a Look at this helpful thread Convert internal table to excel format | SCN.
Surrely it will help.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For time being,
use this link to make your application work.
http://scn.sap.com/docs/DOC-25024
Exporting Internal Table Contents to Excel File – Web Dynpro - Web Dynpro ABAP - SCN Wiki
There's another way where you can generate any formatted XML document and that can take any table data as input and generate an excel sheet. Couldn't write it up on thread, would post a separate blog/post (in case if none exists) and would update back the thread.
Thanks,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use Function module SAP_CONVERT_TO_XLS_FORMAT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.