ZQUERY - Open SQL Editor is a project that allows you to perform and build SAP ABAP Open SQL Queries with no need to create a test program. You can create queries and generate your own types. Generate your Where clause and even your Select clause.
To install ZQUERY program, you will need to import it by SAPLink. http://www.saplink.org/
After install, you just have to activate all the ZQUERY Includes and main Program and then, you just have to execute.
Input your Open SQL Query into the editor and then execute. The result will appears under the editor in an ALV table.