‎2007 May 18 7:32 AM
Hi All,
How to debug the code which is written in a function module that is called in UPDATE TASK? What is the use of UPDATE TASK?
Thanks in Advance,
Phani
‎2007 May 18 7:40 AM
Hi,
you Need check Update Debugging under Settings in the Debugging, then it will debug the UPDATE TASK function module
call the update module func using CALL FUNCTION func IN UPDATE TASK, a new window is opened in which you can debug this function module in the update session. All the breakpoints that were set in the calling processing unit can also be processed here.
Regards
Sudheer
‎2007 May 18 7:37 AM
‎2007 May 18 7:40 AM
Hi,
you Need check Update Debugging under Settings in the Debugging, then it will debug the UPDATE TASK function module
call the update module func using CALL FUNCTION func IN UPDATE TASK, a new window is opened in which you can debug this function module in the update session. All the breakpoints that were set in the calling processing unit can also be processed here.
Regards
Sudheer
‎2007 May 18 7:55 AM
Hi Sudheer,
Thanks for the reply. Is there any way to debug the code that i have developed after activating update debugging under settings in the debugging? I have placed a break point in my code... but its not getting triggered.
Thanks in advance.
Phani.
‎2007 May 18 7:58 AM
Hi,
if it is a custom function module add some lines like these
data: l_char type c.
do.
if l_char = 'X'.
exit.
endif.
enddo.
and then from transaction sm50 select your work proccess and select program->debug.
Kostas