Quantcast
Channel: ABAP Development
Viewing all articles
Browse latest Browse all 948

Tooltip function in New ABAP Editor

$
0
0

Hello SCN,

I just found interesting function in New ABAP Editor. It's not actually any hidden, but I think not many use it.

UPDATE: from comments it seems it is available in SAP from "EHP6 731" (screenshots are from it)

 

You can found it in context menu (right click) on code:

tooltip-1.JPG

It has different outputs on different places. For example here is what it shows when used on FM call:

tooltip-2.JPG

 

It also works on method calls, variables (showing their type) and other code...

 

What might be very helpful is that you can copy text from tooltip and use it (eg. declare variables of needed type for FM/method call).

 

Example:

Instance method: GET_DDIC_FIELD
  Returns type description for Dictionary type
IMPORTING
     Value(P_LANGU) TYPE SYLANGU Optional SY-LANGU
        Current Language
RETURNING
     Value(P_FLDDESCR) TYPE DFIES Optional
        Field Description
EXCEPTIONS
      NOT_FOUND
      NO_DDIC_TYPE

Imagine having this tooltip in switchable side panel (similar like "repository browser" in SE80) and interactive on cursor position.

No more double-clicking on methods, functions, variables etc.. to see their type, description...

Wouldn't that be amazing?


Viewing all articles
Browse latest Browse all 948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>