‎2005 Jun 14 1:48 PM
Hi,
I would like to stop processing for debug in a function module, called in a way:
CALL FUNCTION 'My_Function_Module_Name' STARTING NEW TASK '0001'.
Is it possible? If yes - How?
Explanations: Calling FM
...CALL FUNCTION 'ENQUEUE_E_TRDIR'...
from my FM 'My_Function_Module_Name' I achieved starting of only 1 instance of my FM 'My_Function_Module_Name' at a time. If I call it without the addition 'STARTING NEW TASK...' everything behaves as expected, but I'm unable to check if the FM will behave correctly if I call it as expected - with mentioned addition.
Correctly means if there will be only 1 instance at a time.
Any help whould be highly appreciated.
Many thanks in advance.
Regadrs,
Ivaylo Mutafchiev
‎2005 Jun 14 2:44 PM
Well, searching the forum sometimes gives the answer or idea
Ok, I think I found the scenario - it is to use entire power of parallel processing:
CALL .. STARTING NEW TASK PERFORMING someTaskInCaller ON END OF TASK
should do the trick and help me check what's going on in my 'parallel' task.
And I think, it's impossible to debug task started in parallel process, isn't it?
Thanks,
Ivaylo
‎2008 Nov 08 3:40 PM
Hi Ivaylo,
You can debug a function module being processed parallelly using system debugging. Set a breakpoint at the function call (the one using STARTING NEW TASK) and then switch on system debugging in the debug mode.
‎2008 Nov 08 8:36 PM
‎2008 Nov 09 1:09 AM
>
> This Might help you:
No Not At All!!!
See the actual Date Of question.It been Close to 4 years before.
‎2008 Nov 09 5:37 AM
Sorry Again.....I didn't noticed that...Wl take care in future....I am surprised how it came into the current threads....