Skip to main content

Command Palette

Search for a command to run...

How to Configure the New ABAP Editor Using SAP ABAP Code

Updated
2 min read
How to Configure the New ABAP Editor Using SAP ABAP Code

In older versions of SAP or depending on the user's role, the default configuration for the ABAP Editor might look like this:


In DEBUG mode, it may appear as follows:


This is not the best option for programming or debugging a program.

To change the configuration from the old ABAP Editor to the new one, or vice versa, you can use the following transactions:

We can some of the next transactions below:

  • SE24

  • SE37

  • SE38

  • SE80

  • Etc.


Here are the steps to configure the new ABAP Editor for the current user:


Once configured, the new ABAP Editor will be active:


But what if you need to change this configuration in a production environment? You or the user might not have authorization for the transactions mentioned above.

¿ What can we do to resolve this problem ?

💡
There is a solution: we can create a transaction to change this configuration.

Let me show you how to do that with a few lines of code:


This program first verifies if the user has the new ABAP Editor configured by default. If not, the program will configure it.

Now, we can create a Z transaction to run the report in the production environment for the current user, providing a better view when debugging in a production environment.

I you want to use the code from the report, you can below the complete project in My Github Profile.

SET_NEW_ABAP_EDITOR