Hi,
I was having a query regarding that how we can return multiple records from XSJS resultset(in form of Array or something similar to entityset) in Response. So, that I can bind those multiple records in SAP UI5 Table( By using JSON model).
Right now, I have got the result set -> Then have run a while loop(next) -> Then pushed in Array -> Stringify that array -> $response.setBody(result). And I am able to read and show the in UI in text area( Output is very much similar like JS Object).
Thanks,
Shivesh Ranjan.