cancel
Showing results for 
Search instead for 
Did you mean: 

Dropdown list not populated

Former Member
0 Kudos

Hi

I have enhanced the field CONC_KEY in enhanced BTSubject as a dropdown list. The value is not getting saved. When debugged, checked that the collection wrapper of BTSubject is empty as BtSubject is not bound. I checked On_New_Focus method as well.

entity ? = focus_bo is giving initial value. Can anyone help .

Regards

Geeth

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Experts

I have checked the flow of data from the Bol BTadminh to BOSSet to BTSubject. There is no data for BTSubject. So I am not getting it.

Regards

Geeth

former_member214667
Contributor
0 Kudos

Hi Geeth,

This looks like a case of missing data. You need to maintain the BTSubject data to be able to get a drop down on it.

Regards,
Shiromani

praveen_kumar194
Active Contributor
0 Kudos

if focus_bo is initial, then Btsubject parent is iniital, so check what is happening in the previous method from where on new focus is called. there might be any binding problem.

Former Member
0 Kudos

Hi Geeth,

For Dropdown, you will have to redefine the Get_v method to fill values. are you doing that?

Refer this code and change it as you need

  DATA:
lt_sel_table   
TYPE        bsp_wd_dropdown_table,
l_ref_ddlb_type
TYPE REF TO cl_crm_uiu_ddlb,
ls_sel_table   
TYPE        BSP_WD_DROPDOWN_LINE.

IF l_ref_ddlb_type IS NOT BOUND.
CREATE OBJECT l_ref_ddlb_type
EXPORTING iv_source_type = 'T'.
ENDIF.

ls_sel_table
-key = '1'.
ls_sel_table
-value = '1'.
APPEND ls_sel_table TO lt_sel_table.

ls_sel_table
-key = '2'.
ls_sel_table
-value = '2'.
APPEND ls_sel_table TO lt_sel_table.

l_ref_ddlb_type
->set_selection_table( it_selection_table = lt_sel_table ).
rv_valuehelp_descriptor
= l_ref_ddlb_type.

Thanks and regards

Pratheek