cancel
Showing results for 
Search instead for 
Did you mean: 

that event is executed in search help? (Created in transaction se11)

Former Member
0 Kudos

good morning,

I created a search help from the transaction se11, and I put the help of search in a field by field method get_v. Inside the method I used

   CREATE OBJECT TYPE rv_valuehelp_descriptor cl_bsp_wd_valuehelp_f4descr

   EXPORTING

   iv_help_id                 = 'ZCRM_MAQINA_TABLA_RUTA_SHELP'

   iv_help_id_kind         = if_bsp_wd_valuehelp_f4descr => help_id_kind_name

   iv_input_mapping      = lt_inmap

   iv_output_mapping    = lt_outmap.


I would need to know which event is triggered when I click on the button to the help of search, or also how to debug when I click on the help button search

thank you very much and best regards

Accepted Solutions (1)

Accepted Solutions (1)

former_member210661
Active Contributor
0 Kudos

Hi Victor,

when you click on f4 help in back end get_v_method will gets trigger. there is no particular event will generated when you click on f4 help.

if you debugg get_v_method after completion of this method courser will go to config class CL_CHTMLB_CONFIG_UTILITY in that CREATE_UI_ELEMENT will gets trigger.

there selected value will assign to that f4 field.

provide break-point into get_v_method and go to webui click on f4 field.

where as if you give f4 help as free style method ex : ( using thtmlb:inputfield ) we can provide onclient click event.  then that event will gets trigger when ever your pressing f4 help.

example :

    <thtmlb:inputField id                 = "PROSPECT"

                        showHelp           = "X"

                        helpId             = "CRM_GPM_BUPAP_HELP"

                        f4Title            = "Partner general"

                        helpInputFields    = "PROSPECT=PARTNER"

                        visible            = "TRUE"

                        lastValuesDisabled = "FALSE"

                         helpOnClick        = "PROSPECT"

                        helpOutputFields   = "PROSPECT=PARTNER" />


Thanks & Regards,

Srinivas.

Former Member
0 Kudos

thanks for the reply 'Srinivas'

where I have to put the code '<thtmlb: inputField'

best regards

former_member210661
Active Contributor
0 Kudos

Hi Victor,

If you want to provide f4 help as a free style mode

go to .html of that view write your own logic like below.

ex:

<thtmlb:inputField id                 = "PROSPECT"

                        showHelp           = "X"

                        helpId             = "CRM_GPM_BUPAP_HELP"

                        f4Title            = "Partner general"

                        helpInputFields    = "PROSPECT=PARTNER"

                        visible            = "TRUE"

                        lastValuesDisabled = "FALSE"

                         helpOnClick        = "PROSPECT"

                        helpOutputFields   = "PROSPECT=PARTNER" />


Thanks & Regards,

Srinivas.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

If no data is appearing in search help, then you should check the table entries for the table you have specified in the se11 search help table. OR you should check the input_mapping and output_mapping parameters of the constructor call while creating the rv_valuehelp_descriptor.

It doesnot call any events.

Former Member
0 Kudos

Hi Victor,

If this is a elementary search help then there would be no event and you can put debugger in get_v method to check the logic.Also you can check in se11 if the search help is giving the desired result.

Now in case you need a search component in the F4 then in get_v method call the outbound plug and write the logic to create pop up and also event for handling once you close the pop up..

Let me know if my understanding is correct and it helps you.

Regards,

Saurav  

Former Member
0 Kudos

thank you very much for the reply.

I know that you can create the search component, but  I need is the event of the help search 'Z'. In the image of the help search, when you click it,  a javascript event runs (maybe 'onclick()' ) and that should generate another event in abap, that's abap event I need.

Regards,