Skip to Content
author's profile photo Former Member
Former Member

Detail page not loading with Data

Hello Experts,

I am new to SAP UI5 development.and facing issue in SAP WEBIDE app development.

On clicking of entry in master page details page is not loading with required data.

"This Order Not available" page is coming.

Using ODATA model service to create structure .

_onBindingChange : function () {

var oView = this.getView(),

oElementBinding = oView.getElementBinding();

// No data for the binding

if (!oElementBinding.getBoundContext()) {


// if object could not be found, the selection in the master list

// does not make sense anymore.




in above mention code:

oElementBinding.getBoundContext() is throwing null..

why its throwing null.

please help.



Page.PNG (56.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 13, 2016 at 01:03 PM

    Did you bind your view in the onRouteMatched?

    onRouteMatched: function(oEvent) {
         var oParams = oEvent.getParameters(),
               sPath = "/yourEntitySet("'"+oParams.arguments.yourProperty+"'");
              path: sPath,
              events: {
                   change: this._onBindingChange.bind(this)



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Robin Panneels

      Thanku So much Robin.You made my day.

      After removing createKey ,detailed page loaded.

      Can you please explain what createkey is doing exactly.

      I assumed as the propertyname as key will act as link for other properties in detail page.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.