Application Development 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: 

Regex with Internal Tables

former_member190756
Active Contributor
0 Kudos

Hello,

is there any possibility with

FIND ALL OCCURRENCES OF REGEX regex IN TABLE lt_table


to restrict the search to specific columns of the internal table?


i.e. if the table has colum A and column B i only want to search for the regex in column B.


Thanks and regards,

Steffen

1 ACCEPTED SOLUTION

former_member195402
Active Contributor
0 Kudos

Hi Steffen,

I don't think so, I can't see any way for that request in the keyword docu.

You have to loop at lt_table and find the REGEX in column B with FIND instead of FIND IN TABLE.

Regards,

Klaus

2 REPLIES 2

former_member195402
Active Contributor
0 Kudos

Hi Steffen,

I don't think so, I can't see any way for that request in the keyword docu.

You have to loop at lt_table and find the REGEX in column B with FIND instead of FIND IN TABLE.

Regards,

Klaus

0 Kudos

Ok thanks.

Then i think i will just use MOVE-CORRESPONING table and copy the needed colums to a new table and do afterwards the FIND on the copied table.

Best regards,

Steffen