Skip to Content

Duplicate a codeline in ABAP editor in eclipse

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.


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

Have fun.


You must be Logged on to comment or reply to a post.
  • 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.

    Naimesh Patel