Skip to Content
-1

Debugger won't stop at my Driver program of output type.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 02 at 07:03 AM

    As usual (already asked/answered many times), activate the update debug, because it's probably done via an update task.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 02 at 08: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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.