‎2008 Oct 10 1:30 PM
Hi expert,
I want to create a search help that read data from a table and show this data, but only a selection of this data and not all.
So, I created a custom search help, with an exit search help ( refernce at F4IF_SHLP_EXIT_EXAMPLE ).
Inside this help I put the selection, with code like reference F4IF_SHLP_EXIT_EXAMPLE .
My problem is: the match code show all data of table and not the selection !!!
Any idea ???
Tks a lot,
bye.
‎2008 Oct 11 9:18 AM
Hi,
In the selection step after receiving the required entries from table you have to pass the details to the following FM 'F4UT_RESULTS_MAP'
where SOURCE_STRUCTURE is the selection method name(Table structure name)
APPLY_RESTRICTIONS = 'X'
SOURCE_TAB is the table with u to pass the selected new entries
other parameters are general..
Finally set the CALLCONTROL-STEP = 'DISP'.
Thanks&Regards,
Karthik.
‎2008 Oct 10 2:01 PM
Hi,
if you follow the examples instructions precisely it should work...
Have you changed callcontrol-step (at step selection) to 'DISPLAY'? (if you did not the standard selection will be done after yours).
Kind regards,
hp
‎2008 Oct 10 2:54 PM
‎2008 Oct 11 1:03 PM
In your ZF4IF_SHLP_EXIT_EXAMPLE, delete unwanted records from record_tab in the proper step, which means between
IF callcontrol-step EQ ...
If you cannot find which is the best, make your extra validations (updating itab record_tab) out any of the IF's, so it will be called always (just check if record_tab has values to do your code).
Regards,
Valter Oliveira.
‎2008 Oct 11 9:18 AM
Hi,
In the selection step after receiving the required entries from table you have to pass the details to the following FM 'F4UT_RESULTS_MAP'
where SOURCE_STRUCTURE is the selection method name(Table structure name)
APPLY_RESTRICTIONS = 'X'
SOURCE_TAB is the table with u to pass the selected new entries
other parameters are general..
Finally set the CALLCONTROL-STEP = 'DISP'.
Thanks&Regards,
Karthik.
‎2008 Oct 13 4:18 PM
‎2008 Oct 12 4:49 PM
Hi,
Looks you need to share your Search Help Exit code to get the Problem resolved....