Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

XSJS : Return multiple records in response in the form of Resultset or Array.

$
0
0

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.


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>