Skip to Content

Auto-completion doesn't work in templates in Eclipse with the ABAP Development Tools - Plugin


Let's say you are in a middle of a report that knows already that you work with an internal table lt_internal_table.

Let's say you want to loop at lt_internal_table.

Starting to write

loop at lt_in

the auto-completion will suggest immediately "lt_internal_table".

Not so if you use the existing template for the loop-statement, loopAtAssigning:

 loop at *table* assigning *fldsym*.  

(the ** shows where the cursor will spring).

So the cursor blink on "table" - just the right spot!

BUT: starting to write "lt_in" DOESN'T bring the auto-completion any more, so you (and me and all... everybody hurts! ;-) are damned to write the whole name (like an animal ;-).

This works like this not only in the loop-template but in every template, self-generated or not.

Why this?

And more important: Do you have a workaround?


Regards, Vlad

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 27, 2018 at 01:26 PM

    Hi Vlad,

    I'm not 100% sure if I got the question but for me it is working like that:

    I inserted the LOOP statement via template and the cursor is positioned at the TABLE.

    There I have the code completion as expected:



    Add comment
    10|10000 characters needed characters exceeded

    • Hi, Thomas!

      I must correct the description of my problem.

      When NOT using a template a bezel appears over the name of the internal table I'm about to write, suggesting the name WHIT-OUT NEEDING TO INVOKE THE AUTOCOMPLETION WITH CTRL - SPACE.

      This ist not the case when using a template: The suggestions appears ONLY after hitting CTRL - SPACE.

      Can you reproduce this on your system?