Skip to Content

Debug FI-CA Check

Can anyone help me to debug the FI-CA check developed in PWB.

I am trying to debug the printing of the check through the payment run. I enter <b>dbug</b> in the transaction code field to debug the payment run which successfully activates the debugger. However, although I have put breakpoints in the PWB user exits and in event 724 and 725 and activated the debugger for the SAPscript, the program does not stop at any of ehse breakpoints.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 25, 2007 at 06:23 PM

    Jill,

    I had the same problem and solved it by buidling an endless loop into the exit. (of the application form or any FICA event). The loop is only triggered if a parameter is set. You need to add the parameter to table TPARA end, then you can transport it to your test system. By doing so you can now debug the background proces, but only if you have set the parameter in your user settings. After starting the printrun (FPCOPRA), go to SM50, select your running process and start the debugger from there.

    DATA: X TYPE N.

    GET PARAMETER FIELD LB_DEBUG_LOOP ID 'ZEND_LOOP'.

    IF LB_DEBUG_LOOP = 'X'.

    WHILE X = 0.

    ENDWHILE.

    Btw don't forget to make sure that your events are active (see FQEVENTS) in the client your testing in.

    You can use this trick to debug any background job in FICA (or anywhere in SAP).

    Hope this helps, if so don't forget to reward some points.

    Regards,

    Hans van der Kooij

    Uphantis

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 25, 2007 at 12:16 AM

    Hi Jill,

    Look at the trace whether the sapscript is called or not.

    Activate the trace using ST05 and then analyse it.

    Regards,

    Atish

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Atish. Like I said, the program is not stopping at any of my breakpoints. If it did then I would be able to create watchpoints etc. My problem may be that I have to create an online check to allow me to debug. Unfortunately this is not configured here. I need to do a payment run. Thanks again.

      Jill