Application Development 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: 

uploading header data

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

GauthamV
Active Contributor
0 Kudos

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

.

1 REPLY 1

GauthamV
Active Contributor
0 Kudos

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

.