Hello Ashwin,
Thanks for your reply. I am following this document already but could not find code to implement filter in OData query. I see below in the link but what exactly do I need to code in GET_ENTITYSET method? Could you help with that?
UserCollection?$filter=UserID eq '123' and LastName eq 'Mahajan' | IT_FILTER_SELECT_OPTIONS and IV_FILTER_STRING | DATA: my_filter_options TYPE /iwbep/t_mgw_select_option, my_filter_string TYPE string. my_filter_options = io_tech_request_context->get_filter( )->get_filter_select_options( ). my_filter_string = io_tech_request_context->get_filter( )->get_filter_string( ). | Yes |
Thanks,
Megha