Skip to Content
avatar image
Former Member

Debugging wf-batch

Hi guys,

After approving SC, wf-batch creates PO automatically. How I can debug wf-batch?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 19, 2009 at 05:34 AM

    Hi ,

    You will not be able to debug SC after approval. A better approach would be to put the SC on hold and run FM- bbp_reqreq_transfer in debugging mode.

    Regards,

    Sanjeev

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 19, 2009 at 04:28 AM

    Hi Evgeny,

    I am not sure what exactly you ment by debugginf wf-batch.

    But for general workflow debugging tips please refer the below link:

    http://www.sap-img.com/workflow/workflow-debugging.htm

    Hope this helps!

    Regards,

    Saumya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 19, 2009 at 08:30 AM

    Hi ,

    I have ran FM-bbp_reqreq_transfer in debugging for the SC on hold, but PO wasn't created. And also there were not any error messages.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Put a breakpoint in class cl_bbp_sc_transfer, method create_local_po. This method is used for PO creation. Just check if you are able to hit this point. The you can check the error messages if any coming out of PO creation.

      Regards,

      Sanjeev

  • avatar image
    Former Member
    Feb 19, 2009 at 01:43 PM

    The PO is creating. My problem is to check how the table bbp_pdpset is filled. In TX ST05 I can see that there is a insert of the data in table bbp_pdpset in FM ''. But if put break point in this FM, the program doesn't stop there.

    Add comment
    10|10000 characters needed characters exceeded

    • Instead of putting a break point in the FM, run the FM bbp_reqreq_transfer in debugging mode and in the settings turn on the system debugging and then use set break point at and create a break point in the desired FM.

      Regards, IA

  • avatar image
    Former Member
    Feb 20, 2009 at 07:42 AM

    For which user have I set breakpoint in the desired FM?

    Add comment
    10|10000 characters needed characters exceeded