cancel
Showing results for 
Search instead for 
Did you mean: 

Help Needed in Input Value Help of Custom Set attribute

former_member184390
Participant
0 Kudos

Hi All,

We have maintained value table for custom set type attribute. We generated UI configuration for this set type and brought it into the web UI. But, we did not get the value help on the UI.

We are trying to get the value help by implementing the BADI crm_prdgenset_valuehelp. This BADI returns object of type cl_bsp_wd_valuehelp_f4descr.

PFB the code that is showing up the Value help icon but it is not showing any values.

DATA: lv_valuehelp_descriptor type ref to cl_bsp_wd_valuehelp_f4descr.

  • * lv_fname_prefix = 'STRUCT'.
  • ls_map-context_attr = component. "ZCSDR_PRD_CLS
  • ls_map-f4_attr = 'KEY'.
  • INSERT ls_map INTO TABLE lt_outmap.
  • INSERT ls_map INTO TABLE lt_inmap.
  • CONCATENATE 'ZCSDR_CLS' 'ZZ0010' INTO lv_help_id SEPARATED BY '-'.
  • CREATE OBJECT lv_valuehelp_descriptor
  • TYPE
  • cl_bsp_wd_valuehelp_f4descr
  • EXPORTING
  • iv_help_id = lv_help_id
  • iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
  • iv_input_mapping = lt_inmap
  • iv_output_mapping = lt_outmap
  • iv_trigger_submit = ABAP_TRUE.
  • .
  • rv_valuehelp_descriptor = lv_valuehelp_descriptor.
* *

Any pointers on this is really helpful.

Thanks,

Udaya

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member224326
Participant
0 Kudos

Hi Uday

Hope you have resolved the issue. can you please post the right approach and the code snippets

Thanks

Shaik

former_member184390
Participant
0 Kudos

Hi Chand,

Sorry for the late response. As far as i recollect, i guess we have enhanced the setter getter methods and written logic in the get-v method.

Let me know if the issue is resolved.

regards,uday