‎2005 Apr 21 7:02 PM
I am using BADI MB_DOCUMENT_BADI.
There are two method in the BADI
MB_DOCUMENT_BEFORE_UPDATE
MB_DOCUMENT_UPDATE
The First method is not in update task and second one is in Update task. If i want to debug the second method how can i do that. Where I need to change the variable in the debuger to call that method in the forground.
Please help.
Aman
‎2005 Apr 21 7:26 PM
If you want to debug the method in the update task, you need to into debugging and then in the menu, choose "Settings-->Update Debugging". That will take you to all the update modules.
I don't think you can do anything to make that method to be called in the foreground.
Srinivas
‎2005 Apr 21 8:07 PM
I tried, but still not able to debugg that method.
any other idea...Or I am doing osme thing wrong ?
‎2005 Apr 21 9:21 PM
I am assuming you have a breakpoint in your method. Then you run the transaction. Get into normal debugging by entering '/h' in the command window. Once you get into debugging, you activate the update debugging as mentioned previously.
After this you need to step through the transaction completely by pressing the "return" option instead of single step option or execute option. If return option is not available(as is normally the case when debugging the screen flow logic) then use "execute" option.
See if this works.
Srinivas
‎2005 Apr 21 8:12 PM
You might double check to make sure that your implementation of the BADI is activated? It won't hit the badi unless it's activated
‎2005 Apr 21 8:14 PM