This is a test message to test the length of the message box.
Login
ABAP Tools Work with Eclipse
Created by Software-Heroes

ABAP Tools - Work with Eclipse (Execute object)

945

In this article a little tip for starting objects directly, without having to go through the display of the object.



How do you open an object and then start it? With today's tip, we want to make your life easier and show you how to speed up your work.

 

Introduction

You can use the keyboard shortcut CTRL + SHIFT + A to search for any object and open it in the editor. If the object is supported by Eclipse, then it opens in a corresponding view; if it is not supported, then the SAP GUI is opened instead.

 

Problem

If you actually want to execute an object directly and get a result, this doesn't work with the Eclipse function "Open ABAP Development Object" because only the object is displayed here. For example, if you want to display the contents of a table via the data preview, this can cause various problems. In this example we want to look at table T000.

 

Eclipse View

In the first use case we assume that our system already supports the Eclipse view and the object appears in the view.

 

Simply pressing F8 is enough to start the preview.

 

SAP GUI

In the second use case, the table does not open in the Eclipse View, but in the SAP GUI. This is where navigating to the data preview becomes a little more complicated.

 

First of all, we need to synchronize the object in the Project Explorer so that it appears in the tree. This is possible using the yellow double arrow. If you use the function as standard, then you don't have to do this and the object should already be visible in the tree.

 

In the next step, you can start the preview via the object's context menu.

 

Solution

So how do you get around this problem? There is also the key combination ALT + F8, which allows you to search for an object and execute it directly instead of opening it. The search dialog looks similar to opening an object.

 

The additional filter is only available to you here for the “Type”, namely the objects that can also be executed.

 

If you now run the dialog, various actions will be carried out:

  • Transaction - Start in SAP GUI (in Eclipse)
  • Table - Data Preview
  • Function module - Start of the module, like SE37
  • Program - Start the program, like SE38
  • Core Data Service - Data Preview
  • BSP application - Start the Fiori in the browser

 

Conclusion

Every now and then it makes sense to rely on the keyboard shortcuts in Eclipse, as they speed up a lot of work. By executing the object, you are spared having to go to the SAP GUI and you can use all functions via Eclipse, which accelerates the developer workflow.


Included topics:
ToolsADTEclipseExecute object
Comments (1)



And further ...

Are you satisfied with the content of the article? We post new content in the ABAP area every Friday and irregularly in all other areas. Take a look at our tools and apps, we provide them free of charge.


ABAP Tools - Working with Eclipse (Storage)

Category - ABAP

How do you access deleted source code in the ABAP Development Tools even though you never transported it? More about how ADT uses the storage and how it works.

10/29/2024

ABAP Tools - Working with Eclipse (Multiple Debugging Sessions)

Category - ABAP

How are multiple debugging sessions managed in the ABAP Development Tools in Eclipse? More information here.

10/08/2024

ABAP Tools - Working with Eclipse (SAP GUI Language)

Category - ABAP

Do you have the wrong SAP GUI language when you start the GUI in the ABAP Development Tools? You can find the solution here.

09/10/2024

ABAP Tools - Working with Eclipse (CDS Templates)

Category - ABAP

Did you select the wrong CDS template when creating the view? Here's a little tip to correct the view in ABAP afterwards.

07/02/2024

ABAP Tools - Quick Actions und Highlighting (ABAP Unit)

Category - ABAP

With the last release of the ABAP Development Tools, Quick Actions were added for ABAP development in the ABAP Unit area. Here we take a closer look at them.

06/18/2024