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

uploading data into & from excel sheet

Former Member
0 Likes
403

i hav data in 5 internal tabels i want the data into one excel sheet

each internal table in differnt tabs in that sheet

plz help its urgent

helpfull answers will be rewarded

2 REPLIES 2
Read only

Former Member
0 Likes
372

Check withl this FM : EXCEL_OLE_STANDARD_DAT

DATA_SHEET_NAME -> give diffrent names for each internal table and use file name as same name for all internal tables

Thanks

Seshu

Read only

Former Member
0 Likes
372

use gui_download FM 5 times.

first time dont specify the append.

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = 'C:\test.XLS'

filetype = 'ASC'

write_field_separator = '#'

TABLES

data_tab = itab1.

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = 'C:\test.XLS'

write_field_separator = '#'

<b> append = 'X'</b>

TABLES

data_tab = itab2.

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = 'C:\test.XLS'

write_field_separator = '#'

<b> append = 'X'</b>

TABLES

data_tab = itab3

similarly call for 4th & 5th itab