Saturday, March 29, 2008

Auto code completion in new ABAP editor

As I announced in some of my very first blog post SAP GUI 7.0 has a bunch of new functionalities like New ABAP Frontend Editor - auto code completion. Having being annoyed with functionality of new ABAP editor – auto code completion? You trying to enter a few letters starting to be an ABAP statement; tool tip with proper statement shows up but it is not possible to select?


Guess what: You need to configure keyboard short cut to pick up a keyword from tool tip. You can access this Option menu by clicking to icon on very right side of your SAP GUI.


Following popup shows up and you need in Keyboard section of it select Edit.Autocomplete item and customized a keyboard short cut to access this feature. In my case for selecting auto code suggestion I need to use shortcut CTRL + Space.

25 comments:

Anonymous said...

verry nice (in theory) but in practice it does not work...
I want to write a variable defined earlier, thesugestion shows up and I press ctrl+space ctrl+enter or any other key combination but the autocomplete function does nothing.
If the word is a code model and I press ctrl+enter the model is printed.... so why it does not work for anything else?

sapper said...

What version of SAP GUI are you running? Try to upgrade it to 7.10 PL 6. Is it working for you in case of standard ABAP statements (not for variables defined by you)?

Sudir Babu said...

We have SAP autoDBM 6.0 and SAP version 4.7. Our problem is tablet PC will suuport the application on a resolution 800 x 600 resolution where the current settting is 1024 x 768. If anybody knows how we can change the resolution 1024 x 768 to 800x 600 please tell me.

Sudir

sapper said...

Hi Sudir, you probably mean SAP Dealer Business Management 6.0 (DBM). I have no experience with solution at all. You may to try find some SAP note on OSS with regard of your issue.

Peep said...

Hey .. I have SAP GUI 7.10 with patch 6. But the auto complete is not working for anything.I have the setting for ctrl + space. Is there any other setting I need to do. ?

Anonymous said...

Try TAB key

Anonymous said...

I have the same problem, but with the TAB key works!!!

Anonymous said...

I had the same problem, but the tab key really worked!
thanks

Anonymous said...

Change settings file:

c:\Documents and Settings\[user]\SapWorkDir\ab4_data\settings.xml

Section:
Code_Completion
Tag:
{CodeHintAgreeByReturn}1{/CodeHintAgreeByReturn}

It works...

Joe said...

thank you for the tip with the TAB. There was a change between the use of RETURN and TAB to auto-complete...

Anonymous said...

Hi everybody! I don't know where to begin but hope this site will be useful for me.
Hope to get some assistance from you if I will have some quesitons.
Thanks in advance and good luck! :)

sasmente said...
This comment has been removed by the author.
sasmente said...

Hi..
im using version ECC 6.0
and SAP GUI 6.4
but i cant fint new front end editor..
is it i have to upgrade SAP GUI to 7.1 or need to do something in SAP Configuration ?

Slucks said...

Hi there,

I've installed SAP7.10, but it doesn't seem to be installed the option front-end editor(new) on Utilities/Settings/ABAP Editor.
Does anybody knows where can I find that utility or where I can activate it?

Slucks said...

By the way, patch level 16.
Ver. 7100.4.16.1046
Final Release 710

sapper said...

Hi Slucks, what version of SAP system do you have? To be able to use new ABAP Editor you need to have at least SAP System based on NetWeaver 2004s or higher.

Anonymous said...

hiya


just signed up and wanted to say hello while I read through the posts


hopefully this is just what im looking for looks like i have a lot to read.

Anonymous said...

Does CodeHintAgreeByReturn work for you with GUI 7.20 (PL4)? For me it doesn't.

Anonymous said...

I do not find a way, to code-completion with GUI 7.20 via Enter.
It probably work with Tab, but it not show names of variables, itabs, wa or espacially those things, I am really interested in.

Anonymous said...

The TAB worked for me. Thank you. It was so frustrating for me.

Aisurya kumar puhan said...

ctrl + space not working in even SAP GUI 7.20 with PL 2..

What is the way to enable this feature....

Senthilkumar Chellaiyya said...

WOW... Assigned TAB key alone, it was working...was searching for this CODE HINT @ many places... somehow the sapce does not work... TAB does the magic... Thanks a lot!

Patrick said...

Hello, well with the TAB Key you can autocomplete the standard abap syntax. What about a real auto-completion eg. I write the class and get all the possbile attributes and methods? Somehow this function doesn't work in abap 7.1 trial system. The shortcut is STRG + SPACE

Anonymous said...

"TAB" key does work. Thanks for the help.

Anonymous said...

Ok,bedankt.