ABAP in Eclipse: Multi-Line SQL Queries on a Mac

While using ABAP in Eclipse on a Mac, I have encountered an unfortunate issue: On the SQL console, the editor doesn’t allow me type multi-line queries. If I fit the entire query into a single line, everything is fine. If I break it down into multiple lines, Eclipse starts to display error messages.

Here is how to solve this issue: On any Eclipse window, enter the menu Eclipse – Preferences, go to General – Workspace and set “New Text File Line Delimiter” to “Windows”. Voila! Now you can enter multi-line queries like you should.

If you need to change this setting on the fly, you can also use the menu File – Convert Line Delimiters To.

Comments

One response to “ABAP in Eclipse: Multi-Line SQL Queries on a Mac”

  1. dcrystalj Avatar
    dcrystalj

    thank you for sharing!

Leave a comment