Skip to Content

get line number at run time

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 30, 2017 at 02:47 PM

    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).

    Add comment
    10|10000 characters needed characters exceeded