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

Internal table

Former Member
0 Likes
427

Hi ,

I have define a structure , and internal table and work area, below i past it,

types: begin of ty_file,

line(1000) TYPE c,

end of ty_file.

DATA: it_file type table of ty_file,

wa_file like line of it_file.

i am appending 340 characters in to internal table but it going to take only 250, i dont kn why?

but work area of that internal table contant all character that is 340 but when it going to append work area in to table

it takes 250 characters, can you please tell me why this happen?

Thanks,

Namdev.

Moderator message: please use more descriptive subject lines from now on.

Edited by: Thomas Zloch on Nov 19, 2010 12:36 PM

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
387

types: begin of ty_file,
line type string,
end of ty_file.
DATA: it_file type table of ty_file,
wa_file like line of it_file.

do 1001 times.
concatenate wa_file-line '1' into wa_file-line.
enddo.

append wa_file to it_file.
3 REPLIES 3
Read only

Former Member
0 Likes
387

Hi,

Check the values of the internal table in debugging mode.

Regards

Praveen

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
388

types: begin of ty_file,
line type string,
end of ty_file.
DATA: it_file type table of ty_file,
wa_file like line of it_file.

do 1001 times.
concatenate wa_file-line '1' into wa_file-line.
enddo.

append wa_file to it_file.
Read only

Former Member
0 Likes
387

thanks for replay