Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9021

Re: Enhancement View: IUICMD / SearchAccount

$
0
0

Hola,

 

 

Es necesario crear el método GET_V del nuevo campo creado.

 

 

Agregue el código siguiente en el método GET_V y usted no conseguirá este error.

 

 

 

 

Código de la siguiente manera:

 

* data

data: lr_ddlb type ref to cl_Crm_uiu_ddlb,

      lt_dropdown type BSP_WD_DROPDOWN_TABLE,

      ls_dropdown type bsp_WD_dropdown_line.

 

 

create object lr_ddlb

  exporting

  iv_source_type = if_bsp_wd_valuehelp_pldescr=>source_type_table.

 

 

if lr_ddlb is bound.

 

 

append initial line to lt_dropdown.

 

 

ls_Dropdown-KEY = 'OPT1'.

LS_DROPDOWN-VALUE      = 'Option 1'.

append ls_Dropdown to lt_dropdown.

 

 

ls_Dropdown-KEY = 'OPT2'.

LS_DROPDOWN-VALUE      = 'Option 2'.

append ls_Dropdown to lt_dropdown.

 

 

ls_Dropdown-KEY = 'OPT3'.

LS_DROPDOWN-VALUE      = 'Option 3'.

append ls_Dropdown to lt_dropdown.

 

 

ls_Dropdown-KEY = 'OPT4'.

LS_DROPDOWN-VALUE      = 'Option 4'.

append ls_Dropdown to lt_dropdown.

 

 

rv_valuehelp_descriptor ?= lr_ddlb.

 

 

endif.

 

 

* Note : Please change the dropdown key and values to your requried values.

 

 

Regards,

Naresh


Viewing all articles
Browse latest Browse all 9021


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>