‎2007 Dec 31 12:25 PM
material Qty Price
A 0 0
B 10 100
C 20 60
I wish to remove zero entry from my itab.How can i do so.
Regards
‎2007 Dec 31 12:27 PM
Hi,
Try this code
loop at itab where <field> = 0.
delete itab index sy-tabix.
endloop.
‎2007 Dec 31 12:26 PM
Hi,
Use below code
delete itab where qty = 0 and price = 0.
L.Velu
‎2007 Dec 31 12:27 PM
Hi
check this delete itab where qty = 0 .
or you can wirte
delete itab where price = 0.
or both at a time
delete itab where qty = 0 and price = 0.
regards,
siva chalasani
‎2007 Dec 31 12:27 PM
‎2007 Dec 31 12:29 PM
‎2007 Dec 31 12:27 PM
Hi,
Try this code
loop at itab where <field> = 0.
delete itab index sy-tabix.
endloop.
‎2007 Dec 31 12:28 PM
‎2007 Dec 31 12:47 PM
Hi
just based on the primary key field u can do this like,
delete itab where <primary key > equals 0.
with regards,
Hema Sundara.