cancel
Showing results for 
Search instead for 
Did you mean: 

search help value not passing back to field

Former Member
0 Kudos

Hi,

I need to implement a value help for description field in view BP_DATA/MarketingAttributesEOVP. For that i created on custom search help through SE11, now i need to assign this z search help to description field. I implemented the GET_V method for this field and added this code to this method

method GET_V_DESCRIPTION.
  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 = 'DESCRIPTION'.
  ls_map-f4_attr      = 'ATBEZ'.
  append ls_map to: lt_inmap, lt_outmap.

  create object rv_valuehelp_descriptor type CL_BSP_WD_VALUEHELP_F4DESCR
    exporting
      iv_help_id        = 'ZMKT_ATTR_DESC'
      iv_help_id_kind   = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
      iv_input_mapping  = lt_inmap
      iv_output_mapping = lt_outmap.

endmethod.

I am able to see the search help window in Web UI but when i select any value in search help, its not passing that value to the field.

Regards,

Kamesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kamlesh,

Check that you have checked for import and export in your search help for parameter ATBEZ

Refer my reply in here [F4 Help|;

Regards

Jignesh

Former Member
0 Kudos

Hi,

yes i did checked the import and export parameters for ATBEZ in my search help. i tried to implement the same search help in BP_HEAD component for NAME2 and it is working there. same code... i don't know why it is not working in BP_DATA/MarketingAttributesEOVP context node attributes-description

Regards,

Kamesh Bathla