Skip to Content

how to use the method "bindList" of the oData Model "sap.ui.model.odata.v2.oDataModel" in sapui5

Dear Experts,

pls help me out , how to use the method of oData model "sap.ui.model.odata.v2.oDataModel" in sapui5.

Thanks & Regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 28, 2017 at 08:21 AM

    Import the service in Web IDE. in V2 oData model, you need to connect to the service using the method getOwnerComponent. Subsequently, if you have mapped the entity sets in the service to the View controls(ex: to Select field, Table etc. ), then the Web IDE will automatically trigger a service call and get the data for the mapped entities.

    Check the link for more details:

    https://openui5.hana.ondemand.com/#docs/guide/6c47b2b39db9404582994070ec3d57a2.html

    Regards,

    Sharath

    Add comment
    10|10000 characters needed characters exceeded