How to debug batch job in SAP ?

Hi all,

Today I want to show you a simple way to debug a batch job. Sometimes you just want to debug some process witch default run in batch.Everything looks simple but you should notice that breakpoints sometimes don’t work in this cases. The situation can be even worst when your job run only a few seconds.

  1. First of all if your job works for a short time, you just should keep him work for a while. To do this you just can create an infinitive loop. So just go to your code and in property place paste:
  2. Now go to transaction sm50, click on „ALL work process” and then select your process.
Remember that your background process could run on one of many application servers
  1. At end click on Administration-> Program -> Debugging.
  2. After confirm the pop-up you should see debugger.

Sprawdź też

JAVA GUI in eclipse – the fastest and more stable solution

We probably all now good how stable is eclipse with ADT, how many resources he …