Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Tomas_Buryanek
Active Contributor

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:

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

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? :smile:

15 Comments
markteichmann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Nice function, Tomas. Never saw this before.

Instead of having this tooltip in a side panel it would be nice if it would be context sensitive. Like the properties window in Lotus Notes, when you change context the content in the tooltip should change, too.

How often I already wanted to have this functionality somewhere in Windows or SAP Gui...

hardyp180
Active Contributor
0 Kudos

That option just is not there in my system (ECC6.0 / EHP5 / 702 SP13). "Enhancement Operations" is the last one in the list.

I wonder what version this becomes avaliable in.

Former Member
0 Kudos

Same here we are using SAP GUI 7.30 using ECC6.0 this option is not available for me....Please help me how to get it and what version you are using ?

Former Member
0 Kudos

Even I tried this solution also not working for me it not depends on version and GUI we are missing something else anyone know the answer please help me.

Code Completion Settings - Application Development on AS ABAP - SAP Library

Former Member
0 Kudos

I have seen same info in a different way on 702 release.

In edit mode,after typing call function 'guid_ and using code completion Ctrl+Space, tooltip popup comes up after 1 or 2 seconds for active entry in list.

Applying same step to display mode of code, click on FM name in call function statement, do Ctrl+Space and use Up+Down arrows if needed to get tooltip.

Tomas_Buryanek
Active Contributor
0 Kudos

Paul: I am confused from SAP version and their names, but screenshot is from "EHP6 731" and GUI 730.

Manish: yea code completion tooltip is from about 702, I checked "ECC 6.0 700" system and it is not there yet, even tho it has new ABAP editor.

ThFiedler
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Tomas,

you dream to have context specific help is already reality with the ABAP development tools for eclipse. As you see in the screenshot you have an own view that displays the Elementinfo of an artifact right beside your editor window. It exactly displays the information of the object where the cursor is positioned in the editor:

The same feature is also available for the ABAP help (F1 help). The ABAP help can also be displayed in a separate view in eclipse to show the ABAP help from the marked ABAP keyword in the editor. This ois also very helpful especially in tghe learning phase of ABAP where you often need the docu of the language.

Do you know ABAP in Eclipse already?

If not I recommend to have a visit in our community:

ABAP in Eclipse

There you find lots of information about the new ABAP developer experience.

Kind Regards,

Thomas.

Tomas_Buryanek
Active Contributor
0 Kudos

Hi Thomas,

I know ADT in Eclipse. I would like to use it (used Eclipse in Java programing before), but not all SAP systems I work on support ADT. It also has quite difficult installation, which I couldn't make work through. I might check it again in future...

But thanks for info! I think it is good way to go/try (ADT) and hopefully somebody else will try it from your comment :smile:

dilorenzo
Participant
0 Kudos

Hi Tomas,

installation is not as difficult as it was in the past.

Have a look here:

SAP Development Tools for Eclipse

Best regards,

Dominik

hemadrim
Explorer
0 Kudos

Hi Thomos,

Excellent observation... and thanks for your information

jyotsna_singam
Explorer
0 Kudos

Useful Info Tomas :smile:

former_member184367
Active Participant
0 Kudos

Nice to know this one..I was not aware that tooltip function is available in ABAP Editor.

0 Kudos

Excellent documentation...Keep sharing

Thanks a ton.

Former Member
0 Kudos

Useful information. Thanks for sharing.

dilorenzo
Participant
0 Kudos

Hi Tiki, Ashish, Sneha, Jyotsna, Hemadri,

yes, this articel was excellent, useful and I also was not aware of it before...

But what you write has no additional value compared to clicking on 'bookmark', 'like' and rate with 5 stars.

But everytime you write this 'useful', 'excellent' and 'thank you' posts, everyone who wrote something here or is following the topic, gets a message in scn plus depending on settings a mail to the email account.

I would be very happy, if you use the standard ways of saying 'I like'.

Best regards,

Dominik