cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debug FI-CA Check

aidaj_hilton
Participant
0 Likes
562

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.

View Entire Topic
Former Member
0 Likes

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

aidaj_hilton
Participant
0 Likes

Thank you so much for your help Hans