I built a page with sap.mde.SectionObjectHeader and sap.mde.SectionObjectTable. The latter has enabled search with barcode scanner. I would like to intercept the call to the target (REST service target) triggered by the search field, to use the search literal for the call to this service and to clean the search field after that.
I wrote a rule that intercepts the call to target after search input is filled and I was able to read the search string:
let pageProxy = clientAPI.getPageProxy();
However, I am not able to clean it (basically to clean search string). I have two questions:
Every hint will be highly appreciated because I was not able to find anything in the documentation.