Skip to Content
avatar image
Former Member

sap fiori --> full screen application template --> how n where to do Odata.read and how to get value from it

hi all

I am using fiori full screen tamplate in webide

which generate main,master,detail view.

i want show date wise count with date picker,

how to collect return value send by

oModel.read("/CountSet", {filters : [


new sap.ui.model.Filter("Itemrecords", sap.ui.model.FilterOperator.EQ, "20150730");


]});


and


how to show result on same page?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 16, 2015 at 04:32 PM

    var that = this;


    oModel.read("/CountSet", {filters : [

    new sap.ui.model.Filter("Itemrecords", sap.ui.model.FilterOperator.EQ, "20150730");

    ],


    success: function (oEvent) {

         that.byId("DATPICKER_ID").setDateValue( oEvent.result.DATE_FIELD );

    }

    });

    Add comment
    10|10000 characters needed characters exceeded