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.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s