Hi,
As Sergio mentioned, there could be other ways that could provide a near standard solution Have a look at HANA Live and the delivered queries...which you could use as templates, or even extend the delivered views if appropriate. This would be much easier than starting from scratch...
Thanks
Kris