Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9236

Cannot call method 'getODataModel' of undefined

$
0
0

Hi all, I am trying to call this statement in the onInit function:

 

this.oApplicationFacade.getODataModel().attachRequestCompleted(jQuery.proxy(this.onRequestCompleted,this));

 

 

onInit : function() {  jQuery.sap.require("sap.ca.scfld.md.ComponentBase");  this.oApplicationFacade.getODataModel().attachRequestCompleted(jQuery.proxy(this.onRequestCompleted,this));     .......    },

 

I am getting this error message: Uncaught TypeError: Cannot call method 'getODataModel' of undefined What went missing here?

 

Thank you

 

Ferry


Viewing all articles
Browse latest Browse all 9236

Trending Articles



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