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 an FM in update task

former_member195383
Active Contributor
0 Likes
2,312

Hi All,

i have an FM in update task. Any pointers on how to enter into the FM in debugging mode ,

Which i am currently not able to do. I switched on the update debugging. But still then the control was not flowing inside the FM in debugging mode .Please suggest how we can enter into the FM in debugging mode .

Regards

Rudra

5 REPLIES 5
Read only

Former Member
0 Likes
804

Hi,

In the FM, use the keyword BREAK-POINT.

it will take you to the debgging mode

Regards,

Siddarth

Read only

Former Member
0 Likes
804

hi...

In SM37: Select the job, type JDBG in the OK-code (ie in command window ) and press enter.

This can be used for both completed jobs and jobs to be processed

(just make sure you have enough time to debug before the job actually starts).

Breakpoints set in the job flow works

regards

Read only

Former Member
0 Likes
804

Hi Rudra,

Kindly go through this link below:

http://help.sap.com/saphelp_nw70/helpdata/en/d1/801f36454211d189710000e8322d00/content.htm

hope it helps.

Regrds

Mansi

Read only

Former Member
0 Likes
804

Hi,

Try switching on System Debugging and Update debugging aswell in the debugging mode .

Reagrds

Naveen

Read only

former_member404244
Active Contributor
0 Likes
804

Hi,

If you are using in update task FM and also update debugging ON , then it will stop..it will create a new session .

also u can do one more thing put a breakpoint on COMMIT WORK and then select UPDATE DEBUGGING ON.

Regards,

Nagaraj