Skip to Content
0
Apr 11, 2016 at 04:13 AM

Finding line no. within code present in internal table

22 Views

Hi all,

Consider the following scenario ,

I have 2 codes.

1. My first code has the name ZTEST_CODE and has the following set of lines say..100 lines

1.

:

:

:

5. CALL transaction .....

:

:

:

100.

2. My second code has the following scenario...

READ REPORT 'ZTEST_CODE' INTO lt_source.

here lt_source is the internal table

My query was, in my second code i need to get the line no. of CALL transaction from code which is now present in lt_source.

please provide me the appropriate syntax to write in second code.....i searched it on google but unable to find it...

Thanks in advance,

Akil.