Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Pointers needed to provide Wild card search on F4 Help on Web UI

Hi All,

We have a requirement where in customer likes to have a wild card search feature on Industry Sector Value help field. Say for example, i have given A* then the value help should show the entries starting with A only. Any pointers on how to achieve this functionality will be great.

Initally, Industry sector was a dropdown field, we have changed it to Value help by changing the attribute property in P Getter method and in GET_V_STRUCT we have written the logic to show the values .


DATA: ls_tabname        TYPE ddobjname,
       ls_fieldname      TYPE fieldname.
 DATA: lr_object_model   TYPE REF TO if_genil_obj_model.
 DATA: lt_inmap		   TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
lt_outmap    		   TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
 me->ddlb_threshold = '0'. "0: DDLB n: 1-n:, DDLB >n: F4-Popup


  	IF component = 'INDUSTRY'.
        CREATE OBJECT rv_valuehelp_descriptor
        TYPE cl_bsp_wd_valuehelp_f4descr
        EXPORTING
iv_help_id       = 'CRMT_BUS_FRG0040-INDUSTRY'        iv_help_id_kind  = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
         iv_input_mapping = lt_inmap
    	    iv_output_mapping = lt_outmap.
     ENDIF.

But for standard Value help attributes, wild card search is supported and the same is not workin in case of Industry Sector. Any pointers on this would be great.

Thanks,

Udaya

Edited by: Udaya Bhaskar Perecharla on Sep 8, 2008 12:53 PM

Tags:
Former Member
Former Member replied

Hi, I will need to see your code again to try helping you on this.

Regards,

Xavier

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question