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

Re: Return Messages to SAP UI5 using XSODATA Services

$
0
0

Body comes back as a string. You need to perform a JSON parse on it first.

 

For example this is directly from SHINE:

 

     var errorRes = JSON.parse(oError.response.body);

      sap.m.MessageBox.alert(errorRes.error.message.value);


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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