Quantcast
Viewing all articles
Browse latest Browse all 1318

How to debug a model

Hi guys, I need to debug a model. I coded this snippet:

 

jQuery.sap.require("sap.ui.model.json.JSONModel");

var oModel = new sap.ui.model.json.JSONModel("/myHandler?sap-client=199&data=product_list ");

 

I'm sure that my back-end web service is invoked and data is returned (I set a break-point into the ABAP method) but I would like to debug this oModel.

When I switch the javascript debug on in Chrome, this javascript object doesn't seem to have its oData properly filled.

 

Any idea?

Thanks!


Viewing all articles
Browse latest Browse all 1318

Trending Articles



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