11-08-2006 9:29 AM
hi to all,
how to set internal table fields to blank.
thanks in advance
kiran kumar
11-08-2006 9:38 AM
Hi kiran,
if u have declared the internal table with work area then
do like this.
clear :itab-field1,
itab-field2.
modify itab .
if u have decalred the internal table without header line, then do like this.
clear: wa-field1,
wa-field2.
modify itab from wa transporting field1 field2.
Regards,
Nagaraj
11-08-2006 9:31 AM
11-08-2006 9:33 AM
11-08-2006 9:34 AM
Hi,
i need to make blank only two fields of the internal table and further change the database table.
thanks in advance
kiran kumar
11-08-2006 9:36 AM
clear: wa-fld1, wa-fld2.
modify itab from wa transporting fld1 fld2.
Kind Regards
Eswar
11-08-2006 9:38 AM
Hi kiran,
if u have declared the internal table with work area then
do like this.
clear :itab-field1,
itab-field2.
modify itab .
if u have decalred the internal table without header line, then do like this.
clear: wa-field1,
wa-field2.
modify itab from wa transporting field1 field2.
Regards,
Nagaraj