Skip to Content
Author's profile photo Andrei Sosea

SAP Debugger in Eclipse / Run Configurations

In this document I would like to show you how to:

A. Disable the Eclipse Debugger perspective and call the SAP Debugger while in Eclipse.

B. Benefit from  Reuse of SAP GUI window when running applications while using Different Projects. I will show you how to create a Run Configuration so that you would be able to edit a program in a development client and test it in a quality client/system.

Most of you probably know that, but I was excited to discover it especially since I dislike Eclipse Debugger.

So here’s the scenario I’m using.

I have 2 Projects:

Project1 – Client 100 – Development /Customizing

Project2 – Client 200 – Quality

Normally I do all my developments in Project 1 which has no data in it (so i can’t debug or test my developments ).

Then I log on Project 2 and set my breakpoints and test the programs I develop. And until now I was using SAP GUI to debug (since i like SAP Debugger over Eclipse Debugger).

A. Disable Eclipse Debugger.

From Eclipse go to Window – Preferences

From there, expand ABAP Development  and select Debugging:

Choose Configure Project Specific Settings and Double Click on Project2 (the one in which you do the testing )

The Enable Debugger checkbox should be enabled, so you disable it:

Choose Apply and then Ok

Now every time you debug a program in Project2 the SAP ABAP Debugger will pop-out in a new window instead of Eclipse Debug Perspective.

B.Running Programs in other projects

I’m not really sure how to title this subject, so if you have ideas please let me know. But this is what’s this about:

I really liked the new feature “Reuse of SAP GUI window when running applications” of ADT 2.36, but the main problem is that my programs are developed in Project1 and i want to debug them in Project2.

When I click “Run” on a program, it automatically executes it in the system/client in which it is edited (Project1). This is a problem since I have no data there, and would like to debug it in Client 200 (Project2 ) and benefit from the above mentioned feature.

All you have to do is create a new Run Configuration.

In Eclipse, on the top side , where the Run Button is, you can click on the Down Pointing Arrow and create a new Run Configuration

Ofcourse you can also do this from the Meniu: Run->Run Configuration

Name your Run Configuration however you want: for Demo Purposes I called it MyZProgram(Client200).

Click Browse to open ABAP Development Object, then click Browse again to select Project2.

Search for your program, double click on the result in Matching items  list, and the click Apply

Now when you click on the Run Button you can choose the newly created Run Configuration instead of the Standard Configuration:

You’ll see that by choosing the configuration made for Project2 you’ll be able to run the program in Client 200 and benefit from the “Reuse of SAP GUI window when running applications”  feature.

You can also Organize your Run Configurations but I haven’t yet figured it out how to call my Run Configuration when pressing F8.

This is not much but maybe it’s helpful.

If you have observations/recommendations to this document, please comment on it.



Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hello  Andrei,
      When i disable the Debugger in eclipse, eclipse informs me that all breakpoints will be disabled.
      I can't set new breakpoints any longer. => Debugging is not possible any longer.

      The SAP Debugger is not opened too.

      Do i something wrong?



      Author's profile photo Andrei Sosea
      Andrei Sosea
      Blog Post Author

      Hi Stefan,

      Yes, it is possible to receive that error since you no longer use Eclipse Debugger. Try using the syntax "break-point" or "break user".

      Author's profile photo Christoph Metz
      Christoph Metz

      Hello guys,

      I got the same problem and isn't working with break-point / break user either. Did you find a solution?

      Thx and regards


      Author's profile photo Gokula Kumar
      Gokula Kumar

      Hi Andrei,

      Thanks for sharing.

      I have one question.

      I have two system like(development and sandbox). Each has two clients one for development and other one has data for testing. So now i will have four project.

      The config. worked for sandbox well. when I did same config. for development system b/w its project, it is also good.

      When again went to sandbox project i tried to so some testing, the shows application setting done for each object.

      Instead, is there any way to keep the setting constant between projects regardless object.




      Author's profile photo Former Member
      Former Member

      Thanks a lot for this blog. I like your idea to take advantage of the SAP debugger instead of Eclipse since I am in the same boat that Eclipse debugger is not for me.

      But we have to type break-point statement each time which will not work out if we are testing the code in Quality system to which code has to be transported.


      For example, say I develop in 100 client which is development that does not have any data. Say I don't have any testing client in DEV and I have to transport my object to quality each time. Now I can't write break-point and then move a transport of copy just so that I can activate the breakpoint in Quality system. If we had an option to still keep breakpoint in the line(s) we want in Eclipse, then we wouldn't have this problem.