Skip to Content
-2

Find the line number in abap editor for a particular search string

Mar 05, 2017 at 01:14 PM

70

avatar image

Hi,

I used the program RS_ABAP_SOURCE_SCAN to find a particular string that might be present in a report program.

The output shows it is contained in line number 000029 of the abap editor.

How can I access the line number and get it in a local variable? Please help.

Thanks!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Mar 05, 2017 at 01:42 PM
0

READ REPORT '...' INTO itab.

FIND '...' IN itab MATCH LINE mline.

Share
10 |10000 characters needed characters left characters exceeded