Skip to Content
0
May 18, 2013 at 06:51 PM

Please guide me how this Delete Statement is working

31 Views

DELETE ITAB WHERE segnam = 'ZCREEXT' OR

segnam = 'E1LFA1M' OR

segnam = 'E1LFB1M' OR

segnam = 'E1LFA1M' OR

segnam = 'E1LFA1B' OR

segnam = 'E1LFA1A' OR

segnam = 'E1LFA1H' OR

segnam = 'E1LFA1L' OR

segnam = 'E1LFB1M' OR

segnam = 'E1LFBWM' OR

segnam = 'E1LFB5M' OR

segnam = 'E1LFB1H' OR

segnam = 'E1LFB1L'.

Now my question is Would this Statement would delete the segments available in Table ITAB as provided in the Condition.

Now in my code it is deleting the segments present in table ITAB as mentioned in the where clause. But i think it should only delete whichever the condition holds true..

Pls guide me whether this statement is correct or will it falter somewhere.