Hi Shanmuka,
I am not sure if the question is clear - if I understand what you are trying to ask is if you could insert a record via odata? or any other possible way to do inserts into HANA?
yes, odata accepts CRUD operations, however, you will need to expose a HANA table in order to do your insert, delete, update... otherwise if you are simply reading you could use the table itself or a view. per Odata rules, you will need to specify a key.
on the other hand, if you are wanting to call an XSJS service to insert some records into the DB. this approach is also possible. You may want to do a PUT or POST depending in your requirement to insert/update data in the HANA DB. let's assume you do a POST and you send a JSON object, then in the XSJS layer, you need to parse it and either do your embedded SQL (not recommended) or call a stored procedure (preferable over embedded SQL) and provide the input parameters - keep in mind to avoid SQL injection, you want to parametize these inputs.
hope this is easy to understand and follow - for more information on different scenarios, please check out the developer guide(s).