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: 
draysams
Advisor
Advisor
Personally, I am not a fan of the overwrite mode in text editors and believe it is a relic from the past that has found its way into modern editors. In command line text editors (big time vim fan here), OVR mode can be very useful and efficient but It is hard for me to fathom the use of OVR mode in modern text editors. I believe most of my readers will also share the same sentiment.

There are very easy methods of switching between the two modes (INS and OVR) to match your preference but some users will face an uphill battle in changing between these modes due to hardware and software constraints. In this tutorial I will walk you through a method that will reliably afford you the ability to make this switch in a no frills style.

Process:


On the ABAP text editor page, confirm that you are currently in the Source-Code Based Editor Mode as opposed to the Text-Based Editor Mode. To find this out, you can select Utilities > Settings > ABAP Editor Tab (as shown in the image below) and you will be able to confirm if you are in the Source-Code Based Editor Mode.



Confirm that you are in Source-Code based editor mode


 

After confirming that you are in the Source-Code Based editor mode, on the extreme bottom-right corner of your ABAP editor, click the document icon, with the red rectangle in the image below.


Click the document icon enclosed in the red rectangle


Once you click the icon, you will be presented the dialog shown below:


Dialog displayed


 

Select the Keyboard item in the menu on the left hand side and then type ovr in Commands textbox. Select the Edit.SwitchOvrMode search item. Click on the New Shortcut text box and press the keys you would like to assign to switch between INS and OVR modes. In my case I used the key combination CTRL + SHIFT + ENTER. Finally you can click the save button to store your new config.


Follow the steps to assign a new key binding


 

If you followed the steps above, when you press your key combination you assigned earlier, the text cursor in your editor should change between a black block and a blinking I as shown in the images below.


OVR text edit mode


 


iNS text edit mode


You now have the freedom to choose between the INSERT and OVERWRITE text edit modes at will. I hope this will drastically increase your comfort in the ABAP editor. Please feel free to leave a comment and post your questions to the ABAP Development SAP community tag.

 

Happy coding!!!
12 Comments