on 2004 Mar 09 1:20 PM
I need to know a way to find out the name of the currently running method.
eg:
method abc.
data: m_name type abap_methname.
m_name = xxx->current_method( ).
endmethod.
m_name should be 'ABC'.
If course i know the name on design time but it is not my aim to use literals.
So does anyone know how to get the method name?
TIA Joachim
Request clarification before answering.
In the sap.devel.lang.abap i got the right hint.
Use the call stack via function module system_callstack.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.