Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

excel

Former Member
0 Likes
496

hi experts,

how to send the final list what we get in output to excel sheet.give me the syntax as well as explaination.

thanks in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
462

Hi,

You need to use ALV output to get this, u'll get a button in the application toolbar to download directly from the list & the the rest will be taken care of by the Predefined ALV functions.

Read only

Former Member
0 Likes
462

use FM GUI_DOWNLOAD

pass your itab to TABLE parameter DATA_TAB

regards

shiba dutta

Read only

Former Member
0 Likes
462

use this FM

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = 'C:\CUSERROR.XLS'

  • APPEND = 'A'

WRITE_FIELD_SEPARATOR = '#'

tables

data_tab = MESSTAB.

where messtab is an internal table where u will be having final datas.

Read only

p291102
Active Contributor
0 Likes
462

Hi,

U can see there itself some save into local file some green file. From there itself u can save the file into to select the SPREADSHEET button. It will go to automatically in excel format and save with the .xls file.