Skip to Content

Duplicating a codeline in ABAP is done via CTRL+D.

Upps, I did that in ABAP in Eclipse: Where is my code? The editor just deleted my code and did not duplicate it. Grggghhhh….

Don’t worry. We can help:

Unfortunately the eclipse folks have defined CTRL-D as the delete operation of a code line.Years ago they forgot to ask SAP when they did that fatal decision 😯

In Eclipse you can duplicate a codeline via the shortcut CTRL+ALT+Up/Down.

/wp-content/uploads/2013/05/17_05_218526.png

Another step successfully done on your way from ABAP workbench towards ABAP in Eclipse.

Have fun.

Thomas.

To report this post you need to login first.

4 Comments

You must be Logged on to comment or reply to a post.

  1. Naimesh Patel

    Hello Thomas,

    Definitely Eclipse is more flexible than ABAP GUI based editor. In Eclipse, you can change the keyboard shortcuts for more commands than GUI based. So, you can set the Copy Line to Ctrl+D, in Windows > Preference > General > Keys. Find the command Delete Lines and remove the binding. Find the command Copy Lines and assign Ctrl+D as new binding.

    Thanks,
    Naimesh Patel

    (0) 

Leave a Reply