Hi John,
Ah - But that's where the "google" like search makes things more complex as the query should actually look more like this since the search term could be "foo test found" which does not necessarily need to be in any order and may be across different fields (unless you use HANA or database specific text searches):
Split searchtext by ' ' into t_searchterms.
Loop at t_searchterm assigning field-symbol(<search>).
at first.
select .. into table t_results
where ekko~ebeln like '%<search>%' or ekko~ebeln like '%<search>%'.
if not first (not ABAP key word but you get the idea)
select..into table t_results for all results in t_results
where ekko~ebeln like '%<search>%' or ekko~ebeln like '%<search>%'.
endloop.
Plus from an entity perspective, a non-entity search field is a little dodgy too but I've done that recently also where I needed filters and search.
Anyway, a little off topic but agree the mockServer is something that should be heavily invested in - I love developing UI5 apps until my mockserver can't keep up with the requirements that a back-end provides.
Cheers,
Matt