Skip to Content
avatar image
Former Member

debug nested calls


we got very complex routines wich call subroutines, other classes and so on.

At some unknown point in any unknown method a field/attribute gets changed.

I do only know the fieldname in the mainroutine; so I can set a watchpoint. But when the runtime reaches the watchpoint the fieldvalue was already set in any unknown subroutine.  How can I find out which subroutine/method/function module is really chaning the fieldvalue?


  1. Mainclass has attribut myClassAttibut  
  2. Mainclass calls Method an passes myClassAttibut; local Name in the method is asuming lv_myClassAttibut
  3. Now the method creates a subclass an passes lv_myClassAttibut. lv_myClassAttibut gets a new name in the subclass; maybe :  lv_myUnknownClassAttibut
  4. and so on and so on.

many regards and a happy new year


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Dec 31, 2014 at 11:17 AM

    Hi Mario,

    You have to do the debug the process but In faster way through F7 & F6 keys.

    or either.

    Open you initial code in system, and drill out the programs base on your variable and put the break point based that.



    Add comment
    10|10000 characters needed characters exceeded

  • Dec 31, 2014 at 11:26 AM


    Set debugging point inside the class method and create watchpoint for local attribute which is changing your main attribute.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member


      sorry. This is really NO helpfull answer. I am looking for a smart approach.

      Thanks Regards


  • avatar image
    Former Member
    Dec 31, 2014 at 04:56 PM

    Hi all,

    i did a little research. I found the feature called : ABAP debugger scripts.

    I don't know if this really can solve my problem.

    If I know, that the wrong value in myClassAttibut  is e.g. <wrongValue>

    Is it possible in the debugger script to watch every variable/attribute and stops if any of them gat the value <wrongValue> ?

    With other words: a generic watchpoint not on the variable/attribute but on a value!

    This would be very helpfull.

    Many regards


    Add comment
    10|10000 characters needed characters exceeded