cancel
Showing results for 
Search instead for 
Did you mean: 

find string in long text

Former Member
0 Kudos

Hello,

I'm looking for a way to find a specific string in all the long texts of our routing cards. Is there any FM/ TC / BAPI that can do that?

Thanks,

Eti

Accepted Solutions (0)

Answers (1)

Answers (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

Please use the Function module READ_TEXT or CONVERT_ITF_TO_STREAM_TEXT

Long Texts are stored in tables

STXH - header

STXL - details.

Regards,

R.Brahmankar

Former Member
0 Kudos

Dear R.Brahmankar,

The problem is that my input is all the long texts of all the routing cards, thus thousands of texts and I'm looking for a single word in all of this texts and a reference of it's where about.

Thanks for your help,

Eti

Former Member
0 Kudos

Hi,

Not sure what your exact need is, but you can achieve this via abap statements.

The syntax SEARCH is what you should be using for finding a string in a variable / table / internal table / long text etc.

I would suggest take help of your abaper to write a simple program for you to do the extraction which you're looking for.

Regards,

Vivek

rupesh_brahmankar3
Active Contributor
0 Kudos

Dear,

I think these FM will help you in that case also. Please try and come back.

Regards,

R.Brahmankar