I am developing the No Sales Exception UI5 Apps.I need to capture the URL input values and pass this values to odata service Filter_Select_options as values.How to implement this requirment. Kindly share the coding .
Thanks and Warm Regards,
As Andre said, where do you need to implement this parameters, it's in your ABAP coded Services or it's in app code?
If it's via ABAP in your services, you need to mark the property with the "Filtereable" flag, like this:
In the properties of your Entity Type, marking the property you want to filter by.
Now you have two options to check your filter options.
You can either check this table:
Or you can use the method: io_tech_request_context->get_filter( )->get_filter_select_options( ). and fill a table with the filter(s) you used in your service URI call.
After that, it's all ABAP code to use the filter values.
For READ operations, you can read the input in your KEY TAB.
In this case, only the properties marked as KEY will be seen.
I'm pretty sure there's other ways to implement this, and keep in mind that some of the options I mentioned are Obsolete, this are just some examples I have used so far.
Hope this helps.