Skip to Content
0
Former Member
Feb 25, 2011 at 07:20 AM

contains pattern syntax in abap

3255 Views

Hi,

I want to check inside loop of itab ,whether my field f1(132) type c contains value '####',if it is true i have to code continue.so i created one var f2 like this

data:f2(20) type c value '########'.

my code:

loop at itab.

if f1 cp f2.

continue.

endif.

endloop.

but sy-tdpos contains 132 after if stmt.it should be 0 right? anybody have solution for this.please help me if u know..

Thanks & Regards,

Kavitha