Skip to Content

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

Custom value node field search help value is not getting selected

Hi Experts,

I have created one custom component in BSP_WD_CMPWB. Then I have added one view and created one value node with one field PARTNER in that custom view. I have put the below code in the GET_V method of that field. The f4 help is coming properly. But when I selecting any row of that f4 help popup the value is not coming in that field.

METHOD get_v_partner.

  DATA: ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,

        lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,

        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.

  ls_map-context_attr = 'STRUCT.PARTNER'

  ls_map-f4_attr = 'PARTNER'.               

  APPEND ls_map TO: lt_inmap,lt_outmap.

  CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr


      iv_help_id        = 'ZSWBUPA'                            "#EC NOTEXT

      iv_help_id_kind  = if_bsp_wd_valuehelp_f4descr=>HELP_ID_KIND_DTEL

      iv_trigger_submit = 'X'

      iv_input_mapping  = lt_inmap

      iv_output_mapping = lt_outmap

*    IV_OBJECT_REF    =

      iv_f4title        = 'Select Business Partner'.


2.jpg (84394 B)
Former Member

Helpful Answer

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