I have Fiori applications using fiori element and I want to tweak the odata queries that UI5 generated for OData in $batch
calls.
I have livemode turned for the list report along with smartfilter for selection/filter and list of values
using ValueList annotations. But the problem is when I type in the filter value in selection fields (lets say for sold to) the $batch
call fires the below query for OData.
../invoice_list.xsodata/vlsoldto?sap-client=100&$skip=0&$top=10&$filter=startswith(SOLDTO___T,%27TEST%27)
I want to tweak the the odata call to use 'substringof' instead of 'startswith'.. so something like below.
../invoice_list.xsodata/vlsoldto?sap-client=100&$skip=0&$top=10&$filter=substringof(%27TEST%27,CRM_SOLDTO___T)
I don't know the spot where I can do this customization. I know how to do Fiori elements extensions, but looking for some info if its an extension then which type of extension, which event, or any other approach if not extension. I have very little idea on where to start.
Any help is appreciated.