09-24-2008 12:34 PM
we can upload data from text file to internal table with headers also.
see this example and any one can help me to know...?
version 0 Plan/Actual Versio
Fiscal Year 2007
Work Breakdown Structure Cost Element
E.000016 60000
E.000016 60000
E.000016 60000
E.000016 60000
E.000016 60000
09-24-2008 12:38 PM
yes we can.
create a seperate internal table and append ur header texts.
create other itab and pass data in it.
ex:
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = file_name
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = it_join_details
fieldnames = it_join_fields
.
09-24-2008 12:38 PM
yes we can.
create a seperate internal table and append ur header texts.
create other itab and pass data in it.
ex:
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = file_name
filetype = 'ASC'
append = 'X'
write_field_separator = 'X'
TABLES
data_tab = it_join_details
fieldnames = it_join_fields
.