2012 Feb 15 12:02 PM
Hi friends,
I am running f110 in background...I have a Z function module which runs in update task....Insoide the z function module i have another rfc enabled function module where the updating of the docs is taking place....i am not able to get into the code of third fm through debugging...I have covered max scenarios of debugiing session external update system but none is fruitfull.
also,i have put infinite loop to see in sm50 ...there also i dont have rights...
could somebody tell me ow i get into the code through debugging
kanishak
2012 Feb 15 1:40 PM
Hi kanishak
To debug this execution you need to start in debuging mode
Best regards
2012 Feb 15 2:06 PM
May be this Link:[http://forums.sdn.sap.com/thread.jspa?threadID=1577816] can help.
Thanks
Anirban M.
2012 Feb 15 6:40 PM
Hi Kanishak,
In the last FM, in which you are not able to go from Debugging, place an external breakpoint.
Now, when you reach the call to this FM in debugging, Press F6 in place of F5. It will open a new session of debugging.
Regards,
Harsh Bansal
2012 Feb 15 8:39 PM
Hi Kanishk,
Have you tried switching on the system debugging and update debugging in debugger menu->settings->options?
Best Regards,
Tapodipta Khan.
2012 Feb 15 9:39 PM
Hi Kanishak,
if you call the function creating NEW TASK, you won't get to debugger easily: The function is enqueued in a TRFC queue which you could stop - but as you are not allowed SM50 you won't be allowed TRFC queue administration.
If you are allowed to use transaction SAAB, you can create and activate a checkpoint group. Use statement LOG-POINT to record contents of some program fields. Then you can see what is happening in background of background.
Regards,
Clemens