<?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: Invalid parameter type used at function 'eq' on ODATA execution in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaa-p/11954335#M4493579</link>
    <description>&lt;P&gt;Hi Hanu,&lt;/P&gt;&lt;P&gt;Please try as CFISCALYEARPERIO eq 102018 (without ' ' ).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;May&lt;/P&gt;</description>
    <pubDate>Tue, 14 May 2019 03:49:49 GMT</pubDate>
    <dc:creator>may_thitsaoo</dc:creator>
    <dc:date>2019-05-14T03:49:49Z</dc:date>
    <item>
      <title>Invalid parameter type used at function 'eq' on ODATA execution</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaq-p/11954334</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
  &lt;P&gt;I am facing an issue with the ODATA service execution as shown below&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1685455-jhhmn.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I found the issue is with the filter parameter on the Accounting Period/Year (&lt;STRONG&gt;CFISCALYEARPERIO eq '2018010'&lt;/STRONG&gt;)in the AR report. I have tried with the following API including the filter parameters&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://myXXXXX.sapbydesign.com/sap/byd/odata/ana_businessanalytics_analytics.svc/RPXXXXXXXXXXXXXXXXXQueryResults?$inlinecount=allpages&amp;amp;$select=CBUS_PART_UUID,CCOMPANY_UUID,CCREATION_DATE,CIM_SUB_TYPE_C,CGLACCT,CACC_DOC_UUID_C,RCAMTLIT,CCURRLIT,CSP_CDT_F_DATE,CPOSTING_DATE,COED_DATE,COED_REF_F_ID,KCAMTLIT&amp;amp;$filter=(CSETOFBKS" target="test_blank"&gt;https://myXXXXX.sapbydesign.com/sap/byd/odata/ana_businessanalytics_analytics.svc/RPXXXXXXXXXXXXXXXXXQueryResults?$inlinecount=allpages&amp;amp;$select=CBUS_PART_UUID,CCOMPANY_UUID,CCREATION_DATE,CIM_SUB_TYPE_C,CGLACCT,CACC_DOC_UUID_C,RCAMTLIT,CCURRLIT,CSP_CDT_F_DATE,CPOSTING_DATE,COED_DATE,COED_REF_F_ID,KCAMTLIT&amp;amp;$filter=(CSETOFBKS&lt;/A&gt; eq 'SOB3') and (CCOMPANY_UUID eq 'XXX') and (&lt;EM&gt;&lt;STRONG&gt;CFISCALYEARPERIO eq '2018010'&lt;/STRONG&gt;&lt;/EM&gt;)&amp;amp;$format=json.&lt;BR /&gt;&lt;BR /&gt;I would like to pass the value of October 2018 to the highlighted field. Being it fiscal accounting year and period, I am passing the values as '2018010'.&lt;BR /&gt;&lt;BR /&gt;Let me know how to resolve this.&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;
  &lt;P&gt;Hanu K&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 00:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaq-p/11954334</guid>
      <dc:creator>Hanumath</dc:creator>
      <dc:date>2019-05-14T00:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid parameter type used at function 'eq' on ODATA execution</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaa-p/11954335#M4493579</link>
      <description>&lt;P&gt;Hi Hanu,&lt;/P&gt;&lt;P&gt;Please try as CFISCALYEARPERIO eq 102018 (without ' ' ).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;May&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 03:49:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaa-p/11954335#M4493579</guid>
      <dc:creator>may_thitsaoo</dc:creator>
      <dc:date>2019-05-14T03:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid parameter type used at function 'eq' on ODATA execution</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaa-p/11954336#M4493580</link>
      <description>&lt;P&gt;Hi Hanu,&lt;/P&gt;&lt;P&gt;You need to use filter as "&lt;EM&gt;&lt;STRONG&gt;CFISCALYEARPERIO &lt;/STRONG&gt;&lt;/EM&gt;gt datetime'2018-10-01T00:00:00'"&lt;/P&gt;&lt;P&gt;You can refer to &lt;A href="https://answers.sap.com/questions/10743713/how-to-use-odata-date-filter-query-to-filter-data.html"&gt;https://answers.sap.com/questions/10743713/how-to-use-odata-date-filter-query-to-filter-data.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Saurabh&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 09:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaa-p/11954336#M4493580</guid>
      <dc:creator>former_member226</dc:creator>
      <dc:date>2019-05-14T09:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid parameter type used at function 'eq' on ODATA execution</title>
      <link>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaa-p/11954337#M4493581</link>
      <description>&lt;P&gt;Thanks, Saurabh. Unfortunately, this didn't work. &lt;/P&gt;&lt;P&gt;This field is not a Date Time field. It is a combination of the Fiscal Year and Accounting Period together.&lt;/P&gt;&lt;P&gt;Date Time conversion will not work on this.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hanu K&lt;/P&gt;</description>
      <pubDate>Tue, 14 May 2019 23:57:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/invalid-parameter-type-used-at-function-eq-on-odata-execution/qaa-p/11954337#M4493581</guid>
      <dc:creator>Hanumath</dc:creator>
      <dc:date>2019-05-14T23:57:08Z</dc:date>
    </item>
  </channel>
</rss>

