cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass table value to oData service for Read operation

Former Member
0 Kudos

Hi.,

      I got one scenario., I have to pass table entries from front to backend and need to process those data with some logic then I wanted to return processed data

Anyone pls guide me how to achieve the same with oData service?

Regards.,

Mahendran

Accepted Solutions (0)

Answers (1)

Answers (1)

AshwinDutt
Active Contributor
0 Kudos

Hello Mahendran,

Try to pass those inputs as part of filter parameters as below.

You will receive values as part of select options and can be used further in your logic.

Sample URL -

/sap/opu/odata/sap/ZGW_SRV/Employees?$filter=( EmployeeID eq '0001' or EmployeeID eq '0002' or EmployeeID eq '0003' or EmployeeID eq '0004' ) and ( DepartmentID eq 'A1' or DepartmentID eq 'J1' )

Regards,

Ashwin