on 10-21-2014 7:05 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.