‎2008 May 23 12:37 PM
Hi,
Can any one tell how can i modify the internal table with the changed values in the output list.
write:/ itab-a input on.
Writes the output which can be modified after Modifying i want To modify the internal table with that value.
Ex : Output.
12
25
26
if i modify the first record 12 to 15 now i want 15 to be in my table.
i.e. the output of the table should be
15
25
26
can anyone help in this.
Regards,
Vaasu.
‎2008 May 23 12:40 PM
‎2008 May 23 12:44 PM
Hello,
Take a look at the program demo_programm_submit_line.
Regards.
‎2008 May 23 1:38 PM
Hi,
check the below code It will Be Helpful For You
After you modify the field, double click on it
data : begin of itab occurs 0,
f1(2),
end of itab.
itab-f1 = 'AA'.
append itab.
itab-f1 = 'CC'.
append itab.
itab-f1 = 'EE'.
append itab.
loop at itab.
write 😕 itab-f1 input.
endloop.
AT LINE-SELECTION.
loop at itab from sy-lilli to sy-lilli.
itab-f1 = SY-LISEL.
modify itab.
endloop.
Write / 'The Changed Internal Table'.
loop at itab.
write 😕 itab-f1 .
endloop.
REWARD IF HELPFUL
PRASANTH
‎2008 May 26 10:56 AM
Hello Thanks for the answer but this code is modifying the last record of the internal table if i change the first record the first record has to modify........
Thanks,
vaasu.