10-13-2007 9:42 AM
I wish to delete all those records from my internal table where bktxt <> 'UP' or 'up'.
How will I write it in ABAP? pls suggest.
Regards,
Alok.
10-13-2007 9:44 AM
Hi
Just write
DELETE ITAB WHERE bktxt <> 'UP' .
DELETE ITAB WHERE bktxt <> 'up' .
DELETE ITAB WHERE ( bktxt <> 'UP' AND bktxt <> 'up' ).
REGARDS
ANJI
10-13-2007 9:44 AM
Hi
Just write
DELETE ITAB WHERE bktxt <> 'UP' .
DELETE ITAB WHERE bktxt <> 'up' .
DELETE ITAB WHERE ( bktxt <> 'UP' AND bktxt <> 'up' ).
REGARDS
ANJI
10-13-2007 9:52 AM
Dear Anji,
Thanks a lot..The second one worked.
I too was trying with deleting them one after other by
DELETE ITAB WHERE bktxt <> 'UP' .
DELETE ITAB WHERE bktxt <> 'up' .
but the exection of first delete was also deleting the values with value 'up'.
Hope you understood.
Thanks once again. I am also rewarding your answer.
Regards,
Alok.