2008 Dec 10 6:12 AM
Hi all,
My Internal table consists of following fields and entries. I want delete particular set of entries without using loop. For example ITAB is:
BUKRS BELNR BLART
1000 1000001 RE
1000 1000002 KZ
1000 1000003 KR
1000 1000004 RE
Here I want to delete all the RE u2013Document in ITAB. How do to this one.
Thankx advance,,,,,
2008 Dec 10 6:18 AM
hi,
its always better to use loop if you want to delete multiple records.
check Rich's reply here.
[https://forums.sdn.sap.com/click.jspa?searchID=19735567&messageID=840416]
2008 Dec 10 6:15 AM
2008 Dec 10 6:15 AM
HI Durai,
try this
delete itab[] where table-fieldname = " ".
also try this
delete itab from wa with key table-fieldname = " ".
also do a F1 on delete . this can give you very good results.
regards
-Sudipta
2008 Dec 10 6:16 AM
2022 Oct 12 8:01 AM
2008 Dec 10 6:18 AM
hi,
its always better to use loop if you want to delete multiple records.
check Rich's reply here.
[https://forums.sdn.sap.com/click.jspa?searchID=19735567&messageID=840416]
2008 Dec 10 6:19 AM
Hey,
sorry for the syntax in the previous one.
DELETE ITAB WHERE BLART = 'RE'.
regards
Mahesh
2008 Dec 10 6:20 AM
Hi,
DELETE ITAB WHERE BLART = 'RE'
OR
On delete press in F1 u find more about that......
2008 Dec 10 6:23 AM
DELETE ITAB WHERE VBLEN = '1006758'.
(OR)
DELETE ITAB INDEX 5.
Regards,
Ajay
2008 Dec 10 6:26 AM
Yes,,I tried those statements, but still it is not deleting any rows in my ITAB. Any other way to delete this particular document types.
Thankx,,,,
2008 Dec 10 6:33 AM
2022 Oct 12 9:05 AM