Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debugging

PS_1978
Active Participant
0 Likes
541

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
519

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

4 REPLIES 4
Read only

Former Member
0 Likes
519

open the FM in SE37 and set the breakpoint there..

eragrds,

Read only

Former Member
0 Likes
520

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

Read only

0 Likes
519

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.

Read only

0 Likes
519

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