Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regular expression in FIND statement

tarangini_katta
Active Contributor
0 Likes
351

Hi All,

I am writing the regular expressions.

But i didn't get properly how to write them.

I have one internal table with the five fields.

Exapmle wa-mandt = '800'.

wa_number = '3768'

wa_path = '/usr/tmp/sapuser/3768/test.txt.'

append wa to itab.

Loop at itab itno wa.

Here i need to find client and number system id from the WA using regular expression in singe line

endloop.

Can anybody please explain how to write this.

Thanks,

1 REPLY 1
Read only

Former Member
0 Likes
327

Hi,

What do you mean by FIND?

If I got it right, you can use a READ statement with KEY f1 f2 etc BINARY SEARCH.Mention all the fields you want in the KEY fields.

Dont forget to SORT this itab before the loop.

Thanks

Kiran