Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

After passing the filter parameter not getting the list

Hello,

I can pass the filter parameter but not getting the list . Response is coming from back-end list is empty.

login.Controller.js

S2.Controller.js

Tags:
Former Member
Former Member replied

Hello All,

Here is the correct Answer

what i done. I used a filter values in

xml view

---------------------------------------------------------------------------------------------------------------------------

<List id="list"

          items="{/PO_APPROVALEKKKOset?$filter=Ivappid eq 'ZMOB_PO' and Ivmodid eq 'PO_APPROVL' and Ivsmodid eq 'PO_APPROVL' and Userid eq 'VBHANOT'}"

          mode="{deviceId>/listMode}"

              select="handleSelect"

              growing="true"

              growingScrollToLoad="true">

---------------------------------------------------------------------------------------------------------------------------

On Controller


_pushNewOrders: function () {

        var oView = this.getView();

        var oData = oView.getModel().read("/PO_APPROVALEKKKOset",null,["$filter=Ivappid eq 'ZMOB_PO' and Ivmodid eq 'PO_APPROVL' and Ivsmodid eq 'PO_APPROVL' and Userid eq 'VBHANOT'"], false);

 

     

  },

-------------------------------------------------------------------------------------------------------------------------------

Output:

Thanks

1 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question