cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with $filter operation

Former Member
0 Kudos

Hi,

I am New to SAP NETWEAVER GATEWAY SERVICES,

I have created a project in SEGW by importing a DDIC structure, i can handle CRUD operations but the problem i am facing is to filter data in the appearing in the browser.

Filteration is not happening if i apply the $filter URI i am getting all the data.

I am struggling from past 2 weeks,

Please Please Help me with this problem.

URI im trying to use is...

URI: ..........SRV/NewSet?$filter=Slno eq '001' & Plant eq 'DEMO'

Thank You,

Karthik Sridhar.

Accepted Solutions (0)

Answers (1)

Answers (1)

santhu_gowdaz
Active Contributor
0 Kudos

use and except &.

URI: ..........SRV/NewSet?$filter=Slno eq '001' and Plant eq 'DEMO'

Former Member
0 Kudos

Thank You for the reply,

I tried using that URI bt still i am getting all the data.

ChandraMahajan
Active Contributor
0 Kudos

Have you implemented code logic for $filter? Check this document

Regards,

Chandra

Former Member
0 Kudos

Hi,

I have implemented a code  based on the link mentioned above.

but i referred to this link http://http://scn.sap.com/community/gateway/blog/2014/03/06/let-s-code-crudq-and-function-import-ope...

I am Unable to execute the filter operation.

How to create a range table for a custom ztable??




Thank You,


       .

ChandraMahajan
Active Contributor
0 Kudos

Karthik Sridhar wrote:

How to create a range table for a custom ztable??

this is ABAP coding question. you can search how to do that. check this thread for e.g.

Former Member
0 Kudos

Hi Chandra Sir,

I am importing a DDIC structure for GW services can i create a range table for that??

and i found this link was very helpful for me http://scn.sap.com/community/gateway/blog/2014/03/06/let-s-code-crudq-and-function-import-operations....

But i could not understand the program flow for the filter in the link.

Please Help, Im new to ABAP and SAP GW.

Thank You.

Former Member
0 Kudos

Thank You so much,

I am getting output for the filter operation.