Skip to Content
Technical Articles
Author's profile photo Michael Keller

element information in ADT for Eclipse

Dear Community, this blog is about the “Element Information Popup” and “ABAP Element Info View” of the ABAP Development Tools (ADT) for Eclipse. Both are really helpful functions to collect information.

The “Element Information Popup” can be called context-sensitive by pressing the F2 key when the cursor is positioned on a statement.

Here is a very practical example in my opinion: According to the Clean ABAP Style Guide, messages should not be duplicated by comments. I’ve used comments a lot when working with the MESSAGES statement. I wanted to make it easier for me to read the source code, so I didn’t have to jump into the message class/text. In practice, it quickly happened that a message text was changed and the comments were not. In the style guide there is a note that the message text can be displayed directly in the ADT. In the documentation, however, “Shift + F2” is mentioned. For me “only” the F2 key worked. It looks like this and is very helpful while reading the source code:

F2 key on message number

Even when positioning the cursor on a function module or a method call, a class, a method implementation, a data element, a database table name, it is always worth using the F2 key to quickly get more information. Here are some examples.

F2 on function module call

F2 on method call

F2 on method implementation

The “ABAP Element Info View” is a tab in the toolbar. You can take what you currently see in the “Element Information Popup” into the “ABAP Element Info View” tab and even “freeze” it there with the “Pin this view” function. This makes the comparison of methods much easier. Here’s an example:

F2 and pinned ABAP Element Info to compare

If the function “Link with selection” of the tab is activated, you can navigate in the source text and the element info is displayed depending on the cursor position. You don’t have to use F2 key. Here is an example:

link with selection active

If you want to try this possibilities in the ADT for Eclipse, but are not yet using the ADT, you are welcome to check the “ABAP Development Tools for Eclipse info hub” to get started.



Best regards, thanks for reading and have fun.



Assigned Tags

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

      One of my favorite keys is F3.   Basically a where-used for what you have it on.   I know we are talking elements.  But that one has saved me so much time.

      Author's profile photo Nabheet Madan
      Nabheet Madan

      F2 and F3 both rock! nice post!

      Author's profile photo Michael Keller
      Michael Keller
      Blog Post Author

      Here is a list of all shortcuts. I'm a big fan of "Quick fix". If only I had such a function while "refactoring/rebuilding" my house 😉

      Author's profile photo Bärbel Winkler
      Bärbel Winkler

      Thanks, Michael, for this tip!

      I just wish there was some rhyme or reason with how the many keyboard short cuts have been defined!

      As it is, I have the one-page cheat sheet Michał Majer created and blogged about in 2017 lying on my desk between keyboard and screen as I would be "lost" without it!



      Author's profile photo Michael Keller
      Michael Keller
      Blog Post Author

      I know the problem well. If you use the SE80 in addition to the ADT, there is great confusion (see F3 key).

      Author's profile photo Praveen Kumar Chitturi
      Praveen Kumar Chitturi

      Thanks Michael.

      Quite informative and useful feature in ADT. Thanks for sharing this and also the info hub in github, I liked that.


      Praveen Chitturi