02-02-2018 5:37 AM
I have created a Requirement Routine and one output type which is triggered when Transfer Order is created and not confirmed.
But when I try to create TO in background using tcode VL06O, debugger never stops at the driver program of new output type created.
I have tried placing debugger at lot of statements but it never stops while creating TO in background.
I am using SAP 4.6
02-02-2018 7:03 AM
As usual (already asked/answered many times), activate the update debug, because it's probably done via an update task.
02-02-2018 9:37 AM
Hi,
try to make a infinite loop within the ABAP Coding ( e.g. IF 1 = 2, ENDIF ).
Goto SM51 and search for the infinite process, after doubleclick this entrie you can go to the debugger.
Jump out of the loop and go ahead.
Hope this helps 🙂
BR
Claus
02-02-2018 8:42 PM
02-09-2018 6:18 AM
02-12-2018 6:18 PM
If your question is answered then please close it (see this blog).
02-19-2018 12:34 PM
Yes sorry, but Ravi seems to know what was meant ;-).
But thanks for this hint.
02-02-2018 8:54 PM
If you're talking about an actual background job then there is a blog on that. I found it in Google by using "debug background job site:sap.com"
It'd be much easier to debug though if you just created the document manually and switched on update debugging, as Sandra suggested.
Also those routines are usually pretty short, so if you've just posted the code it's likely someone here could point out the problem even without debugging. The usual suspect is trying to read DB tables that are not actually updated yet when the code runs. Or "dirty assigns" that don't work. Those routines are rather straightforward when used properly.
02-19-2018 12:36 PM
I would prefer debugging instead of a code analysis without runtime informations :).
It is pretty hard for not so easy errors without this field informations.
09-26-2023 12:57 AM
I think it was not stop at driver program, it done in back ground and it take care by system. I think it done in trans port layer. You can find it in a trace.