‎2010 Nov 19 11:11 AM
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
‎2010 Nov 19 11:22 AM
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.
‎2010 Nov 19 11:15 AM
Hi,
Check the values of the internal table in debugging mode.
Regards
Praveen
‎2010 Nov 19 11:22 AM
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.
‎2010 Nov 22 10:46 AM