Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

debug nested calls

Hi,

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?

Example:

  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

mario

Former Member
Not what you were looking for? View more on this topic or Ask a question