Hi,
I have created a new Search Help that uses the search help exit.
In this exit, I have done my own data selection in SELECT event. Everything works ok, I populate the corresponding data into the RECORD_TAB parameter, and it's displayed on the screen using DISP event (when RECORD_TAB has more than 1 row).
But, when the selection data returns only one row, it's not displayed on the screen nor returned back to the Dynpro.
Looking into Function Module F4IF_SHLP_EXIT_EXAMPLE, I saw that in DISP event, when RECORD_TAB has only one row, I have to set the next event to RETURN.
I have done this, but instead of returning the selected row, it goes back to the selection screen of the search help (where you can filter the displayed data).
Anyone knows why?
I found this comment in the documentation in case it helps you:
6. RETURN (usually as return value for the next timepoint)
The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). <b>However, you should note that the process will then depend on whether a value was entered manually or with an input help.</b>
Add a comment