‎2009 Nov 19 2:33 PM
I'm hoping someone can help me
What i want to do is delete all lines from a internal table where 'REL' in not contained in a field.
The problem is that there is other sets of letters in the field as well, so I can't use the NOT EQUAL statement.
Is there some kind of CONTAINS statement.
Thanks
‎2009 Nov 19 2:36 PM
Hello,
Try this way,
DELETE itab where not field CP '*REL*'.
Vikranth
‎2009 Nov 19 2:36 PM
Hello,
Try this way,
DELETE itab where not field CP '*REL*'.
Vikranth
‎2009 Nov 19 2:37 PM
HI,
Delete from it_data where field+0(3) Eq 'REL'... if the REL is inthe first 3 letters.
try to use offet.
regards,
Aj
‎2009 Nov 19 2:41 PM
Hi Mlockett,
You can make use of String operation like CO (Contains only), CA (Contains any) etc.
LOOP AT ITAB INTO WA.
IF WA CA 'REL'.
DELETE table ITAB FROM WA TRANSPORTING xxxx.
ENDIF.Kindly set to resolved if it helps you..
Regards
Abhii
Edited by: Abhii on Nov 19, 2009 3:41 PM
Edited by: Abhii on Nov 19, 2009 3:42 PM