‎2018 Dec 10 10:54 PM
Hi Experts,
I have a requirement to Create search help exit for a custom dictionary search help for Table A and I have to show another field of Table B in the search results, along with some fields of Table A. I have copied the code from function module "f4if_shlp_exit_example", but I am not getting the desired results. Do I also have to write some code ??
Pls any advice to solve it ?
Kind Regards
Tariq
‎2018 Dec 11 6:09 AM
If you define a foreign key between A and B, then you may create a help view on both tables A and B, and create a search help on this view (no need of a search help exit).
‎2018 Dec 11 11:12 AM
Thanks Sandra for your reply.
A foreign key exist for a field between Table A and Table B, datatype for that field is NUMC, but the length is different, in one table it's NUMC5 and in other table is NUMC7. That is a reason I have to create search help exit to solve this problem.
Please can you help me to solve this problem.
‎2018 Dec 11 12:23 PM
An exit is a place where you have to write some code. F4IF_SHLP_EXIT_EXAMPLE is just an example, with some documentation about how exit work (comments inside + repository documentation). Use it to create your own Z exit.
Define your search help with the selection method empty, choose the fields from A and B, and enter code in your Z exit. Try, use the debugger, and revert back with your questions (or search the forum).
‎2018 Dec 11 1:01 PM
Yes you have to code, to add the selection of new data and their mapping to search help result.
Hints: Perform some where-used search or look at some SAP search-help exits. (browse DD30L where