Hi all,
I am trying to put a simple radio button to the configuration. I have created a new attribute in one of my context nodes as value attribute as char1 field. Then I have added to P getter method this code:
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_radio.
WHEN if_bsp_wd_model_setter_getter=>fp_radio_cols.
rv_value = '2'.
WHEN if_bsp_wd_model_setter_getter=>fp_group.
rv_value = 'R1'.
ENDCASE.
and to V method:
DATA: lt_ddlb TYPE bsp_wd_dropdown_table,
ls_ddlb TYPE bsp_wd_dropdown_line,
lr_ddlb_camp type REF TO cl_crm_uiu_ddlb.
CREATE OBJECT lr_ddlb_camp
EXPORTING
iv_source_type = 'T'.
clear : ls_ddlb.
ls_ddlb-key = '1'.
ls_ddlb-value = 'Edit'.
append ls_ddlb to lt_ddlb.
clear : ls_ddlb.
ls_ddlb-key = '2'.
ls_ddlb-value = 'View'.
append ls_ddlb to lt_ddlb.
lr_ddlb_camp->set_selection_table( lt_ddlb ).
rv_valuehelp_descriptor = LR_DDLB_camp.
In the UI I can see only the field label but not actually the 2 radio buttons which are supposed to be there. Can anyone help me with this issue? I do not know what is missing here.
Thanks,
Tim