Adding to what Jody says, if you feel that you have more disadvantages in using Temporary table ( performance ) you can use "Execute Immediate" ( which we used in the implementation ) we initially started with Temporary Tables and then later changed logic in to Execute Immediate.
Here is the blog which i have written which speaks in those lines.
SAP HANA: Handling Dynamic Select Column List and Multiple values in input parameter
Regards,
Krishna Tangudu