09-12-2007 3:29 PM
i want to append the data to a existing internal table which already has some data in it i just added new field to it now i want to populate tht field.
09-12-2007 3:31 PM
Hello,
Do like this.
loop at itab.
itab-newfeild = 'New Value'.
modify itab
endloop.
Vasanth
09-12-2007 3:34 PM
data : begin of itab occurs 0,
ID(4) type c,
name(20) type c,
date like sy-datum,
end of itab.
itab-ID = '1234'.
itab-name = 'ravi'.
itab-date = '20070102'.
append itab.
clear itab.
itab-ID = '8934'.
itab-name = 'suresh'.
append itab.
clear itab.
loop at itab where ID = '8934'.
itab-date = '20060205'.
modify itab.
endloop.
Proceed like this.
Regards
Vasu