cancel
Showing results for 
Search instead for 
Did you mean: 

My custom exit in search help is not triggering

Former Member
0 Kudos
201

Hi,

I am working with the transaction code CAT2 in HR module, Here I need to control the Attendance/ Absence type (AWART) based on the Data Entry Profile (TCATST-VARIANT) and Persanl Number (PERNR).

There is a search help (H_T554S) associated with this field ( AWART ).

I am trying to restrict the values in this search help using the Custom Exit, which I created and Assigned to this search help.

But, I am unable to restrict the values and my Exit is not tringgering while running the transaction CAT2.

can u advice me more on this ...

Thanks.....

Thirupathi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thirupathi, hi

Normally, to implement a search help exit, you create a new function module based on the standard template function module F4IF_SHLP_EXIT_EXAMPLE. Implement the coding you need in your new function module and add this function module as the search help exit in the search help.

You do not normally need to use CMOD/SMOD for a search help exit.

For further information check out the SAP library help for search help exits http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm and the documentation for the standard template search help exit function module F4IF_SHLP_EXIT_EXAMPLE.

Kind regards

Mark

Former Member
0 Kudos

Hi Marks,

Thanks for information.'

I did the same way,which you explained, but it is not triggering...

Best Regards,

Thirupathi

Former Member
0 Kudos

Hi TR,

Have you created the Custome Exit which contain the same parameters as F4IF_SHLP_EXIT_EXAMPLE contain?

Reg,

Arpit

Former Member
0 Kudos

Hi,

Yes I created the Custom Exit as same parameters of F4IF_SHLP_EXIT_EXAMPLE and assigned to the Search help...

--Thiru

Jarmo_Tuominen
Participant
0 Kudos

Hi Thirupathi,

I have exactly the same problem. After debugging 6 hours the code, my conclusion is that there is a bug in SAP standard code.

Here is some documentation about search helps: http://help.sap.com/saphelp_46c/helpdata/en/8b/415d363640933fe10000009b38f839/frameset.htm . There are two types of search help:

- Elementary search helps

- Collective search helps

Furthermore, it says that more than one search help can be assigned to a field. You have the following options for this assignment:

- Attach the search help to a data element

- Attach the search help to a check table

- Attach the search help to a table field

- Attach the search help to a screen field

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Has you exit been activated via SMOD/CMOD.

Regards,

Rich Heilman

Former Member
0 Kudos

No, I have created and activated in SE37

Former Member
0 Kudos

Then no custom exit will be active.

Please go, Create project-using CMOD then associate the particular assignment.

Reg,

Arpit