<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: Filtering OData Model data at client side (SAP UI5 program) in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835880#M3966015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandrasekhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I infact have created my OData service using your blog only.Thanks for that first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, in your blog you have implemented two methods ..._GET_ENTITYSET &amp;amp;amp; _GET_ENTITY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In _GET_ENTITYSET method : your code is retrieving the whole set of data from database and there is no condition applied on the query. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did same way so I am getting all the data which is there in the table. So fine till here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In _GET_ENTITY method : You have written a query based on a condition. I have implemented same way. When &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I use URL : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://domain:port/sap/opu/odata/sap/ZUI5_SAMPLEUSERINFO_SRV/UserInfoSampleSet('123098"&gt;http://domain:port/sap/opu/odata/sap/ZUI5_SAMPLEUSERINFO_SRV/UserInfoSampleSet('123098&lt;/A&gt;&lt;SPAN&gt;') in Netweaver Gateway client it gives me one record in XML format.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is all fine until here. But my actual requirement : To implement code in SAPUI5 program where I can pass a parameter to Gateway server and depending upon the parameter the record is retrieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say, I want to a record to be retrieved depending upon the UserID. In my SAPUI5 program I will be sending userId value to gateway server and depending upon the UserId value that particular record should be given back to my SAPUI5 program. So this is what I am struggling to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to achieve this, will I have to write code in _GET_ENTITYSET method or _GET_ENTITY method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jan 2015 08:40:05 GMT</pubDate>
    <dc:creator>sun197895</dc:creator>
    <dc:date>2015-01-15T08:40:05Z</dc:date>
    <item>
      <title>Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaq-p/10835851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have got all the data from Gateway Server to my SAPUI5 program. Now, I dont want to show all the data which I got but want to show only one particular line item. I tried putting filter but it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can some one please help me how to use filter in OData model. Please note that I am trying to filter at client side and not at server side&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 19:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaq-p/10835851</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-09T19:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835852#M3965987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://cdchsb401.tyson.com/sap/ui5/1/sdk/#docs/api/symbols/sap.ui.model.odata.ODataModel.html"&gt;https://cdchsb401.tyson.com/sap/ui5/1/sdk/#docs/api/symbols/sap.ui.model.odata.ODataModel.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;you may use the OData query syntax:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.odata.org/documentation/odata-version-2-0/uri-conventions/"&gt;http://www.odata.org/documentation/odata-version-2-0/uri-conventions/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you could also use the &lt;BR /&gt;oData.read function and passing filters.. look into the sdk and look for the filter object&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jan 2015 21:30:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835852#M3965987</guid>
      <dc:creator>SergioG_TX</dc:creator>
      <dc:date>2015-01-09T21:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835853#M3965988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; &lt;SPAN class="j-post-author"&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For general purpose filtering of odata you can use ?$filter = property eq 'value'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I your case you can use&amp;nbsp; abc.xsodata&lt;STRONG&gt;/TDataSet?$filter = Scid eq 'value' &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This should filter your odata values as &lt;STRONG&gt;Scid&amp;nbsp; = value&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;You can refer :&lt;A class="jive-link-external-small" href="http://www.odata.org/"&gt;Home | OData - The Protocol for REST APIs&lt;/A&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Jan 2015 17:49:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835853#M3965988</guid>
      <dc:creator>pinakipatra</dc:creator>
      <dc:date>2015-01-10T17:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835854#M3965989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason filter is not working even though the syntax seems to be correct. Do we have to do any configuration at the Gateway server to make the filter work? Please advice. Below is the code which I using to filter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;var oModel = new sap.ui.model.odata.ODataModel("/sap/opu/odata/sap/ZSCAPP_SRV/");&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;new sap.ui.getCore().setModel(oModel);&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;var oTable = new sap.ui.table.Table({width : "100%", visibleRowcount : 5});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;oTable.addColumn(new sap.ui.table.Column({label : new sap.ui.commons.Label({text : "Scid"}), template : new sap.ui.commons.TextView({text : "{Scid}"}), visible : true}));&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;oTable.addColumn(new sap.ui.table.Column({label : new sap.ui.commons.Label({text : "Amnt"}), template : new sap.ui.commons.TextView({text : "{Amnt}"}), visible : true}));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.addColumn(new sap.ui.table.Column({label : new sap.ui.commons.Label({text : "Zdesc"}), template : new sap.ui.commons.TextView({text : "{Zdesc}"}), visible : true}));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.addColumn(new sap.ui.table.Column({label : new sap.ui.commons.Label({text : "Sctyp"}), template : new sap.ui.commons.TextView({text : "{Sctyp}"}), visible : true}));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.addColumn(new sap.ui.table.Column({label : new sap.ui.commons.Label({text : "Createdby"}), template : new sap.ui.commons.TextView({text : "{Createdby}"}), visible : true}));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.addColumn(new sap.ui.table.Column({label : new sap.ui.commons.Label({text : "Pdate"}), template : new sap.ui.commons.TextView({text : "{Pdate}"}), visible : true}));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;oTable.setModel(oModel);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//oTable.bindRows({path: "/TDataSet"});&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;oTable.bindRows({path: "/TDataSet?$filter=Scid eq '1000940272'"});&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;return oTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 05:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835854#M3965989</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T05:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835855#M3965990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should do it this way. &lt;A __default_attr="3586652" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="Filter Support for (sap.ui.model.odata.ODataModel).read(...) Function" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 05:53:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835855#M3965990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-12T05:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835856#M3965991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply Dennis ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;oModel.read(&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: helvetica, arial; color: blue; background: #f8f8f8;"&gt;"/EntitySet('15')/Items"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: helvetica, arial; color: #006699; background: #f8f8f8;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; background: #ffffff;"&gt;[ "$filter=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #0000ff; background: #f8f8f8;"&gt;val&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; background: #ffffff;"&gt; eq '&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #0000ff; background: #f8f8f8;"&gt;full'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; background: #ffffff;"&gt; and &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: helvetica, arial; color: #0000ff; background: transparent;"&gt;key&lt;/SPAN&gt; eq '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: helvetica, arial; color: #0000ff; background: transparent;"&gt;one'&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; background: #ffffff;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide me what I should substitute for my scenario...like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entity Set&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TDataSet&lt;/P&gt;&lt;P&gt;Property which I want to filter is :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scid&lt;/P&gt;&lt;P&gt;Vaue of the Scid I am looking for is :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Scid = '12345'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now, please tell me how my statement should look like .... should it look like below ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;oModel.read(&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: helvetica, arial; color: blue; background: #f8f8f8;"&gt;"/TDataSet('12345')/Scid"&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-size: 12px; font-family: helvetica, arial; color: #006699; background: #f8f8f8;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; background: #ffffff;"&gt;[ "$filter=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #0000ff; background: #f8f8f8;"&gt;val&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; background: #ffffff;"&gt; eq '12345&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #0000ff; background: #f8f8f8;"&gt;'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; background: #ffffff;"&gt; and &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: helvetica, arial; color: #0000ff; background: transparent;"&gt;key&lt;/SPAN&gt; eq 'Scid&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: helvetica, arial; color: #0000ff; background: transparent;"&gt;'&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: #333333; background: #ffffff;"&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12px; font-family: helvetica, arial; color: #000000; background: #f8f8f8;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 06:52:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835856#M3965991</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T06:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835857#M3965992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe it should be&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;oModel.read("/sap/opu/odata/sap/ZSCAPP_SRV/", null,[ "$filter=Scid eq '12345'"]);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;-D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 07:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835857#M3965992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-12T07:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835858#M3965993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to filter an OData model, the filter logic is on the server. Or, as the SAPUI5 docs mention it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;The OData model is a server-side model: the dataset is only available on the server and the client only knows the currently visible rows and fields. &lt;STRONG&gt;Sorting and filtering is done on the server&lt;/STRONG&gt;. The client has to send a request to the server to accomplish these tasks.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 10:25:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835858#M3965993</guid>
      <dc:creator>Qualiture</dc:creator>
      <dc:date>2015-01-12T10:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835859#M3965994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response Robin. I have this problem going on for many days now and it is 10th day today. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got your point that we have to do filtering at server side and not at client side. But can you tell how we can do it. I tried multiple ways in my SAP UI5 program but failed in every way. Please see where I need to correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Entity Set : TDataSet&lt;/P&gt;&lt;P&gt;Property with which I want to filter : Scid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sending request to client in below ways...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) This gives me all the data as before which makes me believe that filter is not working. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var oModel = new sap.ui.model.odata.ODataModel("/sap/opu/odata/sap/ZSCAPP_SRV/",["$filter=val eq '1000940272' and key eq 'Scid'"]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.setModel(oModel);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.bindRows({path: "/TDataSet"});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) This also gives me all data as before which makes me think that filter is not working with this approach as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var oModel = new sap.ui.model.odata.ODataModel("/sap/opu/odata/sap/ZSCAPP_SRV/");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.setModel(oModel);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.bindRows({path: "/TDataSet?$filter=Scid eq '1000940272'"});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the definition which you pasted in your reply, I guess the second way of filtering is wrong as I am here trying to filter at client and not at server. Having said that, someone on the blog said that the second way of filtering worked for him.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:05:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835859#M3965994</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T11:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835860#M3965995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No luck....I am still getting all data &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;. Used below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var oModel = new sap.ui.model.odata.ODataModel();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oModel.read("/sap/opu/odata/sap/ZSCAPP_SRV/", null,[ "$filter=val eq '1000940272' and key eq 'Scid'"]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above line when I use 'null' as one of the parameter it throws ''null pointer error". But when I remove the 'null' value then it works but then it gives me whole data which means it is not filtering.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835860#M3965995</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T11:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835861#M3965996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the 2nd option should be correct, although I;m not sure if you can directly specify a filter in pthe path when doing bindRows().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you could try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var filter = new sap.ui.model.Filter("Scid", sap.ui.model.FilterOperator.EQ, : "12345");&lt;/P&gt;&lt;P&gt;table.bindRows("/TDataset",null,null,[filter]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB: Although you specify the filter in the client, the actual filtering takes place on the server, and it will only return the filtered data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 11:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835861#M3965996</guid>
      <dc:creator>Qualiture</dc:creator>
      <dc:date>2015-01-12T11:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835862#M3965997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried Robin...but still getting all rows &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var filter = new sap.ui.model.Filter("Scid", sap.ui.model.FilterOperator.EQ, "1000940272");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var oModel = new sap.ui.model.odata.ODataModel("/sap/opu/odata/sap/ZSCAPP_SRV/");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oModel.read("/TDataSet", null, filter);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.setModel(oModel);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.bindRows({path: "/TDataSet"});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return oTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to implement getEntity(Read) method in gateway server ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:19:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835862#M3965997</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T12:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835863#M3965998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you look in the developer tools, on the network tab, do you see the filter parameters as part of the HTTP request?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, have you checked that your oData service supports filtering? &lt;A _jive_internal="true" href="https://answers.sap.com/docs/DOC-43000"&gt;http://scn.sap.com/docs/DOC-43000&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835863#M3965998</guid>
      <dc:creator>jmoors</dc:creator>
      <dc:date>2015-01-12T12:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835864#M3965999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the screenshot which has the trace. From the trace I can see the filter appended to the URL but not doing the job. I am still getting all the items which means filter is not working. Below is the code I have used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var oModel = new sap.ui.model.odata.ODataModel("/sap/opu/odata/sap/ZSCAPP_SRV/");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.setModel(oModel);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oTable.bindRows({path: "/TDataSet?$filter=Scid eq '1000940272'"});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 12:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835864#M3965999</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T12:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835865#M3966000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now if I change the filtering slightly like below then it still load me all the data without filtering. However, in the developer tools I see a message which says that 'I have not implemented 'TDATASET_GET_ENTITY' METHOD. Below is the code which I used and the error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var oModel = new sap.ui.model.odata.ODataModel("/sap/opu/odata/sap/ZSCAPP_SRV/");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;oModel.read("/TDataSet('1000940272')/Scid",[ "$filter=val eq '1000940272' and key eq 'Scid'"]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt; 2015-01-12 18:28:06 The following problem occurred: HTTP request failed500,Internal Server Error,&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;error xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"&gt;http://schemas.microsoft.com/ado/2007/08/dataservices/metadata&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;code&amp;gt;SY/530&amp;lt;/code&amp;gt;&amp;lt;message xml:lang="en"&amp;gt;Method 'TDATASET_GET_ENTITY' not implemented in data provider class&amp;lt;/message&amp;gt;&amp;lt;innererror&amp;gt;&amp;lt;transactionid&amp;gt;54A97706DD470A12E10000000A298945&amp;lt;/transactionid&amp;gt;&amp;lt;timestamp&amp;gt;20150112125759.8021610&amp;lt;/timestamp&amp;gt;&amp;lt;Error_Resolution&amp;gt;&amp;lt;SAP_Transaction&amp;gt;Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system and search for entries with the timestamp above for more details&amp;lt;/SAP_Transaction&amp;gt;&amp;lt;SAP_Note&amp;gt;See SAP Note 1797736 for error analysis (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://service.sap.com/sap/support/notes/1797736"&gt;https://service.sap.com/sap/support/notes/1797736&lt;/A&gt;&lt;SPAN&gt;)&amp;lt;/SAP_Note&amp;gt;&amp;lt;/Error_Resolution&amp;gt;&amp;lt;errordetails&amp;gt;&amp;lt;errordetail&amp;gt;&amp;lt;code&amp;gt;/IWBEP/CX_MGW_NOT_IMPL_EXC&amp;lt;/code&amp;gt;&amp;lt;message&amp;gt;Method 'TDATASET_GET_ENTITY' not implemented in data provider class&amp;lt;/message&amp;gt;&amp;lt;propertyref/&amp;gt;&amp;lt;severity&amp;gt;error&amp;lt;/severity&amp;gt;&amp;lt;/errordetail&amp;gt;&amp;lt;/errordetails&amp;gt;&amp;lt;/innererror&amp;gt;&amp;lt;/error&amp;gt; -&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 13:04:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835865#M3966000</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T13:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835866#M3966001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to your second question whether OData service supports filtering...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked in the properties in the gateway project and it has the filter option ticked. When I checked the metadata I do not see the filterable attribute....please check below..the filterable attribute for some other properties is 'false' but for Scid it is not showing up. But when I chekedin the Gateway project the property has the filterable check-box checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;Property&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Amnt&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Edm.String&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Nullable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;MaxLength&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;20&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:label&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Char20&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:creatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:updatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:sortable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;Property&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Scid&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Edm.String&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Nullable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;MaxLength&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;10&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:label&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Character Field Length = 10&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:creatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:updatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:sortable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;Property&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Zdesc&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Edm.String&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Nullable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;MaxLength&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;40&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:label&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Char&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:creatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:updatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:sortable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:filterable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;Property&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Curr&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Edm.String&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Nullable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;MaxLength&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;3&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:label&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;3-Byte field&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:creatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:updatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:sortable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt;&lt;SPAN class="html-attribute-name"&gt;sap:filterable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;Property&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Sctyp&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Edm.String&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Nullable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;MaxLength&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;10&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:label&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Character Field Length = 10&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:creatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:updatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:sortable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt;&lt;SPAN class="html-attribute-name"&gt;sap:filterable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;Property&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Createdby&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Edm.String&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Nullable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;MaxLength&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;20&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:label&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Char20&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:creatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:updatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:sortable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&amp;lt;Property&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Name&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Pdate&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Type&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Edm.String&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;Nullable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;MaxLength&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;10&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:label&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;Character Field Length = 10&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:creatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:updatable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt; &lt;SPAN class="html-attribute-name"&gt;sap:sortable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class="html-attribute"&gt;&lt;SPAN class="html-attribute-name"&gt;sap:filterable&lt;/SPAN&gt;="&lt;SPAN class="html-attribute-value"&gt;false&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;&lt;SPAN class="html-tag"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="line" style="color: #000000; font-family: monospace;"&gt;-------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 13:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835866#M3966001</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T13:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835867#M3966002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's difficult to comment without what you have implemented the oData service, however it looks like you are trying to retrieve an particular entity, rather than the collection, have you implemented the method TDATASET_GET_ENTITY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 13:31:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835867#M3966002</guid>
      <dc:creator>jmoors</dc:creator>
      <dc:date>2015-01-12T13:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835868#M3966003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you changed the filter values, perhaps you need to clear the metadata cache? You could try clearing the cache of the gateway server via transaction /IWFND/CACHE_CLEANUP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 13:36:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835868#M3966003</guid>
      <dc:creator>jmoors</dc:creator>
      <dc:date>2015-01-12T13:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835869#M3966004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am basically a Java portal developer so definitely I think I did not do proper set-up at gateway server and that could be leading to these issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to your question of implementing &lt;SPAN style="color: #333333; font-size: 12px;"&gt;TDATASET_GET_ENTITY &lt;/SPAN&gt;method....what I did is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;right click on GET_ENTITY(query) and then did the mapping using RFC. And then generated artifacts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached screenshot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Sun 197895&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 13:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835869#M3966004</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T13:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering OData Model data at client side (SAP UI5 program)</title>
      <link>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835870#M3966005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today I learned few things though was not able to fix my filter issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But after going through few other posts and specially which Jason mentioned, I feel I have not properly set-up my Odata service which I would be working upon now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 16:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/filtering-odata-model-data-at-client-side-sap-ui5-program/qaa-p/10835870#M3966005</guid>
      <dc:creator>sun197895</dc:creator>
      <dc:date>2015-01-12T16:01:53Z</dc:date>
    </item>
  </channel>
</rss>

