Application Development 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: 

Call function creatung new task

kanishakgupta1
Contributor
0 Kudos
295

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

5 REPLIES 5

former_member214857
Contributor
0 Kudos
242

Hi kanishak

To debug this execution you need to start in debuging mode

Best regards

former_member480923
Active Contributor
0 Kudos
242

May be this Link:[http://forums.sdn.sap.com/thread.jspa?threadID=1577816] can help.

Thanks

Anirban M.

Harsh_Bansal
Contributor
0 Kudos
242

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

Former Member
0 Kudos
242

Hi Kanishk,

Have you tried switching on the system debugging and update debugging in debugger menu->settings->options?

Best Regards,

Tapodipta Khan.

Clemenss
Active Contributor
0 Kudos
242

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