Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Can't display output of select statement

$
0
0

.setBody() method would set the body, not append the string to the body. So, what ever you wrote at last should be seen (that is $.response.setBody('</body></html>');). All others will be over written.

 

Once you run your code, check the view source . if you are at least seeing </body></html>, your code is perfect .

 

Check these links, you will get more idea :

How to insert data in HANA through JavaScript (with XS Engine)

 

http://help.sap.com/openSAP/HANA1/openSAP_HANA1_Week_05_Exposing_and_Consuming_Data_with_Server-Side_JavaScript_Presentation.pdf

 

 

Sreehari.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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