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)

598

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 - Configure Tool Bridge

Category - ABAP

Let's take a look at what the Tool Bridge is in the ABAP Development Tools and how you can easily configure it.

05/28/2024

ABAP Tools - Work with Eclipse (Table creation)

Category - ABAP

In this article we will go over the flow for creating tables in the ABAP Development Tools and how you can easily design it.

12/22/2023

ABAP Tools - Work with Eclipse (Source code compare)

Category - ABAP

Here we look at how we can use the ABAP Development Tools to compare source code, both across systems and the latest versions.

12/01/2023

ABAP Tools - Work with Eclipse (Performance Analysis)

Category - ABAP

In this article we look at the performance analysis of objects using the ABAP development tools and the possibilities of traces.

11/24/2023

ABAP Tools - Work with Eclipse (CDS Analysis)

Category - ABAP

In the complex world of CDS views, it is important to have the right tool at hand to ensure an analysis of the structures and data sources.

08/25/2023