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

biggest field

Former Member
0 Likes
788

Hi,

what is the biggest field that i can use in abap for data not just numbes .

i now that string is just 255 ,i need much bigger .

Regards

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
755

use TYPE STRING, this is as long as desired (and memory is available).

Thomas

use TYPE STRING, this is as long as desired (and memory is available).

Thomas

5 REPLIES 5
Read only

MarcinPciak
Active Contributor
0 Likes
755

You can split your string at 255th character and place it in internal table, so it will wrap.

Read only

Former Member
0 Likes
755

you can use like below

BEGIN OF gty_file1,

line(800),

END OF gty_file1,

Read only

ThomasZloch
Active Contributor
0 Likes
756

use TYPE STRING, this is as long as desired (and memory is available).

Thomas

Read only

0 Likes
755

Hi Thomas ,

Thanks ,

but i try to upload text file and (with gui_upload) and what iget is data_tab,

i try to concatenate the table (table of string) to one string and it cut the string when i check the string in Excel,

with len... the size is 255 and i get just part of it.

how can i solve it?

Regards

Read only

0 Likes
755

Hmm...

Excel wraps up the data.

Try double clicking on the top of the field in excel and check whether there are over 255 characters getting displayed.

Regards.