Skip to Content
0

get line number at run time

Oct 30, 2017 at 01:20 PM

39

avatar image

is there is any way to know program line number at run time ?

something like the one in the debugger program / line number .

10 |10000 characters needed characters left characters exceeded

Why? What are you trying to do?

2

Rather curious about this myself. What could possibly be the purpose of this information?

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi Oct 30, 2017 at 02:47 PM
1

You may get the current line number only by raising a class-based exception (method GET_SOURCE_POSITION) or by getting the ABAP call stack (for instance, via function module SYSTEM_CALLSTACK).

Share
10 |10000 characters needed characters left characters exceeded