As far as I know, functions are not supported as development artifacts in the HANA Development Perspective in HANA Studio, yet. You'd need to create them directly in the Catalog (Modeler Perspective).
Check item 5.2 User Defined Function, in the SQLScript Reference:
http://help.sap.com/hana/SAP_HANA_SQL_Script_Reference_en.pdf