Debugging F110 (Automatic Payment)
If you ever tried do debug the automatic payment program (F110), you had realized, it’s not that easy like at other SAP programs. The reason is, F110 creates a background job, where the payment items are processed. There are a handful of ways, to debug your payment job, in the following I will describe one of them. Let’s dive into it and learn, how to do it …
How to debug F110
Breakpoint for XDEBUG
First of all, to be able to activate debugging for F110, you need to change a variable at the payment program. Run SE38 and navigate to program F110MAIN and search for XDEBUG.
Create a breakpoint to stop at this program line.
Next step, you have to schedule your payment job into the future. This is necessary, to be able to run the background job in debugging mode.
Background Job Debugging
Once, the background job is scheduled, run SM37, select your created F110 job and run command JDBG into the command-field. The same function can be selected under menu Extras / Debug Job.
The job will start immediately. Continue with F8 and the debugger will stop at your breakpoint created before.
Now you have to change the variable XDEBUG to “X”.
Now you can run the program to your code of interest, which you want to debug.
You can not debug F110 as easy as other SAP programs, but with a little bit of extra work, you get it done without any problems.
If you have any questions, feel free to use the comment section below.
I loved this blog post. Sadly I can only click like. It reminded me of a trick I have long forgotten JDBG. And that’s one that invaluable for debugging scheduled jobs.
With that said – can you do me a huge favor? Could you rename your blog post? Something like “Debugging F110 and any other scheduled jobs”. It might prompt more people to read it. Some will be like me and long forgotten that trick, and some may read just to learn the JDBG debug.
Excellent step by step and as always I love the screen shots. I hope to read many blogs written by you.
This is a practical approach to debug F110. Thank you, excellent post
Muchas gracias por este excelente aporte!