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