Hi Kiruthika,
this is exactly what NetWeaver Gateway is for. You can build your own service in ABAP to expose this data yourself but Gateway has been built from the ground up to do this for you.
Bertram Ganz wrote a great tutorial that covers the full end-to-end process for creating a Gateway service and consuming it in a SAPUI5 user interface. You can find the link to it in his blog.
Cheers
Graham Robbo