‎2007 May 23 10:11 AM
Hi,
I am having an internal table which is having a variable type smtp_addr .
My question is hw can i select the values in my itab which smtp_addr value starts only as 'us' data..
please send the code..
‎2007 May 23 10:15 AM
Hi,
Loop at itab into w_tab.
If w_tab-smtp_addr(2) = 'US'.
*****
Endif.
Endloop.
Cheers,
Bujji
‎2007 May 23 10:15 AM
Hi,
Loop at itab into w_tab.
If w_tab-smtp_addr(2) = 'US'.
*****
Endif.
Endloop.
Cheers,
Bujji
‎2007 May 23 10:16 AM
hi,
use this
loop at itab where itab-smtp_addr = 'us'.
write 😕 itab-smtp_addr .
endloop.
‎2007 May 23 10:20 AM
hi,
use this sample
DATA: patt TYPE string VALUE `now`,
text TYPE string,
off TYPE i,
moff TYPE i,
mlen TYPE i.
off = 0.
WHILE sy-subrc = 0.
FIND patt IN SECTION OFFSET off OF
`Everybody knows this is nowhere`
MATCH OFFSET moff
MATCH LENGTH mlen.
IF sy-subrc = 0.
WRITE / moff.
off = moff + mlen.
ENDIF.
ENDWHILE.
With Regards,
S.Barani