Sie sind auf Seite 1von 5

Note:- The maximum number of dynamic breakpoints are 30 and watch-points are 10 that you can place in ABAP

for
a login.
Have you ever tried to switch on the debugger in a popup window? We cant use /H in the command field in this case. But there is a work around for this
problem.
Switch to other SAP session.

Click on generate a shortcut icon on the standard toolbar.

In the popup screen enter the title for the shortcut, Type as
Finish.

System Command, Command as /H and location to store the shortcut and press

This will create the shortcut on the specified location i.e Desktop in this case.

Find the shortcut on the desktop, drag and drop this shortcut on the popup to start the debugger.

How to Debug a SAP Background Job?


It is easy to debug an error job to find out the cause of the error. To debug the background job, go to transaction code SM37 and display the jobs.

First we need to keep a break-point in the program, so that the control stops at the break-point when the debugger is switched on. To find the name of the
program, select the job that we want to debug and press step in the application toolbar.

Display the program by using the Menu Goto > Program.

Keep a break-point in the program and go back to Job overview screen.

Again select the job that we want to debug and enter JDBG in the command field and press enter.

Once JDBG is entered in the command field the debugger will get switched on. Now press F8 to reach the break-point in the program.

Now we can analyze the program for the cause of the error.

Das könnte Ihnen auch gefallen