Hello All
I have just started with CRM web UI .
as to do practise I have added a custom field into standard view for sales lead, now I want to add F4 help for this field.
I searched over SDN for help and found following wiki, I followed required steps .
Link: [http://wiki.sdn.sap.com/wiki/display/CRM/HowtoprovideF4Help]
By following above wiki F4 Icon is appearing on view and by clicking that I am getting values from DOMAIN also.
But problem is after selecting any value it is not coming to input field.
i.e. if I selected 100 form F4 help popup , this will not come into input field and field will be BLANK.
Please guide me.
Regards
Sachin
Hi Sachin,
Please share your code for creating the F4 help.
Regards
Ajay
Hi Sachin,
The thread seems to be fine for creating F4 Help.
Make sure that the context attribute to which ur mapping the F4 attribute is correct.
Regards,
Sijo
Hi Sachin,
You need to pass the output mapping table when creating the input help. This mapping will determine which fields of the source (i.e. field from where F4 help was triggered) should the F4 help key (and value) be mapped to. Here is a sample code:
DATA: ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping, lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab. ls_map-context_attr = u2018STRUCT.BP_DESCRIPTIONu2019. " Field from where F4 help was triggered and selection needs to come back ls_map-f4_attr = u2018UNITu2019. " Field in the search help APPEND ls_map TO lt_outmap. * Pass this output map to value help descriptor during creation
Add a comment