Could anybody let me know why the below code deletes everything -
Delete ITAB1 where comp_code(1) NE '1' OR
comp_code(1) NE '2' OR
comp_code(1) NE 'C' OR
comp_code(1) NE 'M' .
Instead of deleting only those not equal to 1,2,C orM, this piece of code gives zero output and everything is deleted once this is executed.
Please anyone let me know if anything is wrong here and any other alternatives.
Anyway I am not a good abaper.
regards
Grai