05-07-2006 5:47 PM
Hi,
I am new to ABAP. i was trying to write a code. i have a requirement where in i have an internal table and i wanted to change the value of a specfic field to 0 (i.e the entire table should have value 0 for that filed) with out using loop at itab. i wanted to now any other means to do that.
Thanks in advance
05-07-2006 7:16 PM
Hi
Try this:
ITAB-FIELD = 0.
MODIFY ITAB TRANSPORTING FIELD WHERE FIELD = 0.
Max
05-07-2006 7:16 PM
Hi
Try this:
ITAB-FIELD = 0.
MODIFY ITAB TRANSPORTING FIELD WHERE FIELD = 0.
Max
05-07-2006 8:45 PM
shouldn't it be
ITAB-FIELD = 0.
MODIFY ITAB TRANSPORTING FIELD WHERE FIELD ne 0.
05-08-2006 3:58 AM