You are on page 1of 5

Debugging Active Jobs

Go to the transaction SM37 and select the background job (with job status Active) that you want to debug.

Now select Capture: active job from menu Job,

This will open the selected active job (program) in the debugger.

Also you can do the same from transaction SM50.

Select the work process where this job is running and then choose the menu path Program/ModeProgramDebugging.

It will display a pop up window for confirmation, click on the Yes button.

Then you can see the job (program) in the debugger.

SAP Code Inspector


by Raghavan

This SAP Code Inspector is a feature that has been included in the WAS based releases of SAP R/3. However this can be adopted to SAP Version 4.6C by applying the OSS note 543359. The code inspector tests single objects or object sets( Programs, function groups, dictionary objects, classes and others) for performance, security, serviceability, error proneness and statistical information. The code inspector produces a very useful report informing the developers about the SELECT statements that bypass the buffer or the check of SYSUBRC handling, for example. This code inspector for single objects can be called directly from the ABAP Editor (SE38), the function builder (SE37) and the Class Builder (SE24) (menu path program(object) check code inspector). However if you want to test a set of objects at once, use the transaction SCI.

1. Call transaction SCI. 2. Define an object set.


Give a meaningful name to the object set and press CREATE. There you define the set of objects you want to check. 3. Define a check variant. Select the different tests you would like to have for your object set. The more tests you select, the longer the report will take to run, and the more output produced. You

You might also like