Skip to Content
Nov 30, 2021 at 04:05 AM

SAP MDK sap.mde.SectionObjectTable search field : get value and clean ?

308 Views Last edit Nov 30, 2021 at 04:07 AM 4 rev

Hello experts,

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:

  1. Am I in the right direction reading the value from the search field (search literal)?
  2. How I can wipe out the content of the search field?

Every hint will be highly appreciated because I was not able to find anything in the documentation.

Best Regards,