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

Probelem in reading csv data into internal table

Former Member
0 Likes
391

Hi,

I am trying to read data from the csv file into internal table.

i have decalered my internal table as bellow:

 

it_flat_table(999) TYPE c OCCURS 0,

i am using the following metohod to read data

CALL METHOD cl_gui_frontend_service=>gui_upload

Exporting

filename = fielname

filetype = 'ASC'

Changing

data_tab = it_flat_table.

my problem is that, i am maintaining long text, but i am not able to get all the  text.

it is cuting in half way.

So please suggest.

Regards,

udupi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
361

Hi Udupi,

Pls declare intenal table with STRING ref .

it_flat_table TYPE string OCCURS 0,

Thanks,

Chandra

Hi,

I am trying to read data from the csv file into internal table.

i have decalered my internal table as bellow:

 

it_flat_table(999) TYPE c OCCURS 0,

i am using the following metohod to read data

CALL METHOD cl_gui_frontend_service=>gui_upload

Exporting

filename = fielname

filetype = 'ASC'

Changing

data_tab = it_flat_table.

my problem is that, i am maintaining long text, but i am not able to get all the  text.

it is cuting in half way.

So please suggest.

Regards,

udupi

1 REPLY 1
Read only

Former Member
0 Likes
362

Hi Udupi,

Pls declare intenal table with STRING ref .

it_flat_table TYPE string OCCURS 0,

Thanks,

Chandra