cancel
Showing results for 
Search instead for 
Did you mean: 

Internal table to excel

vivek_kalyankar
Explorer
0 Kudos

Hi All,

Could any one help me on how to convert internal table data to excel in

webdynpro abap .

Thanks.

Accepted Solutions (0)

Answers (5)

Answers (5)

0 Kudos

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

Former Member
0 Kudos

Hi Vivek,

Have a Look at this helpful thread Convert internal table to excel format | SCN.

Surrely it will help.

Thanks.

Former Member
0 Kudos

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

Former Member
0 Kudos

please refer this thread.

Convert internal table to excel format | SCN

Regards,

Sagar

Former Member
0 Kudos

Hi,

Use Function module SAP_CONVERT_TO_XLS_FORMAT.