>In the script i included the same path as they mentioned src="resources/sap-ui-core.js".
As the previous poster suggested, this is definitely the problem. In HANA the path resources/sap-ui-core.js is not correct. It must be changed to /sap/ui5/1/resources/sap-ui-core.js (the case is important to HANA and therefore the above suggestion would still fail).