05-13-2009 11:47 AM
Dear Experts,
I want to have some logic written for the Employee Search help. The PERNR field uses a search help called PREM. I want to enhance this search help but there is a exit written by SAP called HRMC_PREM_EXIT_A. I want to change the logic for this exit.
Please sugest how to achice this. It would be of great help if you can provide some sample code..
Regards,
Vidya.
05-13-2009 11:51 AM
Check this link for the introduction
http://help.sap.com/saphelp_40b/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
For Code
read this blog, it will be very helpful for you to create SEARCH HELP EXIT
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/creatingaSearchhelpexit%2528CRMobject%2529
in that, look for this code
* Prepare for output
CALL FUNCTION 'F4UT_RESULTS_MAP'
TABLES
shlp_tab = shlp_tab
record_tab = record_tab
source_tab = lt_result
CHANGING
shlp = shlp
callcontrol = callcontrol
EXCEPTIONS
illegal_structure = 1
OTHERS = 2.
05-13-2009 11:59 AM
Hi,
Please check the following links.
[fuller.mit.edu/tech/search_helps.ppt|fuller.mit.edu/tech/search_helps.ppt]
[http://help.sap.com/saphelp_45b/helpdata/en/5c/5284ab7b35d111950d0060b03c6b76/content.htm|http://help.sap.com/saphelp_45b/helpdata/en/5c/5284ab7b35d111950d0060b03c6b76/content.htm]