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.
  3. At end click on Administration-> Program -> Debugging.
  4. After confirm the pop-up you should see debugger.

Sprawdź też

Change database entry in se16

Hi all, Today I show you very simple and short solution to add, edit or …