Hi all,
Is it possible to enable type-ahead search on a field that uses a search help exit to get values using ABAP code rather than from a view in ECC 7.40 SP 32?
I would like to be able to call an external API (a rest API) to validate an address as the user types an address into a selection screen field. I’ve created an elementary search help and created a search help exit function module (copy of F4IF_SHLP_EXIT_EXAMPLE) and added the following code to the INITIALIZATION event of a report:
APPEND ‘POSTKEY’ TO lt_fields.
cl_dsh_dynpro_properties=>enable_type_ahead( fields = lt_fields ).
A breakpoint in the search help exit FM is triggered as soon as I start entering data into the POSTKEY parameter on the selection screen. However, only the SELONE event is triggered in search help exit which makes me think using a search help exit isn’t the correct approach.
My googling and searching has led me to discussions on how to implement a search help exit or enable type ahead but not both at the same time.