Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Using filter expression in oData

$
0
0

hi All,

      I am creating an odata service for read all requests which having same AppPernr (Perner of approver) value. I am trying to use filter in this but it is not working... Data type of AppPernr is PERSNO (NUMC 8)

 

When i am using following url its giving entire table values without any filteration:

http://xxx.xx.xx.xx:xxxx/sap/opu/odata/sap/ZGW_MOB_EXPMGMT_SRV/RequestListEntitySet?$filter=AppPernr eq '00040010'

 

And When I am using url as :

http://povspacnwg.lntuniverse.com:8000/sap/opu/odata/sap/ZGW_MOB_EXPMGMT_SRV/RequestListEntitySet?$filter=AppPernr eq 40010

 

its giving me error as:

 

<ERROR_INFO>Invalid parametertype used at function 'eq' (Position: 10)</ERROR_INFO>

- <ERROR_RESOLUTION>

  <SAP_NOTE>See SAP Note 1797736 for error analysis</SAP_NOTE>

  <LINK_TO_SAP_NOTE>https://service.sap.com/sap/support/notes/1797736</LINK_TO_SAP_NOTE>

  </ERROR_RESOLUTION>

 

 

Please help me in solving this issue.

 

Thanks and Regards,

Harshada

 

Tags were edited by: jitendra kansal


Viewing all articles
Browse latest Browse all 2823

Trending Articles