Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to write coding for Search Help Exit PREM

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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]