Skip to Content
0
Jun 18, 2021 at 04:53 AM

ui5 app filter not working due to conversion routine abap

295 Views Last edit Jun 22, 2021 at 05:20 AM 2 rev

Hi,

We have created a custom fiori/ui5 app to display equipment as list using OData exposed and added equipment number(EQUNR) as filter. As its a 18-CHAR field, it will be internally stored with leading zeroes and displayed without leading zeroes.

Now when we try to filter based on equipment number it comes without leading zeroes. As filter works like a text filter and it have patterns also as filter, do you think its a good idea to convert the input using conversion routine in DPC_EXT class ? is there any alternative solution for this ? Please guide.

I also referred the blog https://blogs.sap.com/2016/10/21/conversions-sap-gateway-foundation-part-1/ but it is only when we pass a definite value, not for multiple/patterns.

Thomas Nitschke : Any guidance here?

Regards

Aditya