Skip to Content

How to display OData Response value 'sap-message' as message in WEB Ide App?!?

How can I display my messages from backend in my WEB Ide app?!? In Chrome debugger in section "Response" I can see that the message exists but the command

model.create('/ObjectsSet', oRequest, null, jQuery.proxy(this.onRequestSuccess, this), jQuery.proxy(this.onRequestError, this));

does no longer result in jumping to my controller method onRequestSuccess where I comsumed the response like this:

onRequestSuccess: function(evt, response) {
var myMessages=[];
var messNr=[];
var messageType=[];
var messType = "";

var oSAPHEADER = response.headers["sap-message"];




Does anybody have any idea why this controller method onRequestSuccess is no longer visited?!? Does my model.create command has to be different in WEB Ide than in Eclipse/Hana Studio, there everything worked fine with the coding above?!?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers