Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question